Repository navigation
Commit 2f5bb31
committed
Bump quibble to 0.12.1
Picks up two fixes for replacing ES modules:
- 0.12.0 resolves bare specifiers from the caller instead of from quibble's
own directory, so td.replaceEsm('some-package') replaces the copy the
test imports under pnpm, and in monorepos where packages need different
versions of a dependency (testdouble/quibble#84)
- 0.12.1 generates valid stubs for export names that aren't identifiers,
so td.replaceEsm() of a CommonJS package no longer fails on Node 24+ with
"SyntaxError: Unexpected token '.'" (Node gives CommonJS modules a
'module.exports' named export)
With these, the node-esm-pnpm example passes.1 parent 4bcfdf9 commit 2f5bb31
9 files changed
Lines changed: 21 additions & 21 deletions
File tree
- examples
- babel
- jest-broken
- jest
- node-ava
- node-esm-auto-loader
- node-esm
- node
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments