@thi.ng/hex
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 @@ |
@@ -8,3 +8,3 @@ /** | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -15,3 +15,3 @@ export declare const U4: (x: number) => string; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -29,3 +29,3 @@ export declare const U8: (x: number) => string; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -52,3 +52,3 @@ export declare const U16: (x: number) => string; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -75,3 +75,3 @@ export declare const U24: (x: number) => string; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -98,3 +98,3 @@ export declare const U32: (x: number) => string; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -133,3 +133,3 @@ export declare const U48: (x: number) => string; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -136,0 +136,0 @@ export declare const U64: (x: number) => string; |
14
index.js
@@ -9,3 +9,3 @@ const P32 = 0x100000000; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -16,3 +16,3 @@ export const U4 = (x) => HEX[x & 0xf]; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -30,3 +30,3 @@ export const U8 = (x) => HEX[(x >>> 4) & 0xf] + HEX[x & 0xf]; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -53,3 +53,3 @@ export const U16 = (x) => U8(x >>> 8) + U8(x & 0xff); | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -76,3 +76,3 @@ export const U24 = (x) => U8(x >>> 16) + U16(x); | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -99,3 +99,3 @@ export const U32 = (x) => U16(x >>> 16) + U16(x); | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -134,3 +134,3 @@ export const U48 = (x) => U48HL(x / P32, x % P32); | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -137,0 +137,0 @@ export const U64 = (x) => U64HL(x / P32, x % P32); |
{ | ||
"name": "@thi.ng/hex", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Hex string formatters for 4/8/16/24/32/48/64bit words", | ||
@@ -37,8 +37,8 @@ "type": "module", | ||
"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" | ||
}, | ||
@@ -73,3 +73,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n" | ||
"gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n" | ||
} |
@@ -58,3 +58,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
Package sizes (gzipped, pre-treeshake): ESM: 368 bytes | ||
Package sizes (gzipped, pre-treeshake): ESM: 370 bytes | ||
@@ -126,2 +126,2 @@ ## Dependencies | ||
© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0 | ||
© 2020 - 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
26608