@thi.ng/binary 3.4.12 → 3.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-19T15:50:26Z
3
+ - **Last updated**: 2024-02-22T11:59:16Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
19
19
 
20
20
  > [!NOTE]
21
- > This is one of 189 standalone projects, maintained as part
21
+ > This is one of 190 standalone projects, maintained as part
22
22
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
23
23
  > and anti-framework.
24
24
  >
@@ -69,7 +69,7 @@ For Node.js REPL:
69
69
  const binary = await import("@thi.ng/binary");
70
70
  ```
71
71
 
72
- Package sizes (brotli'd, pre-treeshake): ESM: 2.20 KB
72
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.18 KB
73
73
 
74
74
  ## Dependencies
75
75
 
package/float.js CHANGED
@@ -19,7 +19,7 @@ const uintBitsToFloat64 = (hi, lo) => {
19
19
  return F64[0];
20
20
  };
21
21
  const floatToSortableInt = (x) => {
22
- if (x === -0)
22
+ if (x === 0)
23
23
  return 0;
24
24
  const i = floatToIntBits(x);
25
25
  return x < 0 ? ~i | 1 << 31 : i;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/binary",
3
- "version": "3.4.12",
3
+ "version": "3.4.14",
4
4
  "description": "100+ assorted binary / bitwise operations, conversions, utilities, lookup tables",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,7 +35,7 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.23"
38
+ "@thi.ng/api": "^8.9.25"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.40.1",
@@ -132,5 +132,5 @@
132
132
  "transducers-binary"
133
133
  ]
134
134
  },
135
- "gitHead": "ea2ec2e4f14c572bbfac00c43953a6c4033da09e\n"
135
+ "gitHead": "4513a1c703bdbf0f0867f03e547e47692e415fac\n"
136
136
  }