GeezerVison is showing github.com — build(deps-dev): bump the sinon group across 1 directory with 2 updates by dependabot[bot] · Pull Request #1992 · microsoftgraph/msgraph-sdk-javascript
Conversation
dependabot
Bot
commented
on behalf of
github
Nov 24, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Bumps the sinon group with 2 updates in the / directory: sinon and @types/sinon.
Updates sinon from 15.2.0 to 22.1.0
Changelog
Sourced from sinon's changelog.
22.1.0
d36e921b
fix: let returns override returnsArg (王胜)
Signed-off-by: 王胜 [email protected]
40c4caa0
fix: align restoreObject docs test with idempotent behavior (#2745) (Julia Miller)
restoreObject was made idempotent in #2737 — it no longer throws
for objects with no restorable methods. Updates the docs page
and its corresponding test to reflect this.
a68dac19
fix: throw a clear error when throwArg index equals the argument count (#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
feat: make sinon.restoreObject idempotent (#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 #2736
4db4feff
fix: preserve fake undefined argument validation (Vishal Kumar Singh)
755a40d7
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 #2472
Released by Morgan Roderick on 2026-07-20.
22.0.0
... (truncated)
Commits
ab289e9 22.1.0
bb3b75a chore: remove Jekyll steps from version hook
bb38f25 chore: run docs tests in preversion hook
d36e921 fix: let returns override returnsArg
11db213 ci: run docs tests on every PR (#2746)
40c4caa fix: align restoreObject docs test with idempotent behavior (#2745)
5ccb7fd build(deps): bump the action-deps group with 4 updates (#2744)
a68dac1 fix: throw a clear error when throwArg index equals the argument count (#2743)
9ea504e feat: make sinon.restoreObject idempotent (#2737)
cf5d9e8 fix: remove dead link and exclude code example URLs from link check
- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by mrgnrdrck, a new releaser for sinon since your current version.
Updates @types/sinon from 10.0.16 to 22.0.2
Commits
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.