@thi.ng/binary
Advanced tools
Comparing version 3.4.25 to 3.4.26
# Change Log | ||
- **Last updated**: 2024-05-08T18:24:31Z | ||
- **Last updated**: 2024-06-21T19:34:38Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
### [3.4.26](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@3.4.26) (2024-06-21) | ||
#### ♻️ Refactoring | ||
- enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2)) | ||
### [3.4.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@3.4.12) (2024-02-19) | ||
@@ -14,0 +20,0 @@ |
@@ -1,6 +0,6 @@ | ||
const defBits = (n) => new Array(n).fill(0).map((_, i) => 1 << n - 1 - i); | ||
const MSB_BITS8 = defBits(8); | ||
const MSB_BITS16 = defBits(16); | ||
const MSB_BITS32 = defBits(32); | ||
const MASKS = new Array(33).fill(0).map((_, i) => Math.pow(2, i) - 1); | ||
const __defBits = (n) => new Array(n).fill(0).map((_, i) => 1 << n - 1 - i); | ||
const MSB_BITS8 = __defBits(8); | ||
const MSB_BITS16 = __defBits(16); | ||
const MSB_BITS32 = __defBits(32); | ||
const MASKS = new Array(33).fill(0).map((_, i) => 2 ** i - 1); | ||
export { | ||
@@ -7,0 +7,0 @@ MASKS, |
{ | ||
"name": "@thi.ng/binary", | ||
"version": "3.4.25", | ||
"version": "3.4.26", | ||
"description": "100+ assorted binary / bitwise operations, conversions, utilities, lookup tables", | ||
@@ -13,3 +13,3 @@ "type": "module", | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/binary#readme", | ||
"homepage": "https://thi.ng/binary", | ||
"funding": [ | ||
@@ -40,9 +40,9 @@ { | ||
"dependencies": { | ||
"@thi.ng/api": "^8.11.2" | ||
"@thi.ng/api": "^8.11.3" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.43.2", | ||
"esbuild": "^0.21.1", | ||
"@microsoft/api-extractor": "^7.47.0", | ||
"esbuild": "^0.21.5", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.5.2" | ||
}, | ||
@@ -137,3 +137,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n" | ||
"gitHead": "154c95cf9d6bab32174498ec3b5b5d87e42be7f9\n" | ||
} |
@@ -10,3 +10,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
> [!NOTE] | ||
> This is one of 192 standalone projects, maintained as part | ||
> This is one of 193 standalone projects, maintained as part | ||
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo | ||
@@ -68,3 +68,3 @@ > and anti-framework. | ||
Package sizes (brotli'd, pre-treeshake): ESM: 2.18 KB | ||
Package sizes (brotli'd, pre-treeshake): ESM: 2.20 KB | ||
@@ -71,0 +71,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
54542
Updated@thi.ng/api@^8.11.3