@thi.ng/idgen
Advanced tools
Comparing version 2.1.33 to 2.1.34
# Change Log | ||
- **Last updated**: 2023-05-11T12:16:33Z | ||
- **Last updated**: 2023-06-14T07:58:51Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
@@ -6,3 +6,3 @@ import { __decorate } from "tslib"; | ||
export const EVENT_REMOVED = "removed"; | ||
let IDGen = class IDGen { | ||
export let IDGen = class IDGen { | ||
constructor(bits = 32, vbits = 32 - bits, cap = 2 ** bits, start = 0) { | ||
@@ -157,3 +157,2 @@ const maxCap = 2 ** bits; | ||
], IDGen); | ||
export { IDGen }; | ||
/** | ||
@@ -160,0 +159,0 @@ * Returns a new {@link IDGen} instance configured to use given counter & |
{ | ||
"name": "@thi.ng/idgen", | ||
"version": "2.1.33", | ||
"version": "2.1.34", | ||
"description": "Generator of opaque numeric identifiers with optional support for ID versioning and efficient re-use", | ||
@@ -37,13 +37,13 @@ "type": "module", | ||
"dependencies": { | ||
"@thi.ng/api": "^8.8.1", | ||
"@thi.ng/errors": "^2.2.16", | ||
"tslib": "^2.5.0" | ||
"@thi.ng/api": "^8.8.2", | ||
"@thi.ng/errors": "^2.2.17", | ||
"tslib": "^2.5.3" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.34.8", | ||
"@thi.ng/testament": "^0.3.16", | ||
"rimraf": "^5.0.0", | ||
"@microsoft/api-extractor": "^7.35.3", | ||
"@thi.ng/testament": "^0.3.17", | ||
"rimraf": "^5.0.1", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.24.6", | ||
"typescript": "^5.0.4" | ||
"typedoc": "^0.24.8", | ||
"typescript": "^5.1.3" | ||
}, | ||
@@ -81,3 +81,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "20ab11b687a13228f6a8cecdc5f05ba9105122ea\n" | ||
"gitHead": "54e825a976c72067a244cff8725ca98f5416d26d\n" | ||
} |
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
30310
261
Updated@thi.ng/api@^8.8.2
Updated@thi.ng/errors@^2.2.17
Updatedtslib@^2.5.3