Skip to content

chore(deps-dev): bump testdouble from 3.21.0 to 3.23.0 - #3901

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/testdouble-3.23.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/testdouble-3.23.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps testdouble from 3.21.0 to 3.23.0.

Changelog

Sourced from testdouble's changelog.

3.23.0

  • Add support for replacing third-party ES modules under pnpm by updating quibble to 0.12.1. td.replaceEsm('some-package') used to look the package up from quibble's own directory. Under pnpm, that lookup either couldn't find the package (Cannot find package 'some-package') or found a different copy than the one the test imports, and replaced that copy instead #546 quibble#123 quibble#84
  • Fix td.replaceEsm('some-package') of a CommonJS package failing on Node 24+ with SyntaxError: Unexpected token '.' quibble#125
  • Behavior change: td.replaceEsm() now looks up a package by name from the test file that calls it, the same way it already resolved relative paths. When the test file and testdouble.js see different copies of a package, the test file's copy is now the one replaced. A package the test file can't resolve can no longer be replaced by name

3.22.0

  • Fix unbounded memory growth when replacing ES modules by updating quibble to 0.11.0. Quibble used to re-evaluate, and permanently retain, every module imported after a td.replaceEsm() call, including modules that had nothing to do with the replacement. It now only does that for modules that are replaced or that import one that is, so memory plateaus instead of growing with every test #534 quibble#122
  • Behavior change: an ES module that nothing replaced can reach is now a single instance for the life of the process, where it used to get a fresh one after every td.replaceEsm() or td.reset(). Module-level state in such a module (counters, caches, singletons) now persists between tests. Modules that are replaced, or that import a replaced module, are still re-evaluated against each new replacement, so the documented td.replaceEsm() then import() pattern works as before

3.21.1

  • Update quibble to 0.10.1, which stops emitting the [DEP0205] module.register() is deprecated warning on Node 26+ quibble#121 #544
Commits

Dependabot compatibility score

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.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [testdouble](https://github.com/testdouble/testdouble.js) from 3.21.0 to 3.23.0.
- [Changelog](https://github.com/testdouble/testdouble.js/blob/main/CHANGELOG.md)
- [Commits](testdouble/testdouble.js@v3.21.0...v3.23.0)

---
updated-dependencies:
- dependency-name: testdouble
  dependency-version: 3.23.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants