@digitalbazaar/lru-memoize
Advanced tools
Comparing version 2.2.0 to 3.0.0
/*! | ||
* Copyright (c) 2020-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
'use strict'; | ||
// translate `main.js` to CommonJS | ||
require = require('esm')(module); | ||
module.exports = require('./main.js'); | ||
export {LruCache} from './LruCache.js'; |
{ | ||
"name": "@digitalbazaar/lru-memoize", | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"description": "LRU Memoize", | ||
"license": "BSD-3-Clause", | ||
"main": "lib/index.js", | ||
"module": "lib/main.js", | ||
"type": "module", | ||
"exports": "./lib/index.js", | ||
"files": [ | ||
"lib/**/*.js" | ||
], | ||
"scripts": { | ||
"test": "npm run test-node", | ||
"test-node": "cross-env NODE_ENV=test mocha -r esm --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require tests/test-mocha.js tests/*.spec.js", | ||
"test-karma": "karma start karma.conf.js", | ||
"coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm run test-node", | ||
"coverage-ci": "cross-env NODE_ENV=test nyc --reporter=lcovonly npm run test-node", | ||
"coverage-report": "nyc report", | ||
"test-node": "cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require tests/test-mocha.js tests/*.spec.js", | ||
"test-karma": "karma start karma.conf.cjs", | ||
"coverage": "cross-env NODE_ENV=test c8 npm run test-node", | ||
"coverage-ci": "cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node", | ||
"coverage-report": "c8 report", | ||
"lint": "eslint ." | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"dependencies": { | ||
"esm": "^3.2.25", | ||
"lru-cache": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"cross-env": "^6.0.3", | ||
"delay": "^4.4.0", | ||
"eslint": "^7.9.0", | ||
"eslint-config-digitalbazaar": "^2.0.0", | ||
"eslint-plugin-jsdoc": "^30.7.8", | ||
"karma": "^6.1.1", | ||
"karma-babel-preprocessor": "^8.0.0", | ||
"c8": "^7.11.3", | ||
"chai": "^4.3.6", | ||
"cross-env": "^7.0.3", | ||
"delay": "^5.0.0", | ||
"eslint": "^8.16.0", | ||
"eslint-config-digitalbazaar": "^3.0.0", | ||
"eslint-plugin-jsdoc": "^39.3.2", | ||
"eslint-plugin-unicorn": "^42.0.0", | ||
"karma": "^6.3.20", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-chrome-launcher": "^3.1.1", | ||
"karma-mocha": "^2.0.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"karma-sourcemap-loader": "^0.3.7", | ||
"karma-sourcemap-loader": "^0.3.8", | ||
"karma-webpack": "^5.0.0", | ||
"mocha": "^8.0.1", | ||
"mocha": "^10.0.0", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nyc": "^15.0.0", | ||
"webpack": "^5.24.2" | ||
"webpack": "^5.72.1" | ||
}, | ||
@@ -62,9 +61,11 @@ "repository": { | ||
"engines": { | ||
"node": ">=10.0.0" | ||
"node": ">=14" | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
"tests" | ||
"c8": { | ||
"reporter": [ | ||
"lcov", | ||
"text-summary", | ||
"text" | ||
] | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
Yes
6134
5
81
- Removedesm@^3.2.25
- Removedesm@3.2.25(transitive)