Closed renovate[bot] closed 1 year ago
Merging #308 (dd292a7) into master (c85f54d) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #308 +/- ##
=======================================
Coverage 43.88% 43.88%
=======================================
Files 4 4
Lines 139 139
Branches 35 35
=======================================
Hits 61 61
Misses 78 78
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
This PR contains the following updates:
^9.2.1
->^15.2.0
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
sinonjs/sinon (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.* ### [`v15.1.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1512) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.1.1...v15.1.2) - [`02b73aed`](https://togithub.com/sinonjs/sinon/commit/02b73aed2d3d7dee071767fdf79073aa1dd673b6) Update lock file after removing node_modules ... (Carl-Erik Kopseng) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2023-06-12.* ### [`v15.1.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1511) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.1.0...v15.1.1) - [`194fc2ef`](https://togithub.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://togithub.com/sinonjs/fake-timers/issues/470) - [`05f05ac3`](https://togithub.com/sinonjs/sinon/commit/05f05ac30b1cb95c57dde3e30a4952679afb309a) docs: Remove threw(obj) from docs ([#2513](https://togithub.com/sinonjs/sinon/issues/2513)) (Morgan Roderick) > Since the introduction of threw in > > [`0feec9f`](https://togithub.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://togithub.com/fatso83) on 2023-06-12.* ### [`v15.1.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1510) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.0.4...v15.1.0) - [`79e719f2`](https://togithub.com/sinonjs/sinon/commit/79e719f21ecafd13130f0801231b5dd96ea0fb07) Ensure we use a fake-timers version with clock.jump (Carl-Erik Kopseng) - [`b2a4df5a`](https://togithub.com/sinonjs/sinon/commit/b2a4df5a841bfce85b9beb0741a8d9afe86ab492) Add docs for clock.jump method ([#2512](https://togithub.com/sinonjs/sinon/issues/2512)) (Jason O'Neill) - [`f096abff`](https://togithub.com/sinonjs/sinon/commit/f096abffa6add8ea29a99822c3b4d2710014d453) fix ([#2514](https://togithub.com/sinonjs/sinon/issues/2514)): only force new or inherited descriptors to be configurable ([#2515](https://togithub.com/sinonjs/sinon/issues/2515)) (Carl-Erik Kopseng) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2023-05-18.* ### [`v15.0.4`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1504) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.0.3...v15.0.4) - [`e9042c4f`](https://togithub.com/sinonjs/sinon/commit/e9042c4f18f4aa3e36e13652196c746b759aa1a5) Handling non-configurable object descriptors on the prototype ([#2508](https://togithub.com/sinonjs/sinon/issues/2508)) (Carl-Erik Kopseng) > This should essentially make decorated methods stubbable again (see [#2491](https://togithub.com/sinonjs/sinon/issues/2491)) - [`430c9a60`](https://togithub.com/sinonjs/sinon/commit/430c9a604f5509ca6d7e11e3edaaa8553a77ae93) Remove uses of `var` ([#2506](https://togithub.com/sinonjs/sinon/issues/2506)) (Carl-Erik Kopseng) > Replace var with const where possible in /lib and /test. > > Modified the let codemod to be a codemod. > > Took about half an hour with --watch running *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2023-04-20.* ### [`v15.0.3`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1503) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.0.2...v15.0.3) - [`b775f1b4`](https://togithub.com/sinonjs/sinon/commit/b775f1b4174c5a92fa7fa8f70fbf3f4b5466a39e) Avoid tampering with globals and other modules' exports in tests ([#2504](https://togithub.com/sinonjs/sinon/issues/2504)) (Carl-Erik Kopseng) - [`477064b6`](https://togithub.com/sinonjs/sinon/commit/477064b628c65220ce9d0ac16cd33ab9b1da93da) fix: make it possible to call through to underlying stub in stub instance ([#2503](https://togithub.com/sinonjs/sinon/issues/2503)) (Carl-Erik Kopseng) > closes [#2501](https://togithub.com/sinonjs/sinon/issues/2501) - [`6e19746e`](https://togithub.com/sinonjs/sinon/commit/6e19746e255dfa0fcf78af076e49d5db0eb11c07) Remove dead Travis and Gitter references (Carl-Erik Kopseng) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2023-03-26.* ### [`v15.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1502) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.0.1...v15.0.2) - [`19bd99f3`](https://togithub.com/sinonjs/sinon/commit/19bd99f364ab44f0e2715571e5deab580d9aa7fd) Use no-op for every function when restoring instances ([#2499](https://togithub.com/sinonjs/sinon/issues/2499)) (Carl-Erik Kopseng) - [`8663ffa0`](https://togithub.com/sinonjs/sinon/commit/8663ffa056d3c58e82fa203801d58d3fce3c14a7) Upgrade deps ([#2498](https://togithub.com/sinonjs/sinon/issues/2498)) (Carl-Erik Kopseng) > Browserify, supports-color, husky had to be held back. - [`e01275bb`](https://togithub.com/sinonjs/sinon/commit/e01275bb10d868a064d0cb27a6ae11ffa3d91ac2) Un-pin [@sinonjs/fake-timers](https://togithub.com/sinonjs/fake-timers) ([#2495](https://togithub.com/sinonjs/sinon/issues/2495)) (Jordan Hawker) > The commit upgrading from v9 to v10 appears to have accidentally dropped the caret from the version range - [`6cbde9b0`](https://togithub.com/sinonjs/sinon/commit/6cbde9b08259efd98b2c52b81ca3b5e84dcf97b1) fix throws().callsFake() precedence ([#2497](https://togithub.com/sinonjs/sinon/issues/2497)) (Eduardo Diaz) > This makes sure an unconditional `callsFake()` invoked on the same stub that was previously setup to throw will overwrite the previous behavior. This aligns it with the other behaviors. - [`45be60f3`](https://togithub.com/sinonjs/sinon/commit/45be60f3c6afc350eacbceed77539f437a9bbbce) Replace probot/stale with official stale action (Morgan Roderick) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2023-03-12.* ### [`v15.0.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1501) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v15.0.0...v15.0.1) - [`aa493da4`](https://togithub.com/sinonjs/sinon/commit/aa493da47d788025c0d512696651072973f301ec) Upgrade to fake-timers v10.0.2 (Carl-Erik Kopseng) > Contains several fixes - [`b3ee0aa5`](https://togithub.com/sinonjs/sinon/commit/b3ee0aa5c84e7c0f5203591e1507bd1015208925) Use Node version 18 in Runkit examples (Carl-Erik Kopseng) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2022-12-15.* ### [`v15.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1500) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v14.0.2...v15.0.0) - [`b75fbfa9`](https://togithub.com/sinonjs/sinon/commit/b75fbfa9e57ba9b9c1b639b68646b1d054e0a7e3) Fix 2448: remove custom formatter (Morgan Roderick) > Remove option to pass a custom formatter. > > The sub libraries of Sinon has long moved on to use `util.inspect` from > Node. By using that in Sinon itself, we align all the libraries. *Released by Morgan Roderick on 2022-11-28.* ### [`v14.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1402) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v14.0.1...v14.0.2) - [`4d70f6e0`](https://togithub.com/sinonjs/sinon/commit/4d70f6e0965b82e387cd632fbe54ed58a8fcf601) Upgrade nise to latest (Morgan Roderick) - [`96a0d756`](https://togithub.com/sinonjs/sinon/commit/96a0d756b553c38154f442785c34c6092d1ac572) Update [@sinonjs/samsam](https://togithub.com/sinonjs/samsam) to latest (Morgan Roderick) - [`babb4736`](https://togithub.com/sinonjs/sinon/commit/babb4736d7f0080e25dce34fc8ce72879e86792e) Prefer [@sinonjs/commons](https://togithub.com/sinonjs/commons)[@2](https://togithub.com/2) (Morgan Roderick) > That makes ES2017 support explicit *Released by Morgan Roderick on 2022-11-07.* ### [`v14.0.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1401) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v14.0.0...v14.0.1) - [`6c4753ef`](https://togithub.com/sinonjs/sinon/commit/6c4753ef243880f5cdf1ea9c88b569780f9dc013) Fixed CSS selectors in `_base.scss` and changed blockquote default size to 16px. (Jose Lupianez) - A bunch of dependency updates *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2022-10-03.* ### [`v14.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1400) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v13.0.2...v14.0.0) - [`c2bbd826`](https://togithub.com/sinonjs/sinon/commit/c2bbd82641444eb5b32822489ae40f185afbbf00) Drop node 12 (Morgan Roderick) > And embrace Node 18 > > See https://nodejs.org/en/about/releases/ *Released by Morgan Roderick on 2022-05-07.* ### [`v13.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1302) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v13.0.1...v13.0.2) - [`bddb631a`](https://togithub.com/sinonjs/sinon/commit/bddb631aab6afc3e663a5db847c675ea96c90970) Update fake-timers (Carl-Erik Kopseng) - [`eaed0eb2`](https://togithub.com/sinonjs/sinon/commit/eaed0eb24bd8f42b0484b8861a5ff066001da5d5) Bump nokogiri from 1.13.3 to 1.13.4 ([#2451](https://togithub.com/sinonjs/sinon/issues/2451)) (dependabot\[bot]) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2022-04-14.* ### [`v13.0.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1301) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v13.0.0...v13.0.1) - [`ec4223f9`](https://togithub.com/sinonjs/sinon/commit/ec4223f94076d809483e3c6a7536cfc1278dd3c9) Bump nise to fix [sinonjs/nise#193](https://togithub.com/sinonjs/nise/issues/193) (Carl-Erik Kopseng) - [`f329a010`](https://togithub.com/sinonjs/sinon/commit/f329a01040bfa5a79e039419220b21eda56935d6) Add unimported to workflow ([#2441](https://togithub.com/sinonjs/sinon/issues/2441)) (Morgan Roderick) - [`7f16cec9`](https://togithub.com/sinonjs/sinon/commit/7f16cec968c3c8d4e580267fb00195916d6f827d) Enable updates to same major version (Carl-Erik Kopseng) - [`f784d7ad`](https://togithub.com/sinonjs/sinon/commit/f784d7ad2c86be0fc65477d69f8bdafca846ef2c) Re-introduce new version.sh script to version hook (Joel Bradshaw) > This was inadvertently removed during merge conflicts, and is required > for any of the new release process stuff to work - [`51c508ab`](https://togithub.com/sinonjs/sinon/commit/51c508ab77cf0f9fb8c5305ff626f6a2eada178f) Add dry run mode to `npm version` ([#2436](https://togithub.com/sinonjs/sinon/issues/2436)) (Joel Bradshaw) > - Add DRY_RUN flag to skip publish/push > > - Allow overriding branch names for testing - [`05341dcf`](https://togithub.com/sinonjs/sinon/commit/05341dcf92ddca4a1d4c90966b1fcdc7039cff18) Update npm version scripts to manage new releases branch (Joel Bradshaw) - [`fe658261`](https://togithub.com/sinonjs/sinon/commit/fe65826171db69ed2986a1060db77944dbc98a6d) Remove release archives from master (Joel Bradshaw) > These archives made it difficult to find things in the GitHub interface, > and take up a lot of space in a checked-out repo for something that is > not useful to most people checking out the repository. > > The main purpose of these archives is to make old versions and > documentation available on the Sinon website that is run out of this > repo. This can be supported by using a separate branch for website > releases, and to maintain the archives. > > Following this commit, the `npm version` scripts will be updated to > automatically handle archiving the releases in the new releases branch > and keeping it up to date with master. > > Also remove the directories we removed from .prettierignore, since they > don't exist any more. *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2022-02-01.* ### [`v13.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1300) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v12.0.1...v13.0.0) - [`cf3d6c0c`](https://togithub.com/sinonjs/sinon/commit/cf3d6c0cd9689c0ee673b3daa8bf9abd70304392) Upgrade packages ([#2431](https://togithub.com/sinonjs/sinon/issues/2431)) (Carl-Erik Kopseng) > - Update all @sinonjs/ packages > > - Upgrade to fake-timers 9 > > - chore: ensure always using latest LTS release - [`41710467`](https://togithub.com/sinonjs/sinon/commit/417104670d575e96a1b645ea40ce763afa76fb1b) Adjust deploy scripts to archive old releases in a separate branch, move existing releases out of master ([#2426](https://togithub.com/sinonjs/sinon/issues/2426)) (Joel Bradshaw) > Co-authored-by: Carl-Erik KopsengConfiguration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.