Comparing version 1.3.8 to 2.0.1
{ | ||
"name": "cuid", | ||
"version": "1.3.8", | ||
"version": "2.0.1", | ||
"description": "Collision-resistant ids optimized for horizontal scaling and performance. For node and browsers.", | ||
@@ -9,4 +9,12 @@ "author": { | ||
}, | ||
"main": "./dist/node-cuid.js", | ||
"browser": "./dist/browser-cuid.js", | ||
"main": "index.js", | ||
"browser": { | ||
"./lib/fingerprint.js": "./lib/fingerprint.browser.js" | ||
}, | ||
"react-native": { | ||
"./lib/fingerprint.js": "./lib/fingerprint.react-native.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
@@ -25,40 +33,22 @@ "id", | ||
"devDependencies": { | ||
"babel": "5.6.14", | ||
"babel-eslint": "^4.0.10", | ||
"babel-loader": "5.3.0", | ||
"babelify": "^6.2.0", | ||
"ecstatic": "^0.8.0", | ||
"eslint": "0.24.0", | ||
"faucet": "0.0.1", | ||
"node-libs-browser": "0.5.2", | ||
"rimraf": "2.4.1", | ||
"sauce-connect-launcher": "^0.12.0", | ||
"saucelabs": "0.1.1", | ||
"tape": "4.2.0", | ||
"wd": "^0.3.12", | ||
"webpack": "1.10.1", | ||
"zuul": "^3.3.0" | ||
"browserify": "14.4.0", | ||
"eslint": "^3.9.1", | ||
"karma": "^1.7.0", | ||
"karma-browserify": "^5.1.1", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-tap": "^3.1.1", | ||
"mkdirp": "^0.5.1", | ||
"tape": "^4.6.2", | ||
"uglify-js": "^2.7.4", | ||
"watchify": "3.9.0", | ||
"webworkify": "^1.4.0" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf build && rimraf test/client/test-cuid.js", | ||
"prebuild": "npm run clean", | ||
"build": "npm run build:server && npm run build:client && npm run build:test", | ||
"build:server": "NODE_ENV=production WEBPACK_TARGET=server webpack", | ||
"build:client": "NODE_ENV=production WEBPACK_TARGET=client webpack -p", | ||
"build:test": "browserify ./test/client/index.js -s testcuid -t babelify --outfile test/client/test-cuid.js", | ||
"comment:build:test": "NODE_ENV=production WEBPACK_TARGET=test webpack -p", | ||
"lint": "eslint source test", | ||
"test": "npm run test:server && npm run test:client", | ||
"test:client": "#zuul -- test/client/test-cuid", | ||
"test:server": "babel-node test/server", | ||
"prevalidate": "npm run clean", | ||
"validate": "npm run lint && npm run build && npm run test", | ||
"validate-dev": "npm run lint && npm run build && npm run test | faucet", | ||
"prepublish": "npm run validate" | ||
}, | ||
"dependencies": { | ||
"browser-fingerprint": "0.0.1", | ||
"core-js": "^1.1.1", | ||
"node-fingerprint": "0.0.2" | ||
"build": "mkdirp dist && browserify index.js -s cuid -o dist/cuid.js && uglifyjs dist/cuid.js -c -m -o dist/cuid.min.js", | ||
"lint": "eslint index.js lib test", | ||
"test": "npm run lint && npm run test:server && npm run test:browser", | ||
"test:browser": "karma start test/karma.conf.js", | ||
"test:server": "tape test/**/*.js", | ||
"prepublish": "npm run build" | ||
} | ||
} |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
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
Network access
Supply chain riskThis module accesses the network.
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 3 instances in 1 package
0
11
188
21702
6
133
2
4
- Removedbrowser-fingerprint@0.0.1
- Removedcore-js@^1.1.1
- Removednode-fingerprint@0.0.2
- Removedbrowser-fingerprint@0.0.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removednode-fingerprint@0.0.2(transitive)