Files
semantic-release/package.json
T
renovate[bot] a546db2995 chore(deps): update dependency sinon to v22.1.0 (#4263)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [sinon](https://sinonjs.org/)
([source](https://redirect.github.com/sinonjs/sinon)) | [`22.0.0` →
`22.1.0`](https://renovatebot.com/diffs/npm/sinon/22.0.0/22.1.0) |
![age](https://developer.mend.io/api/mc/badges/age/npm/sinon/22.1.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon/22.0.0/22.1.0?slim=true)
|

---

### Release Notes

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

###
[`v22.1.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#2210)

[Compare
Source](https://redirect.github.com/sinonjs/sinon/compare/v22.0.0...v22.1.0)

-
[`d36e921b`](https://redirect.github.com/sinonjs/sinon/commit/d36e921baf382598cfa9323cb672c87ce85e2ad5)
  fix: let returns override returnsArg (王胜)
  > Signed-off-by: 王胜 <2318857637@&#8203;qq.com>
-
[`40c4caa0`](https://redirect.github.com/sinonjs/sinon/commit/40c4caa0f47b8fb184319a8873bac616c3eef871)
fix: align restoreObject docs test with idempotent behavior
([#&#8203;2745](https://redirect.github.com/sinonjs/sinon/issues/2745))
(Julia Miller)
> restoreObject was made idempotent in
[#&#8203;2737](https://redirect.github.com/sinonjs/sinon/issues/2737) —
it no longer throws
  > for objects with no restorable methods. Updates the docs page
  > and its corresponding test to reflect this.
-
[`a68dac19`](https://redirect.github.com/sinonjs/sinon/commit/a68dac198c6d0d9ce797dc9178d0c57ea6455aab)
fix: throw a clear error when throwArg index equals the argument count
([#&#8203;2743](https://redirect.github.com/sinonjs/sinon/issues/2743))
(spokodev)
> - fix: throw a clear error when throwArg index equals the argument
count
  >
> spyCall.throwArg(pos) guarded with pos > this.args.length, so calling
it
> with pos equal to the number of recorded arguments slipped past the
guard
  > and reached throw this.args\[pos], throwing undefined instead of the
> intended TypeError. A thrown undefined cannot be inspected as an Error
and
  > is reported by test frameworks as no exception thrown.
  >
> Use >= to match ensureArgs in behavior.js and the sibling callArg
helpers,
  > which already reject an out-of-range index with a clear error.
-
[`9ea504e3`](https://redirect.github.com/sinonjs/sinon/commit/9ea504e317e9a27c376a9740bc04ec75f699ed30)
feat: make sinon.restoreObject idempotent
([#&#8203;2737](https://redirect.github.com/sinonjs/sinon/issues/2737))
(Ilia Choly)
  > Passing an object with no live fakes to restoreObject now restores
  > nothing instead of throwing, giving it symmetry with sinon.restore()
> and sandbox.restore(). The strict "found no methods" check is retained
  > for spy(object) and stub(object), which now use a dedicated
> walkObjectStrict export, while restoreObject uses the loose
walkObject.
  > Passing a falsy value still throws.
  >
> Fixes
[#&#8203;2736](https://redirect.github.com/sinonjs/sinon/issues/2736)
-
[`4db4feff`](https://redirect.github.com/sinonjs/sinon/commit/4db4feffe19d3f117d46b9015b4890187a282cf0)
  fix: preserve fake undefined argument validation (Vishal Kumar Singh)
-
[`755a40d7`](https://redirect.github.com/sinonjs/sinon/commit/755a40d772b02a7ba7e9a1d465a5f26d486ebbdb)
fix: isolate callId counter per sandbox for parallel test support
(Vishal Kumar Singh)
> The global callId counter in proxy-invoke.js caused
calledImmediatelyBefore
> and calledImmediatelyAfter to fail when tests run in parallel with
separate
> sandboxes. Each sandbox now maintains its own callId counter, passed
through
  > the spy/stub/fake creation chain via a context object.
  >
> Fixes
[#&#8203;2472](https://redirect.github.com/sinonjs/sinon/issues/2472)

*Released by Morgan Roderick on 2026-07-20.*

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/semantic-release/semantic-release).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNzUuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI3NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-23 20:48:59 +00:00

172 lines
4.4 KiB
JSON

{
"name": "semantic-release",
"description": "Automated semver compliant package publishing",
"version": "0.0.0-development",
"type": "module",
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)",
"ava": {
"files": [
"test/**/*.test.js",
"!test/integration.test.js",
"!test/e2e.test.js"
],
"nodeArguments": [
"--no-warnings"
],
"timeout": "2m"
},
"bin": {
"semantic-release": "bin/semantic-release.js"
},
"bugs": {
"url": "https://github.com/semantic-release/semantic-release/issues"
},
"contributors": [
"Gregor Martynus (https://twitter.com/gr2m)",
"Pierre Vanduynslager (https://twitter.com/@pvdlg_)",
"Matt Travi <npm@travi.org> (https://matt.travi.org/)"
],
"dependencies": {
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/error": "^4.0.0",
"@semantic-release/github": "^12.0.0",
"@semantic-release/npm": "^13.1.1",
"@semantic-release/release-notes-generator": "^14.1.0",
"aggregate-error": "^5.0.0",
"cosmiconfig": "^9.0.0",
"debug": "^4.0.0",
"env-ci": "^11.0.0",
"execa": "^9.0.0",
"figures": "^6.0.0",
"find-versions": "^6.0.0",
"get-stream": "^6.0.0",
"git-log-parser": "^1.2.0",
"hook-std": "^4.0.0",
"hosted-git-info": "^9.0.0",
"import-from-esm": "^2.0.0",
"lodash-es": "^4.17.21",
"marked": "^15.0.0",
"marked-terminal": "^7.3.0",
"micromatch": "^4.0.2",
"p-each-series": "^3.0.0",
"p-reduce": "^3.0.0",
"read-package-up": "^12.0.0",
"resolve-from": "^5.0.0",
"semver": "^7.3.2",
"signale": "^1.2.1",
"yargs": "^18.0.0"
},
"devDependencies": {
"@types/node": "24.13.3",
"@types/signale": "1.4.7",
"ava": "8.0.1",
"c8": "12.0.0",
"clear-module": "4.1.3",
"cz-conventional-changelog": "3.3.0",
"file-url": "4.0.0",
"fs-extra": "11.3.6",
"got": "15.1.0",
"js-yaml": "4.3.0",
"lockfile-lint": "5.0.0",
"ls-engines": "0.10.1",
"mockserver-client": "7.4.0",
"nock": "14.0.16",
"npm-run-all2": "9.0.2",
"p-retry": "8.0.0",
"prettier": "3.8.5",
"publint": "0.3.21",
"sinon": "22.1.0",
"stream-buffers": "3.0.3",
"tempy": "3.2.0",
"testcontainers": "12.0.4",
"testdouble": "3.20.2"
},
"engines": {
"node": "^22.14.0 || >= 24.10.0"
},
"files": [
"bin",
"docs",
"lib",
"index.d.ts",
"index.js",
"cli.js"
],
"homepage": "https://github.com/semantic-release/semantic-release#readme",
"keywords": [
"author",
"automation",
"changelog",
"module",
"package",
"publish",
"release",
"semver",
"version"
],
"license": "MIT",
"main": "./index.js",
"types": "index.d.ts",
"c8": {
"include": [
"lib/**/*.js",
"index.js",
"cli.js"
],
"reporter": [
"json",
"text",
"html"
],
"all": true
},
"lockfile-lint": {
"path": "package-lock.json",
"type": "npm",
"validate-https": true,
"allowed-hosts": [
"npm"
]
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/semantic-release/semantic-release.git"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"scripts": {
"lint:prettier": "prettier --check \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"{bin,lib,test}/**/*.js\"",
"lint:prettier:fix": "prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"{bin,lib,test}/**/*.js\"",
"lint:lockfile": "lockfile-lint",
"lint:engines": "ls-engines",
"lint:publish": "publint --strict",
"semantic-release": "./bin/semantic-release.js",
"test": "npm-run-all --print-label --parallel lint:* --serial test:*",
"test:unit": "c8 ava --verbose",
"test:integration": "ava --verbose test/integration.test.js",
"test:e2e": "ava --verbose test/e2e.test.js"
},
"renovate": {
"extends": [
"github>semantic-release/.github:renovate-config"
],
"docker-compose": {
"managerFilePatterns": [
"/(^|/)e2e\\.compose\\.ya?ml$/"
]
}
},
"packageManager": "npm@12.0.1+sha512.2f94fd8bf600416416a934bfc59c4991e8bff7372ef7d842784e2a8b8d48c81555ee645069ddea73625fb8e92dc261feab0188fd5dab6c22fefd46316f5f9140"
}