@thi.ng/errors 2.5.33 → 2.5.34

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**: 2025-04-30T12:52:32Z
3
+ - **Last updated**: 2025-05-28T12:02:39Z
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
@@ -7,7 +7,7 @@
7
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
  > [!NOTE]
10
- > This is one of 206 standalone projects, maintained as part
10
+ > This is one of 208 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
  >
package/assert.d.ts CHANGED
@@ -7,7 +7,7 @@ export declare const AssertionError: {
7
7
  cause?: unknown;
8
8
  };
9
9
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
10
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
10
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
11
11
  stackTraceLimit: number;
12
12
  };
13
13
  /**
package/deferror.d.ts CHANGED
@@ -24,7 +24,7 @@ export declare const defError: <T = string>(prefix: (msg?: T) => string, suffix?
24
24
  cause?: unknown;
25
25
  };
26
26
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
27
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
27
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
28
28
  stackTraceLimit: number;
29
29
  };
30
30
  //# sourceMappingURL=deferror.d.ts.map
@@ -7,7 +7,7 @@ export declare const IllegalArgumentError: {
7
7
  cause?: unknown;
8
8
  };
9
9
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
10
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
10
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
11
11
  stackTraceLimit: number;
12
12
  };
13
13
  export declare const illegalArgs: (msg?: any) => never;
@@ -7,7 +7,7 @@ export declare const IllegalArityError: {
7
7
  cause?: unknown;
8
8
  };
9
9
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
10
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
10
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
11
11
  stackTraceLimit: number;
12
12
  };
13
13
  export declare const illegalArity: (n: number) => never;
@@ -7,7 +7,7 @@ export declare const IllegalStateError: {
7
7
  cause?: unknown;
8
8
  };
9
9
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
10
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
10
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
11
11
  stackTraceLimit: number;
12
12
  };
13
13
  export declare const illegalState: (msg?: any) => never;
package/io.d.ts CHANGED
@@ -7,7 +7,7 @@ export declare const IOError: {
7
7
  cause?: unknown;
8
8
  };
9
9
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
10
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
10
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
11
11
  stackTraceLimit: number;
12
12
  };
13
13
  export declare const ioerror: (msg?: any) => never;
@@ -20,7 +20,7 @@ export declare const FileNotFoundError: {
20
20
  cause?: unknown;
21
21
  };
22
22
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
23
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
23
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
24
24
  stackTraceLimit: number;
25
25
  };
26
26
  export declare const fileNotFound: (path: string) => never;
@@ -7,7 +7,7 @@ export declare const OutOfBoundsError: {
7
7
  cause?: unknown;
8
8
  };
9
9
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
10
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
10
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
11
11
  stackTraceLimit: number;
12
12
  };
13
13
  export declare const outOfBounds: (index: any) => never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/errors",
3
- "version": "2.5.33",
3
+ "version": "2.5.34",
4
4
  "description": "Custom error types and error factory functions",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,9 +39,9 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^22.15.3",
43
- "esbuild": "^0.25.3",
44
- "typedoc": "^0.28.3",
42
+ "@types/node": "^22.15.21",
43
+ "esbuild": "^0.25.5",
44
+ "typedoc": "^0.28.5",
45
45
  "typescript": "^5.8.3"
46
46
  },
47
47
  "keywords": [
@@ -99,5 +99,5 @@
99
99
  "alias": "err",
100
100
  "year": 2018
101
101
  },
102
- "gitHead": "4354686a6fb1f82c09ea48f92f87786191b231a0\n"
102
+ "gitHead": "61c3833b7ef7d044621454b5ea4af885d39f065e\n"
103
103
  }
package/unsupported.d.ts CHANGED
@@ -7,7 +7,7 @@ export declare const UnsupportedOperationError: {
7
7
  cause?: unknown;
8
8
  };
9
9
  captureStackTrace(targetObject: object, constructorOpt?: Function): void;
10
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
10
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
11
11
  stackTraceLimit: number;
12
12
  };
13
13
  export declare const unsupported: (msg?: any) => never;