@thi.ng/errors 2.2.4 → 2.2.6

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
- # ![errors](https://media.thi.ng/umbrella/banners-20220914/thing-errors.svg?e0537a6e)
3
+ # ![@thi.ng/errors](https://media.thi.ng/umbrella/banners-20220914/thing-errors.svg?e0537a6e)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/errors.svg)](https://www.npmjs.com/package/@thi.ng/errors)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/errors.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.
@@ -20,7 +20,7 @@ This project is part of the
20
20
 
21
21
  ## About
22
22
 
23
- Custom error types and error factory functions.
23
+ Custom error types and error factory functions
24
24
 
25
25
  This package defines the following error types & helper functions to throw them:
26
26
 
@@ -56,14 +56,11 @@ ES module import:
56
56
 
57
57
  For Node.js REPL:
58
58
 
59
- ```text
60
- # with flag only for < v16
61
- node --experimental-repl-await
62
-
63
- > const errors = await import("@thi.ng/errors");
59
+ ```js
60
+ const errors = await import("@thi.ng/errors");
64
61
  ```
65
62
 
66
- Package sizes (gzipped, pre-treeshake): ESM: 585 bytes
63
+ Package sizes (brotli'd, pre-treeshake): ESM: 502 bytes
67
64
 
68
65
  ## Dependencies
69
66
 
@@ -114,7 +111,7 @@ i.e. if `process.env.NODE_ENV === "production"`.
114
111
 
115
112
  ## Authors
116
113
 
117
- Karsten Schmidt
114
+ - [Karsten Schmidt](https://thi.ng)
118
115
 
119
116
  If this project contributes to an academic publication, please cite it as:
120
117
 
@@ -129,4 +126,4 @@ If this project contributes to an academic publication, please cite it as:
129
126
 
130
127
  ## License
131
128
 
132
- &copy; 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
129
+ &copy; 2018 - 2022 Karsten Schmidt // Apache License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/errors",
3
- "version": "2.2.4",
3
+ "version": "2.2.6",
4
4
  "description": "Custom error types and error factory functions",
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,13 +34,13 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "devDependencies": {
37
- "@microsoft/api-extractor": "^7.33.5",
38
- "@thi.ng/testament": "^0.3.5",
39
- "@types/node": "^18.11.9",
37
+ "@microsoft/api-extractor": "^7.33.7",
38
+ "@thi.ng/testament": "^0.3.7",
39
+ "@types/node": "^18.11.13",
40
40
  "rimraf": "^3.0.2",
41
41
  "tools": "^0.0.1",
42
- "typedoc": "^0.23.20",
43
- "typescript": "^4.8.4"
42
+ "typedoc": "^0.23.22",
43
+ "typescript": "^4.9.4"
44
44
  },
45
45
  "keywords": [
46
46
  "assert",
@@ -93,5 +93,5 @@
93
93
  "thi.ng": {
94
94
  "year": 2018
95
95
  },
96
- "gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
96
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
97
97
  }