nvenkatesh1 / SCA_test_JS

Learn elm faster and in a fun way
MIT License
0 stars 0 forks source link

Update dependency sinon to v13 - autoclosed #88

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

This PR contains the following updates:

Package Type Update Change
sinon (source) devDependencies major ^7.4.1 -> ^13.0.0

By merging this PR, the issue #18 will be automatically resolved and closed:

Severity CVSS Score CVE
High High 7.4 CVE-2020-8203
High High 7.2 CVE-2021-23337
Medium Medium 5.3 CVE-2020-28500

Release Notes

sinonjs/sinon ### [`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 Kopseng - [`c80a7266`](https://togithub.com/sinonjs/sinon/commit/c80a72660e89d88b08275eff1028ecb9e26fd8e9) Bump node-fetch from 2.6.1 to 2.6.7 ([#​2430](https://togithub.com/sinonjs/sinon/issues/2430)) (dependabot\[bot]) > Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://togithub.com/users).noreply.github.com> - [`a00f14a9`](https://togithub.com/sinonjs/sinon/commit/a00f14a97dbe8c65afa89674e16ad73fc7d2fdc0) Add explicit export for `./*` ([#​2413](https://togithub.com/sinonjs/sinon/issues/2413)) (なつき) - [`b82ca7ad`](https://togithub.com/sinonjs/sinon/commit/b82ca7ad9b1add59007771f65a18ee34415de8ca) Bump cached-path-relative from 1.0.2 to 1.1.0 ([#​2428](https://togithub.com/sinonjs/sinon/issues/2428)) (dependabot\[bot]) - [`a9ea1427`](https://togithub.com/sinonjs/sinon/commit/a9ea142716c094ef3c432ecc4089f8207b8dd8b6) Add documentation for assert.calledOnceWithMatch ([#​2424](https://togithub.com/sinonjs/sinon/issues/2424)) (Mathias Schreck) - [`1d5ab86b`](https://togithub.com/sinonjs/sinon/commit/1d5ab86ba60e50dd69593ffed2bffd4b8faa0d38) Be more general in stripping off stack frames to fix Firefox tests ([#​2425](https://togithub.com/sinonjs/sinon/issues/2425)) (Joel Bradshaw) - [`56b06129`](https://togithub.com/sinonjs/sinon/commit/56b06129e223eae690265c37b1113067e2b31bdc) Check call count type ([#​2410](https://togithub.com/sinonjs/sinon/issues/2410)) (Joel Bradshaw) - [`7863e2df`](https://togithub.com/sinonjs/sinon/commit/7863e2dfdbda79e0a32e42af09e6539fc2f2b80f) Fix [#​2414](https://togithub.com/sinonjs/sinon/issues/2414): make Sinon available on homepage (Carl-Erik Kopseng) - [`fabaabdd`](https://togithub.com/sinonjs/sinon/commit/fabaabdda82f39a7f5b75b55bd56cf77b1cd4a8f) Bump nokogiri from 1.11.4 to 1.13.1 ([#​2423](https://togithub.com/sinonjs/sinon/issues/2423)) (dependabot\[bot]) - [`dbc0fbd2`](https://togithub.com/sinonjs/sinon/commit/dbc0fbd263c8419fa47f9c3b20cf47890a242d21) Bump shelljs from 0.8.4 to 0.8.5 ([#​2422](https://togithub.com/sinonjs/sinon/issues/2422)) (dependabot\[bot]) - [`fb8b3d72`](https://togithub.com/sinonjs/sinon/commit/fb8b3d72a85dc8fb0547f859baf3f03a22a039f7) Run Prettier (Carl-Erik Kopseng) - [`12a45939`](https://togithub.com/sinonjs/sinon/commit/12a45939e9b047b6d3663fe55f2eb383ec63c4e1) Fix 2377: Throw error when trying to stub non-configurable or non-writable properties ([#​2417](https://togithub.com/sinonjs/sinon/issues/2417)) (Stuart Dotson) > Fixes issue [#​2377](https://togithub.com/sinonjs/sinon/issues/2377) by throwing an error when trying to stub non-configurable or non-writable properties *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2022-01-28.* ### [`v12.0.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1201) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v12.0.0...v12.0.1) - [`3f598221`](https://togithub.com/sinonjs/sinon/commit/3f598221045904681f2b3b3ba1df617ed5e230e3) Fix issue with npm unlink for npm version > 6 (Carl-Erik Kopseng) - [`51417a38`](https://togithub.com/sinonjs/sinon/commit/51417a38111eeeb7cd14338bfb762cc2df487e1b) Fix bundling of cjs module ([#​2412](https://togithub.com/sinonjs/sinon/issues/2412)) (Julian Grinblat) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2021-11-04.* ### [`v12.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1200) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v11.1.2...v12.0.0) - [`b20ef9e4`](https://togithub.com/sinonjs/sinon/commit/b20ef9e4940e9384a6d0707b917a38e7bbfcd816) Upgrade to fake-timers@8 (Carl-Erik Kopseng). This is potentially breaking, but should not be, as the breaking change deals with the Node timer object created by fake timers. - [`eba42cc3`](https://togithub.com/sinonjs/sinon/commit/eba42cc38dbaf5417178a12cec11e35014e335ea) Enable esm named exports ([#​2382](https://togithub.com/sinonjs/sinon/issues/2382)) (Julian Grinblat) - [`b0cf5448`](https://togithub.com/sinonjs/sinon/commit/b0cf5448993c2ace607cdf430b7e389d02c2f296) Spelling ([#​2398](https://togithub.com/sinonjs/sinon/issues/2398)) (Josh Soref) - [`e78a6706`](https://togithub.com/sinonjs/sinon/commit/e78a670611682c7e35cf7d27887b409d6397d27c) Make calledWith() assertions idempotent ([#​2407](https://togithub.com/sinonjs/sinon/issues/2407)) (Joel Bradshaw) - [`2814c0a2`](https://togithub.com/sinonjs/sinon/commit/2814c0a212ab6b79c7251e4b0a1bebc9918257d4) Generate CHANGES.md using [@​studio/changes](https://togithub.com/studio/changes) (Morgan Roderick) > This will bring us closer to having the same release process as the > other `@sinonjs` packages. - [`2d5d6ad4`](https://togithub.com/sinonjs/sinon/commit/2d5d6ad4cd89c2063834991da5073f7640d0d722) Run tests in Node 16 in GitHub Actions (Morgan Roderick) *Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2021-11-03.* ### [`v11.1.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1112) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v11.1.1...v11.1.2) - Upgrade [@​sinonjs/fake-timers](https://togithub.com/sinonjs/fake-timers) to latest, see https://github.com/sinonjs/fake-timers/blob/master/CHANGELOG.md#​712--2021-05-28 - Copy over accessor properties to target object [#​2387](https://togithub.com/sinonjs/sinon/issues/2387) ### [`v11.1.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1111) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v11.1.0...v11.1.1) - Fix [#​2379](https://togithub.com/sinonjs/sinon/issues/2379) by using v7 of supports-color ### [`v11.1.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1110) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v11.0.0...v11.1.0) - Add sinon.promise() implementation ([#​2369](https://togithub.com/sinonjs/sinon/issues/2369)) - Set wrappedMethod on getters/setters ([#​2378](https://togithub.com/sinonjs/sinon/issues/2378)) - \[Docs] Update fake-server usage & descriptions ([#​2365](https://togithub.com/sinonjs/sinon/issues/2365)) - Fake docs improvement ([#​2360](https://togithub.com/sinonjs/sinon/issues/2360)) - Update nise to 5.1.0 (fixed [#​2318](https://togithub.com/sinonjs/sinon/issues/2318)) ### [`v11.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1100) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v10.0.1...v11.0.0) - Explicitly use samsam 6.0.2 with fix for [#​2345](https://togithub.com/sinonjs/sinon/issues/2345) - Update most packages ([#​2371](https://togithub.com/sinonjs/sinon/issues/2371)) - Update compatibility docs ([#​2366](https://togithub.com/sinonjs/sinon/issues/2366)) - Update packages (includes breaking fake-timers change, see [#​2352](https://togithub.com/sinonjs/sinon/issues/2352)) - Warn of potential memory leaks ([#​2357](https://togithub.com/sinonjs/sinon/issues/2357)) - Fix clock test errors ### [`v10.0.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1001) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v10.0.0...v10.0.1) - Upgrade sinon components (bumps y18n to 4.0.1) - Bump y18n from 4.0.0 to 4.0.1 ### [`v10.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​1000) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.2.4...v10.0.0) - Upgrade nise to 4.1.0 - Use [@​sinonjs/eslint-config](https://togithub.com/sinonjs/eslint-config)[@​4](https://togithub.com/4) => Adopts ES2017 => Drops support for IE 11, Legacy Edge and legacy Safari ### [`v9.2.4`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​924) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.2.3...v9.2.4) - Upgrade [@​sinonjs/samsam](https://togithub.com/sinonjs/samsam)[@​5](https://togithub.com/5).3.1 ### [`v9.2.3`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​923) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.2.2...v9.2.3) - Use `util.inspect` for formatting human readable output (this retires [@​sinonjs/formatio](https://togithub.com/sinonjs/formatio)) ### [`v9.2.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​922) [Compare Source](https://togithub.com/sinonjs/sinon/compare/23aff495ba6177db922af852f2679412878f93d5...v9.2.2) - Fix [#​2316](https://togithub.com/sinonjs/sinon/issues/2316): handle absent Promise ([#​2317](https://togithub.com/sinonjs/sinon/issues/2317)) ### [`v9.2.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​921) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.2.0...23aff495ba6177db922af852f2679412878f93d5) - Fix [#​2203](https://togithub.com/sinonjs/sinon/issues/2203): skip writing 'name' property if not writable ([#​2304](https://togithub.com/sinonjs/sinon/issues/2304)) - Update error message on assert when representation of expected and actual value is equal, fixing issue [#​2084](https://togithub.com/sinonjs/sinon/issues/2084) ([#​2303](https://togithub.com/sinonjs/sinon/issues/2303)) - Make sandboxes each use their own assert object ([#​2302](https://togithub.com/sinonjs/sinon/issues/2302)) - Add usingPromise() method on fakes to fix issue [#​2293](https://togithub.com/sinonjs/sinon/issues/2293) ([#​2301](https://togithub.com/sinonjs/sinon/issues/2301)) ### [`v9.2.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​920) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.1.0...v9.2.0) - Update dependencies ([#​2299](https://togithub.com/sinonjs/sinon/issues/2299)) - Update sandbox docs with missing comma - Add minor markdown formatting to release docs for sandbox - Minor formatting improvements to legacy sandbox documentation ### [`v9.1.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​910) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.0.3...v9.1.0) - Add a calledOnceWithMatch assertion ([#​2294](https://togithub.com/sinonjs/sinon/issues/2294)) ### [`v9.0.3`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​903) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.0.2...v9.0.3) - Upgrade nise to latest - Upgrade [@​sinonjs/samsam](https://togithub.com/sinonjs/samsam) to latest ### [`v9.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​902) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.0.1...v9.0.2) - Bump [@​sinonjs/fake-timers](https://togithub.com/sinonjs/fake-timers) (fix error when using Node's util/promisify with setTimeout) - Upgrade [@​sinonjs/commons](https://togithub.com/sinonjs/commons) (fix error when trying to calculate function name from generators) ### [`v9.0.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​901) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v9.0.0...v9.0.1) - Fix [#​2226](https://togithub.com/sinonjs/sinon/issues/2226): restore props defined on prototype chain by deleting ### [`v9.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​900) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v8.1.1...v9.0.0) - Ignore errors on thisValue property accesses ([#​2216](https://togithub.com/sinonjs/sinon/issues/2216)) - Add firstArg to spy calls and fakes. ([#​2150](https://togithub.com/sinonjs/sinon/issues/2150)) - Drop Node 8 support ### [`v8.1.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​811) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v8.1.0...v8.1.1) - Fundraiser for better docs: https://www.gofundme.com/f/sinon-docs ### [`v8.1.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​810) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v8.0.4...v8.1.0) - Support negative indices in getCall ([#​2199](https://togithub.com/sinonjs/sinon/issues/2199)) ### [`v8.0.4`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​804) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v8.0.3...v8.0.4) - Remove misleading 'own' from exception message ### [`v8.0.3`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​803) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v8.0.2...v8.0.3) - Move .printf to proxy ### [`v8.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​802) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v8.0.1...v8.0.2) - Upgrade [@​sinonjs/samsam](https://togithub.com/sinonjs/samsam) to latest - Upgrade nise to 3.0.1 ### [`v8.0.1`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​801) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v8.0.0...v8.0.1) - Force upgrade [@​sinonjs/commons](https://togithub.com/sinonjs/commons) ([#​2181](https://togithub.com/sinonjs/sinon/issues/2181)) - Update `docs/changelog.md` and set new release id in `docs/_config.yml` - Add release documentation for v8.0.0 ### [`v8.0.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​800) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v7.5.0...v8.0.0) The major release is caused by removing old mistakes and upgrading dependencies that themselves have had new major releases. - Upgrade nise, [@​sinonjs/formatio](https://togithub.com/sinonjs/formatio), [@​sinonjs/samsam](https://togithub.com/sinonjs/samsam) and [@​sinonjs/referee](https://togithub.com/sinonjs/referee) - Update lolex and nise to get new async timer methods (see https://github.com/sinonjs/lolex/blob/master/CHANGELOG.md) - Remove `sinon.spyCall` - Remove `sinon.sandbox.create` - Remove obsolete `deprecated.printWarning` stubbing from test ### [`v7.5.0`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​750) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v7.4.2...v7.5.0) - Add sinon.assert.calledOnceWithExactly - Feature parity: support *spying* all methods on an object ### [`v7.4.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#​742) [Compare Source](https://togithub.com/sinonjs/sinon/compare/v7.4.1...v7.4.2) - Restore sinon.createStubInstance() behaviour ([#​2073](https://togithub.com/sinonjs/sinon/issues/2073)) - Fix Typo in migration 6 and updated migration docs for migration from… ([#​2074](https://togithub.com/sinonjs/sinon/issues/2074))