@thi.ng/idgen
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -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 @@ |
@@ -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; |
{ | ||
"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 |
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
28749
262
Updated@thi.ng/api@^8.0.2
Updated@thi.ng/errors@^2.0.2