Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cuid

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cuid - npm Package Compare versions

Comparing version 1.3.8 to 2.0.1

dist/cuid.js

66

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