UNPKG
import-in-the-middle
Version:
latest (3.5.1)
3.5.1
3.5.0
3.4.0
3.3.3
3.3.2
3.3.1
3.3.0
3.2.0
3.1.0
3.0.2
3.0.1
3.0.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.15.0
1.14.4
1.14.3
1.14.2
1.14.1
1.14.0
1.13.2
1.13.1
1.13.0
1.12.0
1.11.3
1.11.2
1.11.1
1.11.0
1.10.0
1.9.1
1.9.0
1.8.1
1.8.0
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.0
1.4.2
1.4.1
1.4.0
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
Intercept imports in Node.js
github.com/nodejs/import-in-the-middle
nodejs/import-in-the-middle
import-in-the-middle
/
test
/
get-esm-exports
/
v18.19-get-esm-exports.js
4 lines
(3 loc)
•
132 B
JavaScript
View Raw
1
2
3
4
// v18.19.0 backported ESM hook execution to a separate thread,
// thus being equivalent to >=v20.
require
('./v20-get-esm-exports')