@thi.ng/leb128 3.0.84 → 3.0.86

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-03-27T09:53:45Z
3
+ - **Last updated**: 2024-04-08T14:59:29Z
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
@@ -7,7 +7,7 @@
7
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
  > [!NOTE]
10
- > This is one of 190 standalone projects, maintained as part
10
+ > This is one of 191 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -65,7 +65,13 @@ Furthermore, all values to be encoded/decoded are cast to i64/u64 range now.
65
65
  yarn add @thi.ng/leb128
66
66
  ```
67
67
 
68
- ES module import:
68
+ ESM import:
69
+
70
+ ```ts
71
+ import * as leb from "@thi.ng/leb128";
72
+ ```
73
+
74
+ Browser ESM import:
69
75
 
70
76
  ```html
71
77
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/leb128"></script>
@@ -76,7 +82,7 @@ ES module import:
76
82
  For Node.js REPL:
77
83
 
78
84
  ```js
79
- const leb128 = await import("@thi.ng/leb128");
85
+ const leb = await import("@thi.ng/leb128");
80
86
  ```
81
87
 
82
88
  Package sizes (brotli'd, pre-treeshake): ESM: 880 bytes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/leb128",
3
- "version": "3.0.84",
3
+ "version": "3.0.86",
4
4
  "description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,9 +37,9 @@
37
37
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/checks": "^3.5.5",
41
- "@thi.ng/errors": "^2.5.2",
42
- "@thi.ng/transducers-binary": "^2.1.113"
40
+ "@thi.ng/checks": "^3.6.0",
41
+ "@thi.ng/errors": "^2.5.3",
42
+ "@thi.ng/transducers-binary": "^2.1.115"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@microsoft/api-extractor": "^7.43.0",
@@ -79,7 +79,8 @@
79
79
  }
80
80
  },
81
81
  "thi.ng": {
82
+ "alias": "leb",
82
83
  "year": 2019
83
84
  },
84
- "gitHead": "db5f5a5d1b223a8e6b4999d67836678038fd3560\n"
85
+ "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
85
86
  }