@jakubmazanec/error 3.0.4 → 3.0.5-unstable.528161f

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/build/main.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { UNKNOWN_ERROR } from './constants.js';
2
2
  export * from './createCustomError.js';
3
3
  export * from './createCustomErrorWithData.js';
4
- export * from './types.js';
4
+ export type * from './types.js';
package/build/main.js CHANGED
@@ -2,5 +2,4 @@
2
2
  export { UNKNOWN_ERROR } from "./constants.js";
3
3
  export * from "./createCustomError.js";
4
4
  export * from "./createCustomErrorWithData.js";
5
- export * from "./types.js";
6
5
  //# sourceMappingURL=main.js.map
package/build/main.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../source/main.ts"],
4
- "sourcesContent": ["export {UNKNOWN_ERROR} from './constants.js';\nexport * from './createCustomError.js';\nexport * from './createCustomErrorWithData.js';\nexport * from './types.js';\n"],
5
- "mappings": ";AAAA,SAAQ,qBAAoB;AAC5B,cAAc;AACd,cAAc;AACd,cAAc;",
4
+ "sourcesContent": ["export {UNKNOWN_ERROR} from './constants.js';\nexport * from './createCustomError.js';\nexport * from './createCustomErrorWithData.js';\nexport type * from './types.js';\n"],
5
+ "mappings": ";AAAA,SAAQ,qBAAoB;AAC5B,cAAc;AACd,cAAc;",
6
6
  "names": []
7
7
  }
package/build/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './types/CustomError.js';
2
- export * from './types/CustomErrorOptions.js';
3
- export * from './types/CustomErrorWithData.js';
4
- export * from './types/CustomErrorWithDataOptions.js';
5
- export * from './types/ErrorMessages.js';
1
+ export type * from './types/CustomError.js';
2
+ export type * from './types/CustomErrorOptions.js';
3
+ export type * from './types/CustomErrorWithData.js';
4
+ export type * from './types/CustomErrorWithDataOptions.js';
5
+ export type * from './types/ErrorMessages.js';
package/build/types.js CHANGED
@@ -1,7 +1,2 @@
1
1
  "use strict";
2
- export * from "./types/CustomError.js";
3
- export * from "./types/CustomErrorOptions.js";
4
- export * from "./types/CustomErrorWithData.js";
5
- export * from "./types/CustomErrorWithDataOptions.js";
6
- export * from "./types/ErrorMessages.js";
7
2
  //# sourceMappingURL=types.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../source/types.ts"],
4
- "sourcesContent": ["export * from './types/CustomError.js';\nexport * from './types/CustomErrorOptions.js';\nexport * from './types/CustomErrorWithData.js';\nexport * from './types/CustomErrorWithDataOptions.js';\nexport * from './types/ErrorMessages.js';\n"],
5
- "mappings": ";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jakubmazanec/error",
3
- "version": "3.0.4",
3
+ "version": "3.0.5-unstable.528161f",
4
4
  "description": "Collection of utilities for creating and handling errors.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,14 +30,14 @@
30
30
  "zod": "^3.23.8"
31
31
  },
32
32
  "devDependencies": {
33
- "@jakubmazanec/eslint-config": "^3.2.0",
33
+ "@jakubmazanec/eslint-config": "4.0.0-unstable.528161f",
34
34
  "@types/lodash": "^4.17.13",
35
35
  "@types/node": "^22.9.0",
36
36
  "@vitest/coverage-v8": "^2.1.4",
37
37
  "concurrently": "^9.1.0",
38
38
  "del-cli": "^6.0.0",
39
39
  "esbuild": "^0.24.0",
40
- "eslint": "^8.56.0",
40
+ "eslint": "^9.15.0",
41
41
  "lodash": "^4.17.21",
42
42
  "prettier": "^3.3.3",
43
43
  "prettier-plugin-packagejson": "^2.5.3",
package/source/main.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export {UNKNOWN_ERROR} from './constants.js';
2
2
  export * from './createCustomError.js';
3
3
  export * from './createCustomErrorWithData.js';
4
- export * from './types.js';
4
+ export type * from './types.js';
package/source/types.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './types/CustomError.js';
2
- export * from './types/CustomErrorOptions.js';
3
- export * from './types/CustomErrorWithData.js';
4
- export * from './types/CustomErrorWithDataOptions.js';
5
- export * from './types/ErrorMessages.js';
1
+ export type * from './types/CustomError.js';
2
+ export type * from './types/CustomErrorOptions.js';
3
+ export type * from './types/CustomErrorWithData.js';
4
+ export type * from './types/CustomErrorWithDataOptions.js';
5
+ export type * from './types/ErrorMessages.js';