@thi.ng/binary 3.3.11 → 3.3.13

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**: 2022-11-23T22:46:54Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![binary](https://media.thi.ng/umbrella/banners-20220914/thing-binary.svg?4db523c5)
3
+ # ![@thi.ng/binary](https://media.thi.ng/umbrella/banners-20220914/thing-binary.svg?4db523c5)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/binary.svg)](https://www.npmjs.com/package/@thi.ng/binary)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/binary.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -21,7 +21,7 @@ This project is part of the
21
21
 
22
22
  ## About
23
23
 
24
- 100+ assorted binary / bitwise operations, conversions, utilities, lookup tables.
24
+ 100+ assorted binary / bitwise operations, conversions, utilities, lookup tables
25
25
 
26
26
  ## Status
27
27
 
@@ -49,14 +49,11 @@ ES module import:
49
49
 
50
50
  For Node.js REPL:
51
51
 
52
- ```text
53
- # with flag only for < v16
54
- node --experimental-repl-await
55
-
56
- > const binary = await import("@thi.ng/binary");
52
+ ```js
53
+ const binary = await import("@thi.ng/binary");
57
54
  ```
58
55
 
59
- Package sizes (gzipped, pre-treeshake): ESM: 2.25 KB
56
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.08 KB
60
57
 
61
58
  ## Dependencies
62
59
 
@@ -82,7 +79,7 @@ TODO
82
79
 
83
80
  ## Authors
84
81
 
85
- Karsten Schmidt
82
+ - [Karsten Schmidt](https://thi.ng)
86
83
 
87
84
  If this project contributes to an academic publication, please cite it as:
88
85
 
@@ -97,4 +94,4 @@ If this project contributes to an academic publication, please cite it as:
97
94
 
98
95
  ## License
99
96
 
100
- &copy; 2016 - 2022 Karsten Schmidt // Apache Software License 2.0
97
+ &copy; 2016 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export declare type Lane16 = 0 | 1;
2
- export declare type Lane8 = 0 | 1 | 2 | 3;
3
- export declare type Lane4 = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
4
- export declare type Lane2 = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
5
- export declare type Bit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
6
- export declare type Pow2 = 0x1 | 0x2 | 0x4 | 0x8 | 0x10 | 0x20 | 0x40 | 0x80 | 0x100 | 0x200 | 0x400 | 0x800 | 0x1000 | 0x2000 | 0x4000 | 0x8000 | 0x10000 | 0x20000 | 0x40000 | 0x80000 | 0x100000 | 0x200000 | 0x400000 | 0x800000 | 0x1000000 | 0x2000000 | 0x4000000 | 0x8000000 | 0x10000000 | 0x20000000 | 0x40000000 | 0x80000000;
1
+ export type Lane16 = 0 | 1;
2
+ export type Lane8 = 0 | 1 | 2 | 3;
3
+ export type Lane4 = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
4
+ export type Lane2 = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
5
+ export type Bit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
6
+ export type Pow2 = 0x1 | 0x2 | 0x4 | 0x8 | 0x10 | 0x20 | 0x40 | 0x80 | 0x100 | 0x200 | 0x400 | 0x800 | 0x1000 | 0x2000 | 0x4000 | 0x8000 | 0x10000 | 0x20000 | 0x40000 | 0x80000 | 0x100000 | 0x200000 | 0x400000 | 0x800000 | 0x1000000 | 0x2000000 | 0x4000000 | 0x8000000 | 0x10000000 | 0x20000000 | 0x40000000 | 0x80000000;
7
7
  //# sourceMappingURL=api.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/binary",
3
- "version": "3.3.11",
3
+ "version": "3.3.13",
4
4
  "description": "100+ assorted binary / bitwise operations, conversions, utilities, lookup tables",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,15 +34,15 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.5.0"
37
+ "@thi.ng/api": "^8.6.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@microsoft/api-extractor": "^7.33.5",
41
- "@thi.ng/testament": "^0.3.5",
40
+ "@microsoft/api-extractor": "^7.33.7",
41
+ "@thi.ng/testament": "^0.3.7",
42
42
  "rimraf": "^3.0.2",
43
43
  "tools": "^0.0.1",
44
- "typedoc": "^0.23.20",
45
- "typescript": "^4.8.4"
44
+ "typedoc": "^0.23.22",
45
+ "typescript": "^4.9.4"
46
46
  },
47
47
  "keywords": [
48
48
  "align",
@@ -129,5 +129,5 @@
129
129
  "transducers-binary"
130
130
  ]
131
131
  },
132
- "gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
132
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
133
133
  }