@thi.ng/bencode 2.1.31 → 2.1.33

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +7 -10
  3. package/package.json +13 -13
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
- # ![bencode](https://media.thi.ng/umbrella/banners-20220914/thing-bencode.svg?772c96a2)
3
+ # ![@thi.ng/bencode](https://media.thi.ng/umbrella/banners-20220914/thing-bencode.svg?772c96a2)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/bencode.svg)](https://www.npmjs.com/package/@thi.ng/bencode)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/bencode.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.
@@ -71,14 +71,11 @@ ES module import:
71
71
 
72
72
  For Node.js REPL:
73
73
 
74
- ```text
75
- # with flag only for < v16
76
- node --experimental-repl-await
77
-
78
- > const bencode = await import("@thi.ng/bencode");
74
+ ```js
75
+ const bencode = await import("@thi.ng/bencode");
79
76
  ```
80
77
 
81
- Package sizes (gzipped, pre-treeshake): ESM: 1.30 KB
78
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.18 KB
82
79
 
83
80
  ## Dependencies
84
81
 
@@ -121,7 +118,7 @@ decode(bytes, false)
121
118
 
122
119
  ## Authors
123
120
 
124
- Karsten Schmidt
121
+ - [Karsten Schmidt](https://thi.ng)
125
122
 
126
123
  If this project contributes to an academic publication, please cite it as:
127
124
 
@@ -136,4 +133,4 @@ If this project contributes to an academic publication, please cite it as:
136
133
 
137
134
  ## License
138
135
 
139
- &copy; 2016 - 2022 Karsten Schmidt // Apache Software License 2.0
136
+ &copy; 2016 - 2022 Karsten Schmidt // Apache License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/bencode",
3
- "version": "2.1.31",
3
+ "version": "2.1.33",
4
4
  "description": "Bencode binary encoder / decoder with optional UTF8 encoding & floating point support",
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,20 +34,20 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/arrays": "^2.4.3",
38
- "@thi.ng/checks": "^3.3.3",
39
- "@thi.ng/defmulti": "^2.1.22",
40
- "@thi.ng/errors": "^2.2.4",
41
- "@thi.ng/transducers": "^8.3.24",
42
- "@thi.ng/transducers-binary": "^2.1.29"
37
+ "@thi.ng/arrays": "^2.4.5",
38
+ "@thi.ng/checks": "^3.3.5",
39
+ "@thi.ng/defmulti": "^2.1.24",
40
+ "@thi.ng/errors": "^2.2.6",
41
+ "@thi.ng/transducers": "^8.3.26",
42
+ "@thi.ng/transducers-binary": "^2.1.31"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.33.5",
46
- "@thi.ng/testament": "^0.3.5",
45
+ "@microsoft/api-extractor": "^7.33.7",
46
+ "@thi.ng/testament": "^0.3.7",
47
47
  "rimraf": "^3.0.2",
48
48
  "tools": "^0.0.1",
49
- "typedoc": "^0.23.20",
50
- "typescript": "^4.8.4"
49
+ "typedoc": "^0.23.22",
50
+ "typescript": "^4.9.4"
51
51
  },
52
52
  "keywords": [
53
53
  "array",
@@ -79,5 +79,5 @@
79
79
  "default": "./encode.js"
80
80
  }
81
81
  },
82
- "gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
82
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
83
83
  }