From 937b4b5734c5f0949d38c9cfa839f64262e34404 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Jun 2023 06:18:06 +0000 Subject: [PATCH] chore(deps): update dependency sinon to v15.2.0 (#123) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sinon](https://sinonjs.org/) ([source](https://togithub.com/sinonjs/sinon)) | [`15.1.2` -> `15.2.0`](https://renovatebot.com/diffs/npm/sinon/15.1.2/15.2.0) | [![age](https://badges.renovateapi.com/packages/npm/sinon/15.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/sinon/15.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/sinon/15.2.0/compatibility-slim/15.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/sinon/15.2.0/confidence-slim/15.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sinonjs/sinon ### [`v15.2.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1520) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.1.2...v15.2.0) - [`66b0081e`](https://togithub.com/sinonjs/sinon/commit/66b0081e1f9673b14277882faa10aaa1e3b564ff) Use fake-timers v10.1.0 re-released as v10.3.0 (Carl-Erik Kopseng) > Version 10.2.0 of fake-timers had an unexpected breaking > change. We re-released 10.1.0 as 10.3.0 to force users > into jumping over the deprecated version. > > v10.2.0 was re-released as v11.0.0 and will be part of > the next Sinon major - [`a79ccaeb`](https://togithub.com/sinonjs/sinon/commit/a79ccaeb20bbb558902ae77b20bd026719de3004) Support callable instances ([#​2517](https://togithub.com/sinonjs/sinon/issues/2517)) (bojavou) > - Support callable instances > > - Clean prettier lint > > *** > > Co-authored-by: - <-> - [`d220c995`](https://togithub.com/sinonjs/sinon/commit/d220c99516ddb644d3702b4736bdfd311a2b05ec) fix: bundling compatibility with webpack@5 ([#​2519](https://togithub.com/sinonjs/sinon/issues/2519)) (Avi Vahl) > - fix: bundling compatibility with webpack@5 > > when using webpack v5 to bundle code that calls `require('sinon')` (cjs) , it would have defaulted to "exports->require" and fail with multiple node-api requirements (util, timers, etc.) > > this patch ensures that anyone who bundles sinon for browser gets the (browser-compatible) esm version. > > tested on both webpack v5 and v4. should be noted that v4 worked even without this patch, as it automatically injected polyfills. v5 no longer does so. with this PR, people using webpack@4 to bundle sinon at least see size improvement, as the polyfills are no longer required. > > - fix: revert change for package.json -> "browser" > > browserify doesn't seem to like esm. leave that entry point alone, and ensure "exports" -> "browser" (which webpack@5 uses) is esm. *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2023-06-20.*
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/serialport/bindings-cpp). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 30 +++++++++++++++--------------- package.json | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 148593b3..80bbd90a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "prebuildify-cross": "5.0.0", "semantic-release": "19.0.5", "shx": "0.3.4", - "sinon": "15.1.2", + "sinon": "15.2.0", "typescript": "5.0.4" }, "engines": { @@ -1432,9 +1432,9 @@ } }, "node_modules/@sinonjs/fake-timers": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.2.0.tgz", - "integrity": "sha512-OPwQlEdg40HAj5KNF8WW6q2KG4Z+cBCZb3m4ninfTZKaBmbIJodviQsDBoYMPHkOyJJMHnOJo5j2+LKDOhOACg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", "dev": true, "dependencies": { "@sinonjs/commons": "^3.0.0" @@ -11879,13 +11879,13 @@ "dev": true }, "node_modules/sinon": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.1.2.tgz", - "integrity": "sha512-uG1pU54Fis4EfYOPoEi13fmRHgZNg/u+3aReSEzHsN52Bpf+bMVfsBQS5MjouI+rTuG6UBIINlpuuO2Epr7SiA==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.2.0.tgz", + "integrity": "sha512-nPS85arNqwBXaIsFCkolHjGIkFo+Oxu9vbgmBJizLAhqe6P2o3Qmj3KCUoRkfhHtvgDhZdWD3risLHAUJ8npjw==", "dev": true, "dependencies": { "@sinonjs/commons": "^3.0.0", - "@sinonjs/fake-timers": "^10.1.0", + "@sinonjs/fake-timers": "^10.3.0", "@sinonjs/samsam": "^8.0.0", "diff": "^5.1.0", "nise": "^5.1.4", @@ -14122,9 +14122,9 @@ } }, "@sinonjs/fake-timers": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.2.0.tgz", - "integrity": "sha512-OPwQlEdg40HAj5KNF8WW6q2KG4Z+cBCZb3m4ninfTZKaBmbIJodviQsDBoYMPHkOyJJMHnOJo5j2+LKDOhOACg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", "dev": true, "requires": { "@sinonjs/commons": "^3.0.0" @@ -22106,13 +22106,13 @@ "dev": true }, "sinon": { - "version": "15.1.2", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.1.2.tgz", - "integrity": "sha512-uG1pU54Fis4EfYOPoEi13fmRHgZNg/u+3aReSEzHsN52Bpf+bMVfsBQS5MjouI+rTuG6UBIINlpuuO2Epr7SiA==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-15.2.0.tgz", + "integrity": "sha512-nPS85arNqwBXaIsFCkolHjGIkFo+Oxu9vbgmBJizLAhqe6P2o3Qmj3KCUoRkfhHtvgDhZdWD3risLHAUJ8npjw==", "dev": true, "requires": { "@sinonjs/commons": "^3.0.0", - "@sinonjs/fake-timers": "^10.1.0", + "@sinonjs/fake-timers": "^10.3.0", "@sinonjs/samsam": "^8.0.0", "diff": "^5.1.0", "nise": "^5.1.4", diff --git a/package.json b/package.json index ccff6852..512fdde6 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "prebuildify-cross": "5.0.0", "semantic-release": "19.0.5", "shx": "0.3.4", - "sinon": "15.1.2", + "sinon": "15.2.0", "typescript": "5.0.4" }, "engines": {