@tryghost/errors 1.3.10 → 1.3.12

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 (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +3 -4
package/README.md CHANGED
@@ -9,6 +9,10 @@ or
9
9
  `yarn add @tryghost/errors`
10
10
 
11
11
 
12
+ ## Purpose
13
+
14
+ Shared Ghost error classes and utilities for typed errors, context propagation, and safe stack formatting.
15
+
12
16
  ## Usage
13
17
 
14
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/errors",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/framework.git",
@@ -21,7 +21,7 @@
21
21
  "build:cjs": "esbuild src/*.ts --target=es2020 --outdir=cjs --format=cjs",
22
22
  "build:es": "esbuild src/*.ts --target=es2020 --outdir=es --format=esm",
23
23
  "build:types": "tsc --emitDeclarationOnly --declaration --declarationMap --outDir types",
24
- "test": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NODE_ENV=testing c8 --check-coverage --all -n src --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
24
+ "test": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NODE_ENV=testing c8 --check-coverage --100 --all -n src --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
25
25
  "lint": "eslint . --ext .js --cache",
26
26
  "posttest": "yarn lint"
27
27
  },
@@ -39,10 +39,9 @@
39
39
  "@types/mocha": "^10.0.3",
40
40
  "@types/uuid": "^9.0.6",
41
41
  "c8": "10.1.3",
42
- "esbuild": "^0.25.0",
42
+ "esbuild": "^0.27.0",
43
43
  "lodash": "^4.17.21",
44
44
  "mocha": "11.7.5",
45
- "should": "13.2.3",
46
45
  "ts-node": "^10.9.1",
47
46
  "typescript": "5.9.3"
48
47
  },