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

@thi.ng/idgen

Package Overview
Dependencies
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/idgen - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/idgen@2.0.1...@thi.ng/idgen@2.0.2) (2021-10-15)
**Note:** Version bump only for package @thi.ng/idgen
## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/idgen@2.0.0...@thi.ng/idgen@2.0.1) (2021-10-13)

@@ -8,0 +16,0 @@

9

index.js

@@ -7,11 +7,2 @@ import { __decorate } from "tslib";

let IDGen = class IDGen {
ids;
nextID;
_freeID;
start;
num;
_capacity;
mask;
vmask;
shift;
constructor(bits = 32, vbits = 32 - bits, cap = 2 ** bits, start = 0) {

@@ -18,0 +9,0 @@ const maxCap = 2 ** bits;

10

package.json
{
"name": "@thi.ng/idgen",
"version": "2.0.1",
"version": "2.0.2",
"description": "Generator of opaque numeric identifiers with optional support for ID versioning and efficient re-use",

@@ -37,8 +37,8 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.0.1",
"@thi.ng/errors": "^2.0.1",
"@thi.ng/api": "^8.0.2",
"@thi.ng/errors": "^2.0.2",
"tslib": "^2.3.1"
},
"devDependencies": {
"@thi.ng/testament": "^0.1.1"
"@thi.ng/testament": "^0.1.2"
},

@@ -76,3 +76,3 @@ "keywords": [

},
"gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19"
"gitHead": "3c5f903104da150588946a94bb118ad559ad395d"
}

@@ -81,3 +81,3 @@ <!-- This file is generated - DO NOT EDIT! -->

Package sizes (gzipped, pre-treeshake): ESM: 897 bytes
Package sizes (gzipped, pre-treeshake): ESM: 874 bytes

@@ -84,0 +84,0 @@ ## Dependencies

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