fix: apply module search paths restriction on worker and child process (#41118)
This commit is contained in:
parent
6c9f9de40a
commit
db2bf1a0d1
10 changed files with 76 additions and 85 deletions
2
spec/fixtures/module/module-paths.js
vendored
Normal file
2
spec/fixtures/module/module-paths.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
const Module = require('node:module');
|
||||
process.send(Module._nodeModulePaths(process.resourcesPath + '/test.js'));
|
Loading…
Add table
Add a link
Reference in a new issue