File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## 3.23.0
4+
5+ * Add support for replacing third-party ES modules under pnpm by updating
6+ quibble to 0.12.1. ` td.replaceEsm('some-package') ` used to look the package up
7+ from quibble's own directory. Under pnpm, that lookup either couldn't find the
8+ package (` Cannot find package 'some-package' ` ) or found a different copy than
9+ the one the test imports, and replaced that copy instead
10+ [ #546 ] ( https://github.com/testdouble/testdouble.js/pull/546 )
11+ [ quibble #123 ] ( https://github.com/testdouble/quibble/pull/123 )
12+ [ quibble #84 ] ( https://github.com/testdouble/quibble/issues/84 )
13+ * Fix ` td.replaceEsm('some-package') ` of a CommonJS package failing on Node 24+
14+ with ` SyntaxError: Unexpected token '.' `
15+ [ quibble #125 ] ( https://github.com/testdouble/quibble/pull/125 )
16+ * ** Behavior change:** ` td.replaceEsm() ` now looks up a package by name from the
17+ test file that calls it, the same way it already resolved relative paths. When
18+ the test file and testdouble.js see different copies of a package, the test
19+ file's copy is now the one replaced. A package the test file can't resolve can
20+ no longer be replaced by name
21+
322## 3.22.0
423
524* Fix unbounded memory growth when replacing ES modules by updating quibble to
You can’t perform that action at this time.
0 commit comments