Socket
Socket
Sign inDemoInstall

ksuid

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ksuid - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

1

index.d.ts

@@ -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()

10

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

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