Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

import-lazy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

import-lazy - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

7

index.js

@@ -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);
};
};

78

package.json
{
"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": "*"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc