Originally created by: dependabot[bot]
Bumps sinon from 9.2.0 to 21.0.3.
Sourced from sinon's changelog.
21.0.3
0494251bfix(#2678](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/2678">/issues/2678)): upgrade samsam to fix buffer comparisons (Carl-Erik Kopseng)Released by Carl-Erik Kopseng on 2026-03-16.
21.0.2
024321c4fix: skip Node specific tests in browser env (Carl-Erik Kopseng)b836fccbfix: js-yaml breaking change from v3 to v4 (Carl-Erik Kopseng)ebf0c431docs: add how-to article for stubbing ES module imports (#1832](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/1832">/issues/1832)) (#2676](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/2676">/issues/2676)) (Eduard Barrera)
- docs: add how-to article for stubbing ES module imports with esm package
Adds a comprehensive How-To guide that addresses issue #1832](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/1832">/issues/1832), documenting how to configure Node.js to allow Sinon stubs to work with ES modules.
- Explains why ES module namespace bindings are immutable by spec
- Shows how to use the 'esm' npm package with mutableNamespace: true
- Provides a complete working example with project layout, package.json, loader file, source modules, and a full test suite
- Documents limitations (destructured imports, non-standard behavior)
- Replaces the TODO comment in link-seams-commonjs.md with a cross-reference
Closes #1832](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/1832">/issues/1832) Co-authored-by: Eduard Barrera eduardbar@users.noreply.github.com Co-authored-by: Carl-Erik Kopseng carlerik@gmail.com
ebcd506cFix spies not being reset properly (#2673](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/2673">/issues/2673)) (simon-id)3beab2baMake doc tests pass with new jQuery (Carl-Erik Kopseng)766715c6build: reduce transitive audit findings (Carl-Erik Kopseng)92aaf5c9build: upgrade eslint config and replace dependency-check (Carl-Erik Kopseng)c6aaa871chore: ignore project worktrees (Carl-Erik Kopseng)ef387e8eUpgrade most deps (Carl-Erik Kopseng)3cf4e77ddocs: improve writing of documentation (#2675](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/2675">/issues/2675)) (Eduardo de la Cruz Palacios)6349032fCheck login status before publishing steps are performed (Carl-Erik Kopseng)Released by Carl-Erik Kopseng on 2026-03-04.
21.0.1
... (truncated)
1381482 21.0.30494251 fix(#2678](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/2678">/issues/2678)): upgrade samsam to fix buffer comparisons2d93d68 21.0.23af394e lint-staged -> 16.3.22948314 prettier024321c fix: skip Node specific tests in browser envb836fcc fix: js-yaml breaking change from v3 to v4ebf0c43 docs: add how-to article for stubbing ES module imports (#1832](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/1832">/issues/1832)) (#2676](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/2676">/issues/2676))ebcd506 Fix spies not being reset properly (#2673](https://github.com/href="https://redirect.github.com/sinonjs/sinon/issues/2673">/issues/2673))3beab2b Make doc tests pass with new jQueryThis version was pushed to npm by fatso83, a new releaser for sinon since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Originally posted by: dependabot[bot]
Superseded by [#3509].
Related
Tickets: #3509
Ticket changed by: dependabot[bot]