fix: use native require cache of loaded entries only #1770
Annotations
8 errors and 3 warnings
test/fixtures.test.ts > fixtures > require-esm:
test/fixtures.test.ts#L65
Error: Snapshot `fixtures > require-esm > require-esm-stderr 1` mismatched
- Expected
+ Received
- "(node) ExperimentalWarning: CommonJS module <cwd>/index.cjs is loading ES Module <cwd>/_dist/esm.js using require().
- Support for loading ES Module in require() is an experimental feature and might change at any time
- (Use `node --trace-warnings ...` to show where the warning was created)"
+ ""
❯ test/fixtures.test.ts:65:37
|
ci (ubuntu-latest, 18)
Process completed with exit code 1.
|
test/fixtures.test.ts > fixtures > require-esm:
test/fixtures.test.ts#L65
Error: Snapshot `fixtures > require-esm > require-esm-stderr 1` mismatched
- Expected
+ Received
- "(node) ExperimentalWarning: CommonJS module <cwd>/index.cjs is loading ES Module <cwd>/_dist/esm.js using require().
- Support for loading ES Module in require() is an experimental feature and might change at any time
- (Use `node --trace-warnings ...` to show where the warning was created)"
+ ""
❯ test/fixtures.test.ts:65:37
|
ci (ubuntu-latest, 20)
Process completed with exit code 1.
|
test/fixtures.test.ts > fixtures > require-esm:
test/fixtures.test.ts#L65
Error: Snapshot `fixtures > require-esm > require-esm-stderr 1` mismatched
- Expected
+ Received
- "(node) ExperimentalWarning: CommonJS module <cwd>/index.cjs is loading ES Module <cwd>/_dist/esm.js using require().
- Support for loading ES Module in require() is an experimental feature and might change at any time
- (Use `node --trace-warnings ...` to show where the warning was created)"
+ ""
❯ test/fixtures.test.ts:65:37
|
ci (windows-latest, 20)
Process completed with exit code 1.
|
test/fixtures.test.ts > fixtures > require-esm:
test/fixtures.test.ts#L65
Error: Snapshot `fixtures > require-esm > require-esm-stderr 1` mismatched
- Expected
+ Received
- "(node) ExperimentalWarning: CommonJS module <cwd>/index.cjs is loading ES Module <cwd>/_dist/esm.js using require().
- Support for loading ES Module in require() is an experimental feature and might change at any time
- (Use `node --trace-warnings ...` to show where the warning was created)"
+ ""
❯ test/fixtures.test.ts:65:37
|
ci (windows-latest, 18)
Process completed with exit code 1.
|
ci (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci (ubuntu-latest, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|