@salesforce/lazy-require
Advanced tools
Comparing version 0.0.5 to 0.1.0
{ | ||
"name": "@salesforce/lazy-require", | ||
"version": "0.0.5", | ||
"version": "0.1.0", | ||
"description": "Lazily load npm packages", | ||
"main": "dist/index.js", | ||
"repository": "https://github.com/forcedotcom/sfdx-dev-packages", | ||
"main": "lib/index.js", | ||
"author": "Salesforce", | ||
"license": "BSD-3-Clause", | ||
"types": "dist/index.d.ts", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
"dist/**/*.js", | ||
"!dist/**/*.test.js", | ||
"dist/**/*.d.ts", | ||
"!dist/**/*.test.d.ts" | ||
"dist/**/*.d.ts" | ||
], | ||
"dependencies": { | ||
"@types/debug": "0.0.30", | ||
"debug": "3.1.0" | ||
"debug": "^3.1.0", | ||
"tslib": "^1" | ||
}, | ||
"devDependencies": { | ||
"@salesforce/dev-config": "1.1.0", | ||
"@types/chai": "4.1.3", | ||
"@types/mocha": "5.2.0", | ||
"@types/node": "10.0.6", | ||
"@types/sinon": "4.3.2", | ||
"chai": "4.1.2", | ||
"istanbul": "0.4.5", | ||
"mocha": "5.1.1", | ||
"shelljs": "0.8.2", | ||
"sinon": "5.0.7", | ||
"source-map-support": "0.5.5", | ||
"ts-sinon-extras": "0.0.4", | ||
"tslint": "5.10.0", | ||
"typescript": "2.8.3", | ||
"xunit-file": "1.0.0" | ||
"@salesforce/dev-scripts": "^0.3.4", | ||
"@salesforce/ts-sinon": "^0.2.3", | ||
"@types/debug": "^0.0.30" | ||
}, | ||
"scripts": { | ||
"build": "yarn compile && yarn lint", | ||
"clean": "rm -rf dist docs *xunit.xml *checkstyle.xml *unitcoverage yarn.lock package-lock.json yarn-error.log", | ||
"clean-all": "rm -rf node_modules && yarn clean", | ||
"compile": "node_modules/.bin/tsc -p tsconfig.json", | ||
"lint": "node_modules/.bin/tslint -p tsconfig.json", | ||
"lint-report": "yarn lint -t checkstyle -o checkstyle.xml", | ||
"prepare": "yarn build", | ||
"rebuild": "yarn clean-all && yarn install --no-lockfile && yarn build", | ||
"test": "yarn compile && yarn lint && yarn uts", | ||
"test-with-coverage": "yarn compile && yarn lint-report && scripts/unit-test-with-coverage.js", | ||
"uts": "node_modules/.bin/mocha --require source-map-support/register --recursive \"dist/**/*.test.js\"", | ||
"watch": "node_modules/.bin/tsc -w -p tsconfig.json" | ||
} | ||
"build": "yarn sfdx-build", | ||
"clean": "yarn sfdx-clean", | ||
"clean-all": "yarn sfdx-clean all", | ||
"compile": "yarn sfdx-compile", | ||
"docs": "yarn sfdx-docs", | ||
"format": "yarn sfdx-format", | ||
"lint": "yarn sfdx-lint", | ||
"prepack": "yarn sfdx-build", | ||
"test": "yarn sfdx-test" | ||
}, | ||
"gitHead": "128bf3b945dcd8d5eafeb2e31992a757ba77f65b" | ||
} |
@@ -1,6 +0,5 @@ | ||
# lazy-require | ||
# @salesforce/lazy-require | ||
A Node library for lazily loading commonjs modules in order to speed up application execution time. | ||
Note that not all modules are well-suited for lazy loading -- some modules expect to run essential initialization code in addition to exporting types when loaded (BAD!). Modules that do this should not be lazily loaded, or undefined results are likely to occur in your application. _Use with care_ (that is, make sure your app is well tested before using this in production). | ||
Note that not all modules are well-suited for lazy loading -- some modules expect to run essential initialization code in addition to exporting types when loaded (BAD!). Modules that do this should not be lazily loaded, or undefined results are likely to occur in your application. _Use with care_ (that is, make sure your app is well tested before using this in production). |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3
1
3982
5
6
6
2
+ Addedtslib@^1
+ Addeddebug@3.2.7(transitive)
+ Addedms@2.1.3(transitive)
+ Addedtslib@1.14.1(transitive)
- Removed@types/debug@0.0.30
- Removed@types/debug@0.0.30(transitive)
- Removeddebug@3.1.0(transitive)
- Removedms@2.0.0(transitive)
Updateddebug@^3.1.0