Socket
Socket
Sign inDemoInstall

nuid

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.8 to 0.6.10

examples/nuid_test.js

26

index.d.ts

@@ -0,15 +1,15 @@

export const version: string;
declare class Nuid {
/**
* Resets the prefix of the global nuid, as well as the
* pseudo random sequence number and increment amounts.
*
* @returns {string}
*/
export function next(): string;
/**
* Resets the prefix of the global nuid, as well as the
* pseudo random sequence number and increment amounts.
*/
next():string;
/**
* Resets the prefix of the global nuid from random bytes, as
* well as the pseudo random sequence number and increment amounts.
*/
reset():void;
}
/**
* Resets the prefix of the global nuid from random bytes, as
* well as the pseudo random sequence number and increment amounts.
*/
export function reset(): void;

@@ -19,3 +19,3 @@ /*!

*/
var VERSION = '0.6.8',
var VERSION = '0.6.10',
digits = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ',

@@ -22,0 +22,0 @@ base = 36,

{
"name": "nuid",
"version": "0.6.8",
"version": "0.6.10",
"description": "NUID - A highly performant unique identifier generator.",

@@ -32,3 +32,4 @@ "keywords": [

"test": "npm run depcheck && npm run depcheck:unused && npm run lint && npm run test:unit",
"coveralls": "cat ./reports/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
"coveralls": "npm run cover -- --report lcovonly && cat ./reports/coverage/lcov.info | coveralls",
"cover": "istanbul cover _mocha"
},

@@ -35,0 +36,0 @@ "engines": {

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc