mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
9cecba0f1c
Ensures that mutating the `Object` prototype does not influence the parsing of `package.json` files. PR-URL: https://github.com/nodejs/node/pull/44007 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
12 lines
354 B
JavaScript
12 lines
354 B
JavaScript
import explicit from 'explicit-main';
|
|
import implicit from 'implicit-main';
|
|
import implicitModule from 'implicit-main-type-module';
|
|
import noMain from 'no-main-field';
|
|
|
|
function getImplicitCommonjs () {
|
|
return import('implicit-main-type-commonjs');
|
|
}
|
|
|
|
export {explicit, implicit, implicitModule, getImplicitCommonjs, noMain};
|
|
export default 'success';
|