feat: expose dummy module.exports to the sandboxed preload scripts (#39484)
This commit is contained in:
parent
90865fa97d
commit
3102a257af
3 changed files with 5 additions and 3 deletions
1
spec/fixtures/module/preload.js
vendored
1
spec/fixtures/module/preload.js
vendored
|
@ -1,6 +1,7 @@
|
|||
const types = {
|
||||
require: typeof require,
|
||||
module: typeof module,
|
||||
exports: typeof exports,
|
||||
process: typeof process,
|
||||
Buffer: typeof Buffer
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue