@nano-router/history
Advanced tools
Comparing version 2.20.0 to 2.22.0
{ | ||
"type": "module", | ||
"name": "@nano-router/history", | ||
"version": "2.20.0", | ||
"version": "2.22.0", | ||
"description": "Manage session history with JavaScript", | ||
"main": "dist/bundle.cjs", | ||
"module": "src/index.js", | ||
"module": "dist/bundle.mjs", | ||
"exports": { | ||
"import": "./src/index.js", | ||
"import": "./dist/bundle.mjs", | ||
"require": "./dist/bundle.cjs" | ||
}, | ||
"types": "./lib/index.d.ts", | ||
"scripts": { | ||
"test": "mocha src", | ||
"build": "rollup -c rollup.config.js" | ||
"test": "jest", | ||
"build": "tsc --build --clean && tsc --build && rollup -c rollup.config.js" | ||
}, | ||
@@ -24,7 +25,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"mocha": "^10.8.2", | ||
"@types/jest": "^29.5.14", | ||
"jest": "^29.7.0", | ||
"rollup": "^2.27.1", | ||
"sinon": "^13.0.0", | ||
"unexpected": "^13.1.0", | ||
"unexpected-sinon": "^11.0.1" | ||
"ts-jest": "^29.1.2" | ||
}, | ||
@@ -34,3 +34,6 @@ "publishConfig": { | ||
}, | ||
"gitHead": "3e929c8af4b831727b6c177267b0ee2d29d4997b" | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"gitHead": "94688d185e9a3d4434bb7d8d9229bf6aeef7da27" | ||
} |
export default { | ||
input: "src/index.js", | ||
output: { | ||
file: "dist/bundle.cjs", | ||
format: "cjs", | ||
}, | ||
input: "lib/index.js", | ||
output: [ | ||
{ | ||
file: "dist/bundle.cjs", | ||
format: "cjs", | ||
}, | ||
{ | ||
file: "dist/bundle.mjs", | ||
format: "es", | ||
}, | ||
], | ||
}; |
Sorry, the diff of this file is not supported yet
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
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
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
103632
4
31
2046
1