Comparing version 2.0.0 to 3.0.0
@@ -12,2 +12,3 @@ /// <reference types="node" /> | ||
toString(): string; | ||
toJSON(): string; | ||
static random(): Promise<KSUID>; | ||
@@ -14,0 +15,0 @@ static random(timeInMs: number): Promise<KSUID>; |
@@ -98,2 +98,6 @@ 'use strict' | ||
toJSON () { | ||
return this.string | ||
} | ||
[customInspectSymbol] () { | ||
@@ -100,0 +104,0 @@ return this.toString() |
{ | ||
"name": "ksuid", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Node.js implementation of K-Sortable Globally Unique IDs", | ||
"engine": { | ||
"node": ">=10 <11 || >=12 <13 || >=14" | ||
"node": ">=12 <13 || >=14 <15 || >=16" | ||
}, | ||
@@ -36,5 +36,5 @@ "main": "index.js", | ||
"@sinonjs/fake-timers": "^6.0.1", | ||
"@types/node": "^10.17.28", | ||
"ava": "^3.11.1", | ||
"c8": "^7.3.0", | ||
"@types/node": "^12.20.36", | ||
"ava": "^3.15.0", | ||
"c8": "^7.10.0", | ||
"standard": "^14.3.4", | ||
@@ -41,0 +41,0 @@ "tsd": "^0.13.1" |
# ksuid | ||
A Node.js implementation of [Segment's KSUID library](https://github.com/segmentio/ksuid). Supports Node.js 10, 12, 14 and newer. | ||
A Node.js implementation of [Segment's KSUID library](https://github.com/segmentio/ksuid). | ||
@@ -5,0 +5,0 @@ You may also be interested in [`ksuid-cli`](https://www.npmjs.com/package/ksuid-cli). |
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
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
11478
161