Socket
Socket
Sign inDemoInstall

@thi.ng/hex

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/hex - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

2

CHANGELOG.md
# 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;

@@ -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

&copy; 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
&copy; 2020 - 2022 Karsten Schmidt // Apache Software License 2.0
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc