@visulima/error 4.4.3 → 4.4.4

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 (34) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/code-frame/index.d.cts +2 -2
  3. package/dist/code-frame/index.d.mts +2 -2
  4. package/dist/code-frame/index.d.ts +2 -2
  5. package/dist/error/index.cjs +1 -1
  6. package/dist/error/index.d.cts +1 -1
  7. package/dist/error/index.d.mts +1 -1
  8. package/dist/error/index.d.ts +1 -1
  9. package/dist/error/index.mjs +1 -1
  10. package/dist/index.cjs +1 -1
  11. package/dist/index.d.cts +1 -1
  12. package/dist/index.d.mts +1 -1
  13. package/dist/index.d.ts +1 -1
  14. package/dist/index.mjs +1 -1
  15. package/dist/stacktrace/index.cjs +1 -1
  16. package/dist/stacktrace/index.mjs +1 -1
  17. package/package.json +15 -9
  18. /package/dist/{shared → packem_shared}/captureRawStackTrace-B7M10xhx.mjs +0 -0
  19. /package/dist/{shared → packem_shared}/captureRawStackTrace-Dle60tQN.cjs +0 -0
  20. /package/dist/{shared → packem_shared}/getErrorCauses--fuy5DYb.cjs +0 -0
  21. /package/dist/{shared → packem_shared}/getErrorCauses-D025FGyO.mjs +0 -0
  22. /package/dist/{shared → packem_shared}/indexToLineColumn-BUaHBIUg.cjs +0 -0
  23. /package/dist/{shared → packem_shared}/indexToLineColumn-BxCJ9Cey.mjs +0 -0
  24. /package/dist/{shared → packem_shared}/isVisulimaError-7lgjv56R.mjs +0 -0
  25. /package/dist/{shared → packem_shared}/isVisulimaError-DYPrVHSe.cjs +0 -0
  26. /package/dist/{shared → packem_shared}/parseStacktrace-CUC_6mhC.mjs +0 -0
  27. /package/dist/{shared → packem_shared}/parseStacktrace-DuzLAkHs.cjs +0 -0
  28. /package/dist/{shared → packem_shared}/renderError-0-DsuASp.mjs +0 -0
  29. /package/dist/{shared → packem_shared}/renderError-CHpSwov5.cjs +0 -0
  30. /package/dist/{shared → packem_shared}/serializeError-DIcZqLmW.cjs +0 -0
  31. /package/dist/{shared → packem_shared}/serializeError-DlDgb1in.mjs +0 -0
  32. /package/dist/{shared → packem_shared}/types-CrVmNoPV.d.cts +0 -0
  33. /package/dist/{shared → packem_shared}/types-CrVmNoPV.d.mjs +0 -0
  34. /package/dist/{shared → packem_shared}/types-CrVmNoPV.d.mts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## @visulima/error [4.4.4](https://github.com/visulima/visulima/compare/@visulima/error@4.4.3...@visulima/error@4.4.4) (2024-09-11)
2
+
3
+ ### Bug Fixes
4
+
5
+ * fixed node10 support ([f5e78d9](https://github.com/visulima/visulima/commit/f5e78d9bff8fd603967666598b34f9338a8726b5))
6
+
7
+ ### Miscellaneous Chores
8
+
9
+ * updated dev dependencies ([28b5ee5](https://github.com/visulima/visulima/commit/28b5ee5c805ca8868536418829cde7ba8c5bb8dd))
10
+
11
+
12
+ ### Dependencies
13
+
14
+ * **@visulima/path:** upgraded to 1.0.8
15
+
1
16
  ## @visulima/error [4.4.3](https://github.com/visulima/visulima/compare/@visulima/error@4.4.2...@visulima/error@4.4.3) (2024-09-07)
2
17
 
3
18
  ### Bug Fixes
@@ -1,5 +1,5 @@
1
- import { a as CodeFrameNodeLocation, b as CodeFrameOptions } from '../shared/types-CrVmNoPV.cjs';
2
- export { C as CodeFrameLocation, c as ColorizeMethod } from '../shared/types-CrVmNoPV.cjs';
1
+ import { a as CodeFrameNodeLocation, b as CodeFrameOptions } from '../packem_shared/types-CrVmNoPV.cjs';
2
+ export { C as CodeFrameLocation, c as ColorizeMethod } from '../packem_shared/types-CrVmNoPV.cjs';
3
3
 
4
4
  declare const CODE_FRAME_POINTER: string;
5
5
  declare const codeFrame: (source: string, loc: CodeFrameNodeLocation, options?: CodeFrameOptions) => string;
@@ -1,5 +1,5 @@
1
- import { a as CodeFrameNodeLocation, b as CodeFrameOptions } from '../shared/types-CrVmNoPV.mjs';
2
- export { C as CodeFrameLocation, c as ColorizeMethod } from '../shared/types-CrVmNoPV.mjs';
1
+ import { a as CodeFrameNodeLocation, b as CodeFrameOptions } from '../packem_shared/types-CrVmNoPV.mjs';
2
+ export { C as CodeFrameLocation, c as ColorizeMethod } from '../packem_shared/types-CrVmNoPV.mjs';
3
3
 
4
4
  declare const CODE_FRAME_POINTER: string;
5
5
  declare const codeFrame: (source: string, loc: CodeFrameNodeLocation, options?: CodeFrameOptions) => string;
@@ -1,5 +1,5 @@
1
- import { a as CodeFrameNodeLocation, b as CodeFrameOptions } from '../shared/types-CrVmNoPV.d.mjs';
2
- export { C as CodeFrameLocation, c as ColorizeMethod } from '../shared/types-CrVmNoPV.d.mjs';
1
+ import { a as CodeFrameNodeLocation, b as CodeFrameOptions } from '../packem_shared/types-CrVmNoPV.d.mjs';
2
+ export { C as CodeFrameLocation, c as ColorizeMethod } from '../packem_shared/types-CrVmNoPV.d.mjs';
3
3
 
4
4
  declare const CODE_FRAME_POINTER: string;
5
5
  declare const codeFrame: (source: string, loc: CodeFrameNodeLocation, options?: CodeFrameOptions) => string;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../shared/captureRawStackTrace-Dle60tQN.cjs"),i=require("../shared/getErrorCauses--fuy5DYb.cjs"),s=require("../shared/renderError-CHpSwov5.cjs"),o=require("../shared/serializeError-DIcZqLmW.cjs"),r=require("../shared/isVisulimaError-DYPrVHSe.cjs");exports.captureRawStackTrace=e;exports.getErrorCauses=i;exports.renderError=s.renderError;exports.serializeError=o.serialize;exports.VisulimaError=r.VisulimaError;exports.isVisulimaError=r.isVisulimaError;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../packem_shared/captureRawStackTrace-Dle60tQN.cjs"),i=require("../packem_shared/getErrorCauses--fuy5DYb.cjs"),s=require("../packem_shared/renderError-CHpSwov5.cjs"),o=require("../packem_shared/serializeError-DIcZqLmW.cjs"),r=require("../packem_shared/isVisulimaError-DYPrVHSe.cjs");exports.captureRawStackTrace=e;exports.getErrorCauses=i;exports.renderError=s.renderError;exports.serializeError=o.serialize;exports.VisulimaError=r.VisulimaError;exports.isVisulimaError=r.isVisulimaError;
@@ -1,4 +1,4 @@
1
- import { b as CodeFrameOptions, c as ColorizeMethod } from '../shared/types-CrVmNoPV.cjs';
1
+ import { b as CodeFrameOptions, c as ColorizeMethod } from '../packem_shared/types-CrVmNoPV.cjs';
2
2
 
3
3
  declare const captureRawStackTrace: () => string | undefined;
4
4
 
@@ -1,4 +1,4 @@
1
- import { b as CodeFrameOptions, c as ColorizeMethod } from '../shared/types-CrVmNoPV.mjs';
1
+ import { b as CodeFrameOptions, c as ColorizeMethod } from '../packem_shared/types-CrVmNoPV.mjs';
2
2
 
3
3
  declare const captureRawStackTrace: () => string | undefined;
4
4
 
@@ -1,4 +1,4 @@
1
- import { b as CodeFrameOptions, c as ColorizeMethod } from '../shared/types-CrVmNoPV.d.mjs';
1
+ import { b as CodeFrameOptions, c as ColorizeMethod } from '../packem_shared/types-CrVmNoPV.d.mjs';
2
2
 
3
3
  declare const captureRawStackTrace: () => string | undefined;
4
4
 
@@ -1 +1 @@
1
- import{default as o}from"../shared/captureRawStackTrace-B7M10xhx.mjs";import{default as s}from"../shared/getErrorCauses-D025FGyO.mjs";import{renderError as i}from"../shared/renderError-0-DsuASp.mjs";import{serialize as m}from"../shared/serializeError-DlDgb1in.mjs";import{VisulimaError as p,isVisulimaError as u}from"../shared/isVisulimaError-7lgjv56R.mjs";export{p as VisulimaError,o as captureRawStackTrace,s as getErrorCauses,u as isVisulimaError,i as renderError,m as serializeError};
1
+ import{default as o}from"../packem_shared/captureRawStackTrace-B7M10xhx.mjs";import{default as s}from"../packem_shared/getErrorCauses-D025FGyO.mjs";import{renderError as i}from"../packem_shared/renderError-0-DsuASp.mjs";import{serialize as m}from"../packem_shared/serializeError-DlDgb1in.mjs";import{VisulimaError as p,isVisulimaError as u}from"../packem_shared/isVisulimaError-7lgjv56R.mjs";export{p as VisulimaError,o as captureRawStackTrace,s as getErrorCauses,u as isVisulimaError,i as renderError,m as serializeError};
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./code-frame/index.cjs"),i=require("./shared/indexToLineColumn-BUaHBIUg.cjs"),o=require("./shared/captureRawStackTrace-Dle60tQN.cjs"),a=require("./shared/getErrorCauses--fuy5DYb.cjs"),s=require("./shared/parseStacktrace-DuzLAkHs.cjs"),e=require("./shared/isVisulimaError-DYPrVHSe.cjs"),t=require("./shared/renderError-CHpSwov5.cjs"),c=require("./shared/serializeError-DIcZqLmW.cjs");exports.CODE_FRAME_POINTER=r.CODE_FRAME_POINTER;exports.codeFrame=r.codeFrame;exports.indexToLineColumn=i;exports.captureRawStackTrace=o;exports.getErrorCauses=a;exports.parseStacktrace=s;exports.VisulimaError=e.VisulimaError;exports.isVisulimaError=e.isVisulimaError;exports.renderError=t.renderError;exports.serializeError=c.serialize;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./code-frame/index.cjs"),i=require("./packem_shared/indexToLineColumn-BUaHBIUg.cjs"),o=require("./packem_shared/captureRawStackTrace-Dle60tQN.cjs"),a=require("./packem_shared/getErrorCauses--fuy5DYb.cjs"),s=require("./packem_shared/parseStacktrace-DuzLAkHs.cjs"),e=require("./packem_shared/isVisulimaError-DYPrVHSe.cjs"),t=require("./packem_shared/renderError-CHpSwov5.cjs"),c=require("./packem_shared/serializeError-DIcZqLmW.cjs");exports.CODE_FRAME_POINTER=r.CODE_FRAME_POINTER;exports.codeFrame=r.codeFrame;exports.indexToLineColumn=i;exports.captureRawStackTrace=o;exports.getErrorCauses=a;exports.parseStacktrace=s;exports.VisulimaError=e.VisulimaError;exports.isVisulimaError=e.isVisulimaError;exports.renderError=t.renderError;exports.serializeError=c.serialize;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { CODE_FRAME_POINTER, codeFrame } from './code-frame/index.cjs';
2
2
  export { ErrorHint, ErrorLocation, ErrorProperties, ErrorWithCauseSerializerOptions, RenderErrorOptions, SerializedError, VisulimaError, captureRawStackTrace, getErrorCauses, isVisulimaError, renderError, serializeError } from './error/index.cjs';
3
3
  export { Trace, TraceType, parseStacktrace } from './stacktrace/index.cjs';
4
- export { C as CodeFrameLocation, a as CodeFrameNodeLocation, b as CodeFrameOptions, c as ColorizeMethod } from './shared/types-CrVmNoPV.cjs';
4
+ export { C as CodeFrameLocation, a as CodeFrameNodeLocation, b as CodeFrameOptions, c as ColorizeMethod } from './packem_shared/types-CrVmNoPV.cjs';
5
5
 
6
6
  declare const indexToLineColumn: (input: number[] | string, index: number, options?: {
7
7
  skipChecks: boolean;
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { CODE_FRAME_POINTER, codeFrame } from './code-frame/index.mjs';
2
2
  export { ErrorHint, ErrorLocation, ErrorProperties, ErrorWithCauseSerializerOptions, RenderErrorOptions, SerializedError, VisulimaError, captureRawStackTrace, getErrorCauses, isVisulimaError, renderError, serializeError } from './error/index.mjs';
3
3
  export { Trace, TraceType, parseStacktrace } from './stacktrace/index.mjs';
4
- export { C as CodeFrameLocation, a as CodeFrameNodeLocation, b as CodeFrameOptions, c as ColorizeMethod } from './shared/types-CrVmNoPV.mjs';
4
+ export { C as CodeFrameLocation, a as CodeFrameNodeLocation, b as CodeFrameOptions, c as ColorizeMethod } from './packem_shared/types-CrVmNoPV.mjs';
5
5
 
6
6
  declare const indexToLineColumn: (input: number[] | string, index: number, options?: {
7
7
  skipChecks: boolean;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { CODE_FRAME_POINTER, codeFrame } from './code-frame/index.js';
2
2
  export { ErrorHint, ErrorLocation, ErrorProperties, ErrorWithCauseSerializerOptions, RenderErrorOptions, SerializedError, VisulimaError, captureRawStackTrace, getErrorCauses, isVisulimaError, renderError, serializeError } from './error/index.js';
3
3
  export { Trace, TraceType, parseStacktrace } from './stacktrace/index.js';
4
- export { C as CodeFrameLocation, a as CodeFrameNodeLocation, b as CodeFrameOptions, c as ColorizeMethod } from './shared/types-CrVmNoPV.d.mjs';
4
+ export { C as CodeFrameLocation, a as CodeFrameNodeLocation, b as CodeFrameOptions, c as ColorizeMethod } from './packem_shared/types-CrVmNoPV.d.mjs';
5
5
 
6
6
  declare const indexToLineColumn: (input: number[] | string, index: number, options?: {
7
7
  skipChecks: boolean;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{CODE_FRAME_POINTER as o,codeFrame as a}from"./code-frame/index.mjs";import{default as s}from"./shared/indexToLineColumn-BxCJ9Cey.mjs";import{default as m}from"./shared/captureRawStackTrace-B7M10xhx.mjs";import{default as p}from"./shared/getErrorCauses-D025FGyO.mjs";import{default as u}from"./shared/parseStacktrace-CUC_6mhC.mjs";import{VisulimaError as E,isVisulimaError as d}from"./shared/isVisulimaError-7lgjv56R.mjs";import{renderError as n}from"./shared/renderError-0-DsuASp.mjs";import{serialize as R}from"./shared/serializeError-DlDgb1in.mjs";export{o as CODE_FRAME_POINTER,E as VisulimaError,m as captureRawStackTrace,a as codeFrame,p as getErrorCauses,s as indexToLineColumn,d as isVisulimaError,u as parseStacktrace,n as renderError,R as serializeError};
1
+ import{CODE_FRAME_POINTER as o,codeFrame as a}from"./code-frame/index.mjs";import{default as s}from"./packem_shared/indexToLineColumn-BxCJ9Cey.mjs";import{default as m}from"./packem_shared/captureRawStackTrace-B7M10xhx.mjs";import{default as p}from"./packem_shared/getErrorCauses-D025FGyO.mjs";import{default as u}from"./packem_shared/parseStacktrace-CUC_6mhC.mjs";import{VisulimaError as E,isVisulimaError as d}from"./packem_shared/isVisulimaError-7lgjv56R.mjs";import{renderError as n}from"./packem_shared/renderError-0-DsuASp.mjs";import{serialize as R}from"./packem_shared/serializeError-DlDgb1in.mjs";export{o as CODE_FRAME_POINTER,E as VisulimaError,m as captureRawStackTrace,a as codeFrame,p as getErrorCauses,s as indexToLineColumn,d as isVisulimaError,u as parseStacktrace,n as renderError,R as serializeError};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../shared/parseStacktrace-DuzLAkHs.cjs");exports.parseStacktrace=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../packem_shared/parseStacktrace-DuzLAkHs.cjs");exports.parseStacktrace=e;
@@ -1 +1 @@
1
- import{default as r}from"../shared/parseStacktrace-CUC_6mhC.mjs";export{r as parseStacktrace};
1
+ import{default as r}from"../packem_shared/parseStacktrace-CUC_6mhC.mjs";export{r as parseStacktrace};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/error",
3
- "version": "4.4.3",
3
+ "version": "4.4.4",
4
4
  "description": "Error with more than just a message, stacktrace parsing.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -109,11 +109,17 @@
109
109
  "module": "dist/index.mjs",
110
110
  "types": "dist/index.d.ts",
111
111
  "typesVersions": {
112
- "*": {
113
- "*": [
114
- "./dist/code-frame/index.d.ts",
115
- "./dist/code-frame/index.d.ts",
116
- "./dist/error/index.d.ts",
112
+ ">=5.0": {
113
+ ".": [
114
+ "./dist/index.d.ts"
115
+ ],
116
+ "code-frame": [
117
+ "./dist/code-frame/index.d.ts"
118
+ ],
119
+ "error": [
120
+ "./dist/error/index.d.ts"
121
+ ],
122
+ "stacktrace": [
117
123
  "./dist/stacktrace/index.d.ts"
118
124
  ]
119
125
  }
@@ -129,7 +135,7 @@
129
135
  "@anolilab/prettier-config": "^5.0.14",
130
136
  "@anolilab/semantic-release-pnpm": "^1.1.3",
131
137
  "@anolilab/semantic-release-preset": "^9.0.0",
132
- "@arethetypeswrong/cli": "^0.15.4",
138
+ "@arethetypeswrong/cli": "^0.16.2",
133
139
  "@babel/core": "^7.25.2",
134
140
  "@eslint-types/deprecation": "^2.0.0",
135
141
  "@eslint-types/import": "^2.29.1",
@@ -141,8 +147,8 @@
141
147
  "@types/command-line-args": "^5.2.3",
142
148
  "@types/node": "18.19.15",
143
149
  "@visulima/nextra-theme-docs": "4.0.26",
144
- "@visulima/packem": "^1.0.0-alpha.95",
145
- "@visulima/path": "1.0.7",
150
+ "@visulima/packem": "^1.0.0-alpha.108",
151
+ "@visulima/path": "1.0.8",
146
152
  "@vitest/coverage-v8": "^2.0.5",
147
153
  "@vitest/ui": "^2.0.5",
148
154
  "conventional-changelog-conventionalcommits": "8.0.0",