import-lazy
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -16,7 +16,12 @@ 'use strict'; | ||
return Reflect.apply(mod, thisArg, argumentsList); | ||
}, | ||
construct: (target, argumentsList) => { | ||
mod = lazy(mod, fn, id); | ||
return Reflect.construct(mod, argumentsList); | ||
} | ||
}; | ||
return new Proxy(() => {}, handler); | ||
// eslint-disable-next-line prefer-arrow-callback | ||
return new Proxy(function () {}, handler); | ||
}; | ||
}; |
{ | ||
"name": "import-lazy", | ||
"version": "3.0.0", | ||
"description": "Import a module lazily", | ||
"license": "MIT", | ||
"repository": "sindresorhus/import-lazy", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Jorge Bucaran", | ||
"email": "jbucaran@me.com" | ||
} | ||
], | ||
"engines": { | ||
"node": ">=6" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"import", | ||
"require", | ||
"load", | ||
"module", | ||
"modules", | ||
"lazy", | ||
"lazily", | ||
"defer", | ||
"deferred", | ||
"proxy", | ||
"proxies" | ||
], | ||
"devDependencies": { | ||
"ava": "*", | ||
"xo": "*" | ||
} | ||
"name": "import-lazy", | ||
"version": "3.1.0", | ||
"description": "Import a module lazily", | ||
"license": "MIT", | ||
"repository": "sindresorhus/import-lazy", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=6" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"import", | ||
"require", | ||
"load", | ||
"module", | ||
"modules", | ||
"lazy", | ||
"lazily", | ||
"defer", | ||
"deferred", | ||
"proxy", | ||
"proxies" | ||
], | ||
"devDependencies": { | ||
"ava": "*", | ||
"xo": "*" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3956
23