Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function isBuiltin (pkg) {
return !pkg.scope && !pkg.version && !pkg.file && BUILTINS.hasOwnProperty(pkg.name)
}
function isNativeModule(id) {
return builtins.hasOwnProperty(id) || id === 'process';
}