imgix / js-core

A JavaScript client library for generating image URLs with imgix
https://www.imgix.com
BSD 2-Clause "Simplified" License
122 stars 20 forks source link

chore(dev-deps): update dependency sinon to v15.2.0 #385

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sinon (source) 15.1.0 -> 15.2.0 age adoption passing confidence

Release Notes

sinonjs/sinon (sinon) ### [`v15.2.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1520) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v15.1.2...v15.2.0) - [`66b0081e`](https://redirect.github.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://redirect.github.com/sinonjs/sinon/commit/a79ccaeb20bbb558902ae77b20bd026719de3004) Support callable instances ([#​2517](https://redirect.github.com/sinonjs/sinon/issues/2517)) (bojavou) > - Support callable instances > > - Clean prettier lint > > *** > > Co-authored-by: - <-> - [`d220c995`](https://redirect.github.com/sinonjs/sinon/commit/d220c99516ddb644d3702b4736bdfd311a2b05ec) fix: bundling compatibility with webpack@5 ([#​2519](https://redirect.github.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://redirect.github.com/fatso83) on 2023-06-20.* ### [`v15.1.2`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1512) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v15.1.1...v15.1.2) - [`02b73aed`](https://redirect.github.com/sinonjs/sinon/commit/02b73aed2d3d7dee071767fdf79073aa1dd673b6) Update lock file after removing node_modules ... (Carl-Erik Kopseng) *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2023-06-12.* ### [`v15.1.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1511) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v15.1.0...v15.1.1) - [`194fc2ef`](https://redirect.github.com/sinonjs/sinon/commit/194fc2ef726aba1cfd5753316414934d2551e18c) Change fake-timers version to specifically target the one containing the 'jump' feature (Carl-Erik Kopseng) > Instead of the later (breaking) version. See [#​470](https://redirect.github.com/sinonjs/fake-timers/issues/470) - [`05f05ac3`](https://redirect.github.com/sinonjs/sinon/commit/05f05ac30b1cb95c57dde3e30a4952679afb309a) docs: Remove threw(obj) from docs ([#​2513](https://redirect.github.com/sinonjs/sinon/issues/2513)) (Morgan Roderick) > Since the introduction of threw in > > [`0feec9f`](https://redirect.github.com/sinonjs/sinon/commit/0feec9ffba0da6bc2996cefa0c6e71872e8bedb2), no one have reported that > > `threw(obj)` doesn't work as the documentation states. > > ```js > const sinon = require("sinon"); > > const o = { pie: "apple" }; > > const f = sinon.fake.throws(o); > > f(); > > // this is supposed to return true > > f.threw(o); > > // => false > ``` > > Since it has been 12+ years without an error report, it's safe to assume > > that no one uses the `threw` method in this way. Let's remove it from > > the documentation. *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2023-06-12.*

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 3 months ago

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.