You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This hook worked with Node 16.11.1 but fails with ≥ 16.12.0. It now raises (node:40) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: transformSource, and fails to collect any coverage data. This is due to an incompatible change in the ESM loader hook API. Incompatible changes to this experimental API were not unexpected, of course, but it’s worth having an issue noting that this has now occurred and the package is no longer functional.
$ npx nyc node --experimental-loader=@istanbuljs/esm-loader-hook test.js(node:2394052) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time(Use `node --trace-warnings ...` to show where the warning was created)(node:2394052) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: transformSourceHello, world!----------|---------|----------|---------|---------|-------------------File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------|---------|----------|---------|---------|-------------------All files | 0 | 0 | 0 | 0 | ----------|---------|----------|---------|---------|-------------------
The text was updated successfully, but these errors were encountered:
This hook worked with Node 16.11.1 but fails with ≥ 16.12.0. It now raises
(node:40) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: transformSource
, and fails to collect any coverage data. This is due to an incompatible change in the ESM loader hook API. Incompatible changes to this experimental API were not unexpected, of course, but it’s worth having an issue noting that this has now occurred and the package is no longer functional.Minimal test case:
package.json
test.js
module.js
The text was updated successfully, but these errors were encountered: