@simbo/user-facing-error 2.0.1 → 3.1.0
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 +46 -0
- package/README.md +1 -1
- package/package.json +17 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# @simbo/user-facing-error
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 209dc05: Support browsers in addition to Node.js.
|
|
8
|
+
|
|
9
|
+
- The packages declare the shared Browserslist configuration
|
|
10
|
+
`@simbo/browserslist-config` next to `engines`.
|
|
11
|
+
- They are built and linted with the `universal` configurations of
|
|
12
|
+
`@simbo/tsconfig` and `@simbo/eslint-config`, which reject Node.js and DOM
|
|
13
|
+
APIs.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 209dc05: Declare the packages free of side effects with
|
|
18
|
+
`"sideEffects": false`, so bundlers can drop unused modules.
|
|
19
|
+
- Updated dependencies [209dc05]
|
|
20
|
+
- Updated dependencies [209dc05]
|
|
21
|
+
- @simbo/stringify-error@3.1.0
|
|
22
|
+
|
|
23
|
+
## 3.0.0
|
|
24
|
+
|
|
25
|
+
### Major Changes
|
|
26
|
+
|
|
27
|
+
- 19c8dc1: Require Node.js ^24.15.0 || >=26.0.0 across all packages, as Node.js
|
|
28
|
+
22 reaches its end of life on 2027-04-30.
|
|
29
|
+
|
|
30
|
+
- Remove `^22.22.2` from `engines.node` in every package.
|
|
31
|
+
- Update the requirements in the package READMEs.
|
|
32
|
+
|
|
33
|
+
Node.js 22 is no longer supported. Upgrade to Node.js ^24.15.0 or >=26.0.0
|
|
34
|
+
before updating these packages.
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- 19c8dc1: Point the `repository` field of the manifest to the workspace folder.
|
|
39
|
+
|
|
40
|
+
- `repository` uses the object form with `type`, `url`, and `directory`, so
|
|
41
|
+
npm links the package folder and resolves relative links in the README from
|
|
42
|
+
there.
|
|
43
|
+
- `packages-changelog` gets the field for the first time.
|
|
44
|
+
|
|
45
|
+
- Updated dependencies [19c8dc1]
|
|
46
|
+
- Updated dependencies [19c8dc1]
|
|
47
|
+
- @simbo/stringify-error@3.0.0
|
|
48
|
+
|
|
3
49
|
## 2.0.1
|
|
4
50
|
|
|
5
51
|
### Patch Changes
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simbo/user-facing-error",
|
|
3
3
|
"description": "A custom Error class for creating user-facing error messages with an optional hint to guide users toward resolving issues.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"error",
|
|
7
7
|
"error-handling",
|
|
@@ -20,13 +20,18 @@
|
|
|
20
20
|
"homepage": "https://github.com/simbo/packages/tree/main/packages/user-facing-error",
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "github
|
|
23
|
+
"url": "git+https://github.com/simbo/packages.git",
|
|
24
|
+
"directory": "packages/user-facing-error"
|
|
24
25
|
},
|
|
25
26
|
"bugs": "https://github.com/simbo/packages/issues",
|
|
26
27
|
"engines": {
|
|
27
|
-
"node": "^
|
|
28
|
+
"node": "^24.15.0 || >=26.0.0"
|
|
28
29
|
},
|
|
30
|
+
"browserslist": [
|
|
31
|
+
"extends @simbo/browserslist-config"
|
|
32
|
+
],
|
|
29
33
|
"type": "module",
|
|
34
|
+
"sideEffects": false,
|
|
30
35
|
"exports": {
|
|
31
36
|
".": "./dist/index.js"
|
|
32
37
|
},
|
|
@@ -37,23 +42,25 @@
|
|
|
37
42
|
"README.md"
|
|
38
43
|
],
|
|
39
44
|
"dependencies": {
|
|
40
|
-
"@simbo/stringify-error": "
|
|
45
|
+
"@simbo/stringify-error": "3.1.0"
|
|
41
46
|
},
|
|
42
47
|
"devDependencies": {
|
|
43
|
-
"@simbo/
|
|
44
|
-
"@simbo/
|
|
48
|
+
"@simbo/browserslist-config": "1.0.1",
|
|
49
|
+
"@simbo/eslint-config": "5.1.0",
|
|
50
|
+
"@simbo/tsconfig": "4.0.0",
|
|
45
51
|
"@types/node": "^24.19.2",
|
|
46
|
-
"@vitest/coverage-v8": "^5.1.
|
|
47
|
-
"@vitest/ui": "^5.1.
|
|
48
|
-
"eslint": "^10.
|
|
52
|
+
"@vitest/coverage-v8": "^5.1.1",
|
|
53
|
+
"@vitest/ui": "^5.1.1",
|
|
54
|
+
"eslint": "^10.15.0",
|
|
49
55
|
"jiti": "^2.7.0",
|
|
50
56
|
"typescript": "^6.0.3",
|
|
51
|
-
"vitest": "^5.1.
|
|
57
|
+
"vitest": "^5.1.1"
|
|
52
58
|
},
|
|
53
59
|
"scripts": {
|
|
54
60
|
"build": "tsc --project tsconfig.build.json",
|
|
55
61
|
"check": "pnpm run check:eslint && pnpm run check:types",
|
|
56
62
|
"check:eslint": "eslint --config ./eslint.config.ts --max-warnings 0",
|
|
63
|
+
"check:pack": "node ../../scripts/check-pack.js",
|
|
57
64
|
"check:types": "tsc --noEmit",
|
|
58
65
|
"clean": "pnpm run clean:dist && pnpm run clean:coverage && pnpm run clean:turbo && pnpm run clean:node_modules",
|
|
59
66
|
"clean:dist": "rm -rf dist",
|