@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 +1 -1
- package/README.md +9 -3
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
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
|
-
|
|
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
|
|
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.
|
|
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.
|
|
41
|
-
"@thi.ng/errors": "^2.5.
|
|
42
|
-
"@thi.ng/transducers-binary": "^2.1.
|
|
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": "
|
|
85
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
85
86
|
}
|