New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@salesforce/lazy-require

Package Overview
Dependencies
Maintainers
26
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/lazy-require - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

CHANGELOG.md

57

package.json
{
"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).
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