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

shortid

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shortid - npm Package Compare versions

Comparing version 1.0.9 to 2.0.0

.idea/codeStyleSettings.xml

4

examples/examples.js

@@ -1,2 +0,2 @@

var ShortId = require('../index');
var shortId = require('../shortid');

@@ -7,3 +7,3 @@ //Generate 10 ids

while (i--) {
console.log(ShortId.generate());
console.log(shortId.generate());
}
{
"name":"shortid",
"version":"1.0.9",
"description":"Amazingly short non-sequential url-friendly unique id generator.",
"keywords": ["short", "tiny", "id", "uuid", "bitly", "shorten", "mongoid", "shortid", "tinyid", "id"],
"homepage":"http://github.com/dylang/shortid",
"author":"Dylan Greene <dylang@gmail.com>",
"repository":
"name": "shortid",
"version": "2.0.0",
"description": "Amazingly short non-sequential url-friendly unique id generator.",
"keywords": [
"short",
"tiny",
"id",
"uuid",
"bitly",
"shorten",
"mongoid",
"shortid",
"tinyid"
],
"homepage": "http://github.com/dylang/shortid",
"author": "Dylan Greene <dylang@gmail.com>",
"repository": {
"type": "git",
"url": "http://github.com/dylang/shortid"
},
"bugs": {
"mail": "dylang@gmail.com",
"url": "http://github.com/dylang/shortid/issues"
},
"dependencies": {},
"devDependencies": {
"chai": "~1.7.2",
"mocha": "~1.12.0"
},
"main": "shortid.js",
"engines": {
"node": ">=0.8.x"
},
"scripts": {
"test": "./node_modules/.bin/mocha --reporter spec"
},
"licenses": [
{
"type": "git",
"url": "http://github.com/dylang/shortid"
},
"bugs":
{
"mail": "dylang@gmail.com",
"url": "http://github.com/dylang/shortid/issues"
},
"dependencies":{
},
"devDependencies":{
"logging":"*",
"mocha":"*"
},
"main":"index",
"engines":{
"node":">=0.4.x"
},
"licenses" :
[
{ "type" : "MIT", "url" : "http://github.com/isaacs/npm/raw/master/LICENSE" }
]
}
"type": "MIT",
"url": "https://raw.github.com/dylang/shortid/master/LICENSE"
}
]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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