From b6906534518d3aa245b9a2e04beda9191dbe1f2d Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Fri, 13 Sep 2024 02:22:03 +0000 Subject: [PATCH] chore: bump up sinon version to v19 (#8231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sinon](https://sinonjs.org/) ([source](https://redirect.github.com/sinonjs/sinon)) | [`^18.0.0` -> `^19.0.0`](https://renovatebot.com/diffs/npm/sinon/18.0.0/19.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sinon/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sinon/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sinon/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sinonjs/sinon (sinon) ### [`v19.0.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1900) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.1...v19.0.0) - [`3534ab4f`](https://redirect.github.com/sinonjs/sinon/commit/3534ab4fb02803173d9ca34f6020c3701d82abc9) Bump samsam and nise to latest versions ([#​2617](https://redirect.github.com/sinonjs/sinon/issues/2617)) (Carl-Erik Kopseng) > Ensures consistency and less breakage when there are "circular" dependencies. - [`912c568d`](https://redirect.github.com/sinonjs/sinon/commit/912c568d3038dc0bea0e8a7b25e4298087c7c99c) upgrade fake timers and others ([#​2612](https://redirect.github.com/sinonjs/sinon/issues/2612)) (Carl-Erik Kopseng) > - Upgrade dependencies (includes breaking API in Fake Timers) > - fake-timers: no longer creating dates using the original Date class, but a subclass (proxy) - [`9715798e`](https://redirect.github.com/sinonjs/sinon/commit/9715798e30e59b110a1349cd0bd087b0fa5f9af2) Use newer @​mochify/\* packages ([#​2609](https://redirect.github.com/sinonjs/sinon/issues/2609)) (Carl-Erik Kopseng) > Co-authored-by: Maximilian Antoni *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.* ### [`v18.0.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1801) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.0...v18.0.1) Basically a patch release to update a transitive dependency in Nise. - [`03e33ec6`](https://redirect.github.com/sinonjs/sinon/commit/03e33ec6475d7e7acfe62676af63eb2344cd6db0) Pin fake-timers@11.2.2 to avoid breaking change (Carl-Erik Kopseng) - [`5a7924ad`](https://redirect.github.com/sinonjs/sinon/commit/5a7924ad94f37b9985899fc8a1dbfd29cbdd7967) Add createStubInstance header in stubs.md (Daniel Kaplan) - [`ad6804cd`](https://redirect.github.com/sinonjs/sinon/commit/ad6804cd4143eaaaa8f989dae20dbf7295444893) Bump elliptic from 6.5.5 to 6.5.7 ([#​2608](https://redirect.github.com/sinonjs/sinon/issues/2608)) (dependabot\[bot]) - [`033287bd`](https://redirect.github.com/sinonjs/sinon/commit/033287bded8dfce16653b33292ef2fef9ed487b0) Bump path-to-regexp and nise ([#​2611](https://redirect.github.com/sinonjs/sinon/issues/2611)) (dependabot\[bot]) > Bumps [path-to-regexp](https://redirect.github.com/pillarjs/path-to-regexp) to 8.1.0 and updates ancestor dependency [nise](https://redirect.github.com/sinonjs/nise). These dependencies need to be updated together. > > Updates `path-to-regexp` from 6.2.2 to 8.1.0 > > - [Release notes](https://redirect.github.com/pillarjs/path-to-regexp/releases) > - [Changelog](https://redirect.github.com/pillarjs/path-to-regexp/blob/master/History.md) > - [Commits](https://redirect.github.com/pillarjs/path-to-regexp/compare/v6.2.2...v8.1.0) > > Updates `nise` from 6.0.0 to 6.0.1 > > - [Changelog](https://redirect.github.com/sinonjs/nise/blob/main/History.md) > - [Commits](https://redirect.github.com/sinonjs/nise/commits) > > *** > > updated-dependencies: > > - dependency-name: path-to-regexp > > dependency-type: indirect > > - dependency-name: nise > > dependency-type: direct:production > > ... > > Signed-off-by: dependabot\[bot] > > Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com> - [`0c609f95`](https://redirect.github.com/sinonjs/sinon/commit/0c609f95b1f4f18e02896b5a87bbc59f5787093e) re-add testing of esm browser builds (Carl-Erik Kopseng) > It seems unclear why it was removed in the first place: I have tested extensively that it > does work and it does fail the build if changing any assertion in the script - [`da4230a0`](https://redirect.github.com/sinonjs/sinon/commit/da4230a00c929f56738d272da469a5ecb9d40da7) Bump braces from 3.0.2 to 3.0.3 ([#​2605](https://redirect.github.com/sinonjs/sinon/issues/2605)) (dependabot\[bot]) > Bumps [braces](https://redirect.github.com/micromatch/braces) from 3.0.2 to 3.0.3. > > - [Changelog](https://redirect.github.com/micromatch/braces/blob/master/CHANGELOG.md) > - [Commits](https://redirect.github.com/micromatch/braces/compare/3.0.2...3.0.3) > > *** > > updated-dependencies: > > - dependency-name: braces > > dependency-type: indirect > > ... > > Signed-off-by: dependabot\[bot] > > Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com> - [`02542370`](https://redirect.github.com/sinonjs/sinon/commit/02542370a4d92ef12270638f97db29ca4f1cca66) feat(ci): add node v22 ([#​2600](https://redirect.github.com/sinonjs/sinon/issues/2600)) (Rotzbua) - [`794cb81a`](https://redirect.github.com/sinonjs/sinon/commit/794cb81a3bf639c8fb0880f4509a5a1a42066b6e) fix(tests): typo ([#​2603](https://redirect.github.com/sinonjs/sinon/issues/2603)) (Rotzbua) - [`1eb2a254`](https://redirect.github.com/sinonjs/sinon/commit/1eb2a25486564ff6b834cfe0a62329dd8bd455fe) Use NodeJS 22.2.0 as base development version (Carl-Erik Kopseng) - [`1aa713fd`](https://redirect.github.com/sinonjs/sinon/commit/1aa713fd413e1b34645fddff1871da99c6d263f8) Bump rexml from 3.2.5 to 3.2.8 ([#​2599](https://redirect.github.com/sinonjs/sinon/issues/2599)) (dependabot\[bot]) > Bumps [rexml](https://redirect.github.com/ruby/rexml) from 3.2.5 to 3.2.8. > > > - [Release notes](https://redirect.github.com/ruby/rexml/releases) > > - [Changelog](https://redirect.github.com/ruby/rexml/blob/master/NEWS.md) > > - [Commits](https://redirect.github.com/ruby/rexml/compare/v3.2.5...v3.2.8) > > > \--- > > updated-dependencies: > > - dependency-name: rexml > > dependency-type: indirect > > ... > > > Signed-off-by: dependabot\[bot] > > Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com> *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-10.*
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- packages/backend/server/package.json | 2 +- yarn.lock | 91 +++++++++++++++------------- 2 files changed, 49 insertions(+), 44 deletions(-) diff --git a/packages/backend/server/package.json b/packages/backend/server/package.json index 578b4de62f..4c73acc20b 100644 --- a/packages/backend/server/package.json +++ b/packages/backend/server/package.json @@ -121,7 +121,7 @@ "ava": "^6.1.2", "c8": "^10.0.0", "nodemon": "^3.1.0", - "sinon": "^18.0.0", + "sinon": "^19.0.0", "supertest": "^7.0.0" }, "ava": { diff --git a/yarn.lock b/yarn.lock index 5f97c80c79..a2b6d98649 100644 --- a/yarn.lock +++ b/yarn.lock @@ -892,7 +892,7 @@ __metadata: rxjs: "npm:^7.8.1" semver: "npm:^7.6.0" ses: "npm:^1.4.1" - sinon: "npm:^18.0.0" + sinon: "npm:^19.0.0" socket.io: "npm:^4.7.5" stripe: "npm:^16.0.0" supertest: "npm:^7.0.0" @@ -12770,16 +12770,7 @@ __metadata: languageName: node linkType: hard -"@sinonjs/commons@npm:^2.0.0": - version: 2.0.0 - resolution: "@sinonjs/commons@npm:2.0.0" - dependencies: - type-detect: "npm:4.0.8" - checksum: 10/bd6b44957077cd99067dcf401e80ed5ea03ba930cba2066edbbfe302d5fc973a108db25c0ae4930ee53852716929e4c94fa3b8a1510a51ac6869443a139d1e3d - languageName: node - linkType: hard - -"@sinonjs/commons@npm:^3.0.0, @sinonjs/commons@npm:^3.0.1": +"@sinonjs/commons@npm:^3.0.1": version: 3.0.1 resolution: "@sinonjs/commons@npm:3.0.1" dependencies: @@ -12788,27 +12779,27 @@ __metadata: languageName: node linkType: hard -"@sinonjs/fake-timers@npm:^11.2.2": - version: 11.3.1 - resolution: "@sinonjs/fake-timers@npm:11.3.1" +"@sinonjs/fake-timers@npm:13.0.1, @sinonjs/fake-timers@npm:^13.0.1": + version: 13.0.1 + resolution: "@sinonjs/fake-timers@npm:13.0.1" dependencies: "@sinonjs/commons": "npm:^3.0.1" - checksum: 10/f8684eba6ae6f207dd415c360222aff3761dea31dd98ccfd8b10205b264eb8141c592174e91060a77a53479632c3070cc8050c461e2532ef15547caa019f6aa8 + checksum: 10/fcb93349c52baead353336ce86442df14e3ee918162a0df1e88692c1fa9aec67b94094b0152bb95adcf8dc834eb20557e9a7e425c959fdee5b8cc67d17afcd67 languageName: node linkType: hard -"@sinonjs/samsam@npm:^8.0.0": - version: 8.0.0 - resolution: "@sinonjs/samsam@npm:8.0.0" +"@sinonjs/samsam@npm:^8.0.1": + version: 8.0.2 + resolution: "@sinonjs/samsam@npm:8.0.2" dependencies: - "@sinonjs/commons": "npm:^2.0.0" + "@sinonjs/commons": "npm:^3.0.1" lodash.get: "npm:^4.4.2" - type-detect: "npm:^4.0.8" - checksum: 10/0c9928a7d16a2428ba561e410d9d637c08014d549cac4979c63a6580c56b69378dba80ea01b17e8e163f2ca5dd331376dae92eae8364857ef827ae59dbcfe0ce + type-detect: "npm:^4.1.0" + checksum: 10/58ca9752e8e835a09ed275f8edf8da2720fe95c0c02f6bcb90ad7f86fdceb393f35f744194b705dd94216228646ec0aedbb814e245eb869b940dcf1266b7a533 languageName: node linkType: hard -"@sinonjs/text-encoding@npm:^0.7.2": +"@sinonjs/text-encoding@npm:^0.7.3": version: 0.7.3 resolution: "@sinonjs/text-encoding@npm:0.7.3" checksum: 10/f0cc89bae36e7ce159187dece7800b78831288f1913e9ae8cf8a878da5388232d2049740f6f4a43ec4b43b8ad1beb55f919f45eb9a577adb4a2a6eacb27b25fc @@ -20197,13 +20188,20 @@ __metadata: languageName: node linkType: hard -"diff@npm:^5.1.0, diff@npm:^5.2.0": +"diff@npm:^5.1.0": version: 5.2.0 resolution: "diff@npm:5.2.0" checksum: 10/01b7b440f83a997350a988e9d2f558366c0f90f15be19f4aa7f1bb3109a4e153dfc3b9fbf78e14ea725717017407eeaa2271e3896374a0181e8f52445740846d languageName: node linkType: hard +"diff@npm:^7.0.0": + version: 7.0.0 + resolution: "diff@npm:7.0.0" + checksum: 10/e9b8e48d054c9c0c093c65ce8e2637af94b35f2427001607b14e5e0589e534ea3413a7f91ebe6d7c5a1494ace49cb7c7c3972f442ddd96a4767ff091999a082e + languageName: node + linkType: hard + "dir-compare@npm:^3.0.0": version: 3.3.0 resolution: "dir-compare@npm:3.3.0" @@ -28226,16 +28224,16 @@ __metadata: languageName: node linkType: hard -"nise@npm:^6.0.0": - version: 6.0.0 - resolution: "nise@npm:6.0.0" +"nise@npm:^6.1.0": + version: 6.1.0 + resolution: "nise@npm:6.1.0" dependencies: - "@sinonjs/commons": "npm:^3.0.0" - "@sinonjs/fake-timers": "npm:^11.2.2" - "@sinonjs/text-encoding": "npm:^0.7.2" + "@sinonjs/commons": "npm:^3.0.1" + "@sinonjs/fake-timers": "npm:^13.0.1" + "@sinonjs/text-encoding": "npm:^0.7.3" just-extend: "npm:^6.2.0" - path-to-regexp: "npm:^6.2.1" - checksum: 10/a11be5fd21ece95c80fda14a2cf80350404acc895467fc5104dc9ea9c0630614fcc83e10591ead96796b31aa2f3ccb7dc9198ed940d0f3e91e760bf5104d41a8 + path-to-regexp: "npm:^8.1.0" + checksum: 10/713b0ae4b482421b93caee19dc6511358d744e44acfd307fddbbfaa783d12b43f7eaaaaef023949c9ad39f69a580bbae31321fde777e78d66ce057f4c9f86334 languageName: node linkType: hard @@ -29622,13 +29620,20 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:^6.2.0, path-to-regexp@npm:^6.2.1": +"path-to-regexp@npm:^6.2.0": version: 6.2.2 resolution: "path-to-regexp@npm:6.2.2" checksum: 10/f7d11c1a9e02576ce0294f4efdc523c11b73894947afdf7b23a0d0f7c6465d7a7772166e770ddf1495a8017cc0ee99e3e8a15ed7302b6b948b89a6dd4eea895e languageName: node linkType: hard +"path-to-regexp@npm:^8.1.0": + version: 8.1.0 + resolution: "path-to-regexp@npm:8.1.0" + checksum: 10/5016a27153d99d3da6a7769a3f34eb4a35538d23a9b4044f517960978876af4d23146f0421e9714be0449f61ffffb04941ffcb7e6bd7c69cf6d891238becd587 + languageName: node + linkType: hard + "path-type@npm:^2.0.0": version: 2.0.0 resolution: "path-type@npm:2.0.0" @@ -32915,17 +32920,17 @@ __metadata: languageName: node linkType: hard -"sinon@npm:^18.0.0": - version: 18.0.0 - resolution: "sinon@npm:18.0.0" +"sinon@npm:^19.0.0": + version: 19.0.0 + resolution: "sinon@npm:19.0.0" dependencies: "@sinonjs/commons": "npm:^3.0.1" - "@sinonjs/fake-timers": "npm:^11.2.2" - "@sinonjs/samsam": "npm:^8.0.0" - diff: "npm:^5.2.0" - nise: "npm:^6.0.0" - supports-color: "npm:^7" - checksum: 10/4c491798e2b7bb0e60357eb19820956229fb4356af7b00498f7a30dcbfe186597c816c331d8acd1771cb32510adde7657eeee0172fbd0baecdbb00e1d8c6806f + "@sinonjs/fake-timers": "npm:13.0.1" + "@sinonjs/samsam": "npm:^8.0.1" + diff: "npm:^7.0.0" + nise: "npm:^6.1.0" + supports-color: "npm:^7.2.0" + checksum: 10/8042b37344cdf1a69f263bc952e476afbc8c946026f6eddd7ae775b8542bd62c9b1e71ff50d60dbc1a830446c80a5221b5d7e0889ce583d0136aae5c7d26d37e languageName: node linkType: hard @@ -33928,7 +33933,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^7, supports-color@npm:^7.1.0": +"supports-color@npm:^7.1.0, supports-color@npm:^7.2.0": version: 7.2.0 resolution: "supports-color@npm:7.2.0" dependencies: @@ -34839,7 +34844,7 @@ __metadata: languageName: node linkType: hard -"type-detect@npm:^4.0.0, type-detect@npm:^4.0.8, type-detect@npm:^4.1.0": +"type-detect@npm:^4.0.0, type-detect@npm:^4.1.0": version: 4.1.0 resolution: "type-detect@npm:4.1.0" checksum: 10/e363bf0352427a79301f26a7795a27718624c49c576965076624eb5495d87515030b207217845f7018093adcbe169b2d119bb9b7f1a31a92bfbb1ab9639ca8dd