@thi.ng/idgen
Advanced tools
Comparing version 2.1.3 to 2.1.4
# Change Log | ||
- **Last updated**: 2021-12-13T10:26:00Z | ||
- **Last updated**: 2022-03-11T12:13:49Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
@@ -18,3 +18,3 @@ import type { Event, IClear, INotify, Listener } from "@thi.ng/api"; | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -25,3 +25,3 @@ id(id: number): number; | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -62,3 +62,3 @@ version(id: number): number; | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -69,3 +69,3 @@ free(id: number): boolean; | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -90,8 +90,8 @@ has(id: number): boolean; | ||
* | ||
* @param bits | ||
* @param vbits | ||
* @param cap | ||
* @param start | ||
* @param bits - | ||
* @param vbits - | ||
* @param cap - | ||
* @param start - | ||
*/ | ||
export declare const idgen: (bits: number, vbits?: number | undefined, cap?: number | undefined, start?: number | undefined) => IDGen; | ||
//# sourceMappingURL=index.d.ts.map |
16
index.js
@@ -24,3 +24,3 @@ import { __decorate } from "tslib"; | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -33,3 +33,3 @@ id(id) { | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -120,3 +120,3 @@ version(id) { | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -135,3 +135,3 @@ free(id) { | ||
* | ||
* @param id | ||
* @param id - | ||
*/ | ||
@@ -170,7 +170,7 @@ has(id) { | ||
* | ||
* @param bits | ||
* @param vbits | ||
* @param cap | ||
* @param start | ||
* @param bits - | ||
* @param vbits - | ||
* @param cap - | ||
* @param start - | ||
*/ | ||
export const idgen = (bits, vbits, cap, start) => new IDGen(bits, vbits, cap, start); |
{ | ||
"name": "@thi.ng/idgen", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"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.3.3", | ||
"@thi.ng/errors": "^2.1.3", | ||
"@thi.ng/api": "^8.3.4", | ||
"@thi.ng/errors": "^2.1.4", | ||
"tslib": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.19.2", | ||
"@thi.ng/testament": "^0.2.3", | ||
"@microsoft/api-extractor": "^7.19.4", | ||
"@thi.ng/testament": "^0.2.4", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.22.10", | ||
"typescript": "^4.5.3" | ||
"typedoc": "^0.22.13", | ||
"typescript": "^4.6.2" | ||
}, | ||
@@ -81,3 +81,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n" | ||
"gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n" | ||
} |
@@ -207,2 +207,2 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
© 2019 - 2021 Karsten Schmidt // Apache Software License 2.0 | ||
© 2019 - 2022 Karsten Schmidt // Apache Software License 2.0 |
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
30184
Updated@thi.ng/api@^8.3.4
Updated@thi.ng/errors@^2.1.4