redux-router
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "redux-router", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Redux bindings for React Router — keep your router state inside your Redux Store.", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "babel src --out-dir lib && cp lib/serverModule.js server.js", | ||
"clean": "rimraf lib && rimraf server.js", | ||
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min", | ||
"build:commonjs": "babel src --out-dir lib && cp lib/serverModule.js server.js", | ||
"build:umd": "NODE_ENV=development browserify -s ReduxRouter --detect-globals lib/index.js -o dist/redux-router.js", | ||
"build:umd:min": "NODE_ENV=production browserify -s ReduxRouter --detect-globals lib/index.js | uglifyjs -c warnings=false -m > dist/redux-router.min.js", | ||
"clean": "rimraf lib && rimraf dist && rimraf server.js", | ||
"lint": "eslint src", | ||
"test": "mocha --compilers js:babel/register --recursive --require src/__tests__/init.js src/**/*-test.js", | ||
"test-watch": "mocha --compilers js:babel/register --recursive --require src/__tests__/init.js -w src/**/*-test.js", | ||
"prepublish": "npm run clean && npm run build" | ||
"prepublish": "npm run clean && mkdir dist && npm run build" | ||
}, | ||
@@ -26,2 +29,9 @@ "repository": { | ||
"license": "MIT", | ||
"files": [ | ||
"dist", | ||
"lib", | ||
"src", | ||
"LICENSE", | ||
"*.md" | ||
], | ||
"devDependencies": { | ||
@@ -32,2 +42,3 @@ "babel": "^5.6.14", | ||
"babel-loader": "^5.3.2", | ||
"browserify": "^13.0.1", | ||
"chai": "^3.0.0", | ||
@@ -52,2 +63,3 @@ "eslint": "^1.3.1", | ||
"sinon": "^1.15.4", | ||
"uglify-js": "^2.6.2", | ||
"webpack": "^1.12.1" | ||
@@ -54,0 +66,0 @@ }, |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
1247282
25598
0
29
26
44
2