From 4f75111055aac07d52cecc1b3051dface4812a43 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Jun 2025 16:23:37 +0800 Subject: [PATCH] chore: bump up sinon version to v21 (#12827) 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)) | [`^20.0.0` -> `^21.0.0`](https://renovatebot.com/diffs/npm/sinon/20.0.0/21.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sinon/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sinon/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sinon/20.0.0/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon/20.0.0/21.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sinonjs/sinon (sinon) ### [`v21.0.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#2100) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v20.0.0...52b0d97a0ff32888a26941325b9dc0a059fdf739) - [`fd10f13f`](https://redirect.github.com/sinonjs/sinon/commit/fd10f13f3fed7853dd489dd9e84f28c22df715c2) chore!: remove assert.failException property ([#​2659](https://redirect.github.com/sinonjs/sinon/issues/2659)) (Morgan Roderick) > This was used for allowing customisation of the thrown error between > sandboxes and for customisation for integrations (most likely from the > days of BusterJS). > > To my knowledge and what I've been able to find on GitHub, this has > never had any *production* use by end users. > > BREAKING CHANGE: this removes assert.failException from the API *Released by Morgan Roderick on 2025-06-13.*
--- ### 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). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/backend/server/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/backend/server/package.json b/packages/backend/server/package.json index 3349970674..976bbb1512 100644 --- a/packages/backend/server/package.json +++ b/packages/backend/server/package.json @@ -147,7 +147,7 @@ "c8": "^10.1.3", "nodemon": "^3.1.7", "react-email": "4.0.11", - "sinon": "^20.0.0", + "sinon": "^21.0.0", "supertest": "^7.0.0", "why-is-node-running": "^3.2.2" }, diff --git a/yarn.lock b/yarn.lock index 8bf859b646..eea41617aa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1010,7 +1010,7 @@ __metadata: rxjs: "npm:^7.8.1" semver: "npm:^7.6.3" ses: "npm:^1.10.0" - sinon: "npm:^20.0.0" + sinon: "npm:^21.0.0" socket.io: "npm:^4.8.1" stripe: "npm:^17.4.0" supertest: "npm:^7.0.0" @@ -31231,16 +31231,16 @@ __metadata: languageName: node linkType: hard -"sinon@npm:^20.0.0": - version: 20.0.0 - resolution: "sinon@npm:20.0.0" +"sinon@npm:^21.0.0": + version: 21.0.0 + resolution: "sinon@npm:21.0.0" dependencies: "@sinonjs/commons": "npm:^3.0.1" "@sinonjs/fake-timers": "npm:^13.0.5" "@sinonjs/samsam": "npm:^8.0.1" diff: "npm:^7.0.0" supports-color: "npm:^7.2.0" - checksum: 10/825cb36a58c0510cec03d9bef4fe66a12baf0e0cfdf1600423e3da1e6d57a03fe8161f4859340ea13d4c42e63da1724a260ef4c5ce119dc9ee075ad93b6e8bdd + checksum: 10/b460e1cde56fa34ecbebc216522667fa3985444020dc70508177f85d127e6b9a27184c4b3146c575b30ec3091bde508b1373fad306b1e808037a37035e62065d languageName: node linkType: hard