chore: bump up sinon version to v18 (#6950)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sinon](https://sinonjs.org/) ([source](https://togithub.com/sinonjs/sinon)) | [`^17.0.1` -> `^18.0.0`](https://renovatebot.com/diffs/npm/sinon/17.0.1/18.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sinon/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sinon/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sinon/17.0.1/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon/17.0.1/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>sinonjs/sinon (sinon)</summary>

### [`v18.0.0`](https://togithub.com/sinonjs/sinon/compare/v17.0.2...v18.0.0)

[Compare Source](https://togithub.com/sinonjs/sinon/compare/v17.0.2...v18.0.0)

### [`v17.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1702)

[Compare Source](https://togithub.com/sinonjs/sinon/compare/v17.0.1...v17.0.2)

-   [`f6dca0ba`](f6dca0bac3)
    upgrade packages ([#&#8203;2595](https://togithub.com/sinonjs/sinon/issues/2595)) (Carl-Erik Kopseng)
-   [`5025d001`](5025d00140)
    Avoid return and callArg\* clearing each other's state ([#&#8203;2593](https://togithub.com/sinonjs/sinon/issues/2593)) (Carl-Erik Kopseng)
    > -   Partially revert "fix returns does not override call through ([#&#8203;2567](https://togithub.com/sinonjs/sinon/issues/2567))"
    >
    > <!---->
    >
    > -   revert to the old manual clearing of props
-   [`ed068a88`](ed068a886f)
    Bump ip from 1.1.8 to 1.1.9 ([#&#8203;2587](https://togithub.com/sinonjs/sinon/issues/2587)) (dependabot\[bot])
-   [`ec4d592e`](ec4d592ee4)
    fix [#&#8203;2589](https://togithub.com/sinonjs/sinon/issues/2589): avoid invoking getter as side-effect ([#&#8203;2592](https://togithub.com/sinonjs/sinon/issues/2592)) (Carl-Erik Kopseng)
-   [`9972e1e3`](9972e1e399)
    Fix typo in mocks documentation ([#&#8203;2591](https://togithub.com/sinonjs/sinon/issues/2591)) (Eduardo de la Cruz Palacios)
-   [`52e6e4c5`](52e6e4c540)
    chore: prefer cache option of setup-node (Morgan Roderick)
-   [`08da1235`](08da123555)
    Bump actions/cache from 3 to 4 (dependabot\[bot])
-   [`404ef47e`](404ef47e11)
    Bump nokogiri from 1.14.3 to 1.16.2 (dependabot\[bot])
-   [`fd79612c`](fd79612c33)
    Update Bug_report.md (Carl-Erik Kopseng)
-   [`1fbc812a`](1fbc812a9f)
    Re-add about (Carl-Erik Kopseng)
-   [`fc8f6c3e`](fc8f6c3e11)
    Fix formatting :clown: (Carl-Erik Kopseng)
-   [`c57e38ae`](c57e38ae2e)
    Remove old template (Carl-Erik Kopseng)
-   [`754bf7a9`](754bf7a98b)
    Update Bug_report.md (Carl-Erik Kopseng)
-   [`87eed9d2`](87eed9d255)
    Fix some typos at code comments ([#&#8203;2581](https://togithub.com/sinonjs/sinon/issues/2581)) (EliyahuMachluf)
-   [`cbae6997`](cbae69978c)
    Link to createStubInstance util.md docs in stubs.md ([#&#8203;2577](https://togithub.com/sinonjs/sinon/issues/2577)) (Daniel Kaplan)
-   [`adcf936d`](adcf936de0)
    Fix Mocha watch task by delegating to Node ([#&#8203;2573](https://togithub.com/sinonjs/sinon/issues/2573)) (Carl-Erik Kopseng)
-   [`30ad2372`](30ad237295)
    prettier:write (Carl-Erik Kopseng)
-   [`45c4d6b9`](45c4d6b9b8)
    Remove outdated info from README ([#&#8203;2571](https://togithub.com/sinonjs/sinon/issues/2571)) (Carl-Erik Kopseng)
-   [`6c9f5c2a`](6c9f5c2ade)
    Add a notice that the Fake Timers API doc is incomplete ([#&#8203;2570](https://togithub.com/sinonjs/sinon/issues/2570)) (Carl-Erik Kopseng)
-   [`93db3ef3`](93db3ef3b0)
    breaking: Remove sinon.defaultConfig and related modules ([#&#8203;2565](https://togithub.com/sinonjs/sinon/issues/2565)) (Carl-Erik Kopseng)
    > -   breaking: Remove sinon.defaultConfig and related modules
    >
    > default-config and get-config are leftovers from when Sinon
    >
    > shipped with sinon.test (now the independent NPM module
    >
    > 'sinon-test').

*Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2024-05-07.*

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
This commit is contained in:
renovate 2024-05-16 07:24:23 +00:00
parent b478518ee3
commit ad09bb6cd9
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
2 changed files with 17 additions and 17 deletions

View File

@ -116,7 +116,7 @@
"ava": "^6.1.2",
"c8": "^9.1.0",
"nodemon": "^3.1.0",
"sinon": "^17.0.1",
"sinon": "^18.0.0",
"supertest": "^7.0.0"
},
"ava": {

View File

@ -748,7 +748,7 @@ __metadata:
reflect-metadata: "npm:^0.2.2"
rxjs: "npm:^7.8.1"
semver: "npm:^7.6.0"
sinon: "npm:^17.0.1"
sinon: "npm:^18.0.0"
socket.io: "npm:^4.7.5"
stripe: "npm:^15.0.0"
supertest: "npm:^7.0.0"
@ -12094,7 +12094,7 @@ __metadata:
languageName: node
linkType: hard
"@sinonjs/commons@npm:^3.0.0":
"@sinonjs/commons@npm:^3.0.0, @sinonjs/commons@npm:^3.0.1":
version: 3.0.1
resolution: "@sinonjs/commons@npm:3.0.1"
dependencies:
@ -19959,7 +19959,7 @@ __metadata:
languageName: node
linkType: hard
"diff@npm:^5.0.0, diff@npm:^5.1.0":
"diff@npm:^5.0.0, diff@npm:^5.2.0":
version: 5.2.0
resolution: "diff@npm:5.2.0"
checksum: 10/01b7b440f83a997350a988e9d2f558366c0f90f15be19f4aa7f1bb3109a4e153dfc3b9fbf78e14ea725717017407eeaa2271e3896374a0181e8f52445740846d
@ -29043,16 +29043,16 @@ __metadata:
languageName: node
linkType: hard
"nise@npm:^5.1.5":
version: 5.1.9
resolution: "nise@npm:5.1.9"
"nise@npm:^6.0.0":
version: 6.0.0
resolution: "nise@npm:6.0.0"
dependencies:
"@sinonjs/commons": "npm:^3.0.0"
"@sinonjs/fake-timers": "npm:^11.2.2"
"@sinonjs/text-encoding": "npm:^0.7.2"
just-extend: "npm:^6.2.0"
path-to-regexp: "npm:^6.2.1"
checksum: 10/971caf7638d42a0e106eadd63f05adac1217f864b0a7e4519546aea82a0dbfac68586e7ff430704d54a01ff5dbf6cad58f5f67c067e21112a7deacd7789c2172
checksum: 10/a11be5fd21ece95c80fda14a2cf80350404acc895467fc5104dc9ea9c0630614fcc83e10591ead96796b31aa2f3ccb7dc9198ed940d0f3e91e760bf5104d41a8
languageName: node
linkType: hard
@ -33344,17 +33344,17 @@ __metadata:
languageName: node
linkType: hard
"sinon@npm:^17.0.1":
version: 17.0.1
resolution: "sinon@npm:17.0.1"
"sinon@npm:^18.0.0":
version: 18.0.0
resolution: "sinon@npm:18.0.0"
dependencies:
"@sinonjs/commons": "npm:^3.0.0"
"@sinonjs/commons": "npm:^3.0.1"
"@sinonjs/fake-timers": "npm:^11.2.2"
"@sinonjs/samsam": "npm:^8.0.0"
diff: "npm:^5.1.0"
nise: "npm:^5.1.5"
supports-color: "npm:^7.2.0"
checksum: 10/b34f1a97da0be3556ac686c6b649a566c2666eb7f50e75e754928c1c72c96d78f56e56a999227be794c3d9cdaed0bc78d11f38ab303d3079c5bcbcffc0f9c6d5
diff: "npm:^5.2.0"
nise: "npm:^6.0.0"
supports-color: "npm:^7"
checksum: 10/4c491798e2b7bb0e60357eb19820956229fb4356af7b00498f7a30dcbfe186597c816c331d8acd1771cb32510adde7657eeee0172fbd0baecdbb00e1d8c6806f
languageName: node
linkType: hard
@ -34350,7 +34350,7 @@ __metadata:
languageName: node
linkType: hard
"supports-color@npm:^7.1.0, supports-color@npm:^7.2.0":
"supports-color@npm:^7, supports-color@npm:^7.1.0":
version: 7.2.0
resolution: "supports-color@npm:7.2.0"
dependencies: