unique-string
Advanced tools
Comparing version 1.0.0 to 2.0.0
{ | ||
"name": "unique-string", | ||
"version": "1.0.0", | ||
"description": "Generate a unique random string", | ||
"license": "MIT", | ||
"repository": "sindresorhus/unique-string", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"keywords": [ | ||
"unique", | ||
"string", | ||
"random", | ||
"uniq", | ||
"str", | ||
"rand", | ||
"text", | ||
"id", | ||
"identifier", | ||
"slug", | ||
"hex" | ||
], | ||
"dependencies": { | ||
"crypto-random-string": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "*", | ||
"xo": "*" | ||
}, | ||
"xo": { | ||
"esnext": true | ||
} | ||
"name": "unique-string", | ||
"version": "2.0.0", | ||
"description": "Generate a unique random string", | ||
"license": "MIT", | ||
"repository": "sindresorhus/unique-string", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava && tsd" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
"keywords": [ | ||
"unique", | ||
"string", | ||
"random", | ||
"text", | ||
"id", | ||
"identifier", | ||
"slug", | ||
"hex" | ||
], | ||
"dependencies": { | ||
"crypto-random-string": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^1.4.1", | ||
"tsd": "^0.7.2", | ||
"xo": "^0.24.0" | ||
} | ||
} |
@@ -9,3 +9,3 @@ # unique-string [![Build Status](https://travis-ci.org/sindresorhus/unique-string.svg?branch=master)](https://travis-ci.org/sindresorhus/unique-string) | ||
``` | ||
$ npm install --save unique-string | ||
$ npm install unique-string | ||
``` | ||
@@ -28,3 +28,3 @@ | ||
Returns a 32 character unique string. Matches the length of MD5, which is [unique enough](http://stackoverflow.com/a/2444336/64949) for non-crypto purposes. | ||
Returns a 32 character unique string. Matches the length of MD5, which is [unique enough](https://stackoverflow.com/a/2444336/64949) for non-crypto purposes. | ||
@@ -31,0 +31,0 @@ |
Sorry, the diff of this file is not supported yet
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2880
5
15
0
3
+ Addedcrypto-random-string@2.0.0(transitive)
- Removedcrypto-random-string@1.0.0(transitive)
Updatedcrypto-random-string@^2.0.0