@visulima/error 5.0.6 → 6.0.0-alpha.1

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,3 +1,20 @@
1
+ ## @visulima/error [6.0.0-alpha.1](https://github.com/visulima/visulima/compare/@visulima/error@5.0.6...@visulima/error@6.0.0-alpha.1) (2025-12-07)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ * change min node version to 22.13
6
+
7
+ ### Bug Fixes
8
+
9
+ * add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
10
+ * update Node.js engine version requirement to >=22.13 in multiple package.json files for improved compatibility ([b828e9a](https://github.com/visulima/visulima/commit/b828e9aeaebfc798eecddccd90e6ec7560c6d36a))
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ * moved all packages into groups ([0615e9d](https://github.com/visulima/visulima/commit/0615e9d14a8a886e11da529ce150cf31ca973c10))
15
+ * update @anolilab/semantic-release-pnpm and @anolilab/semantic-release-preset to versions 3.2.2 and 12.1.2 across multiple package.json files for improved compatibility ([3921626](https://github.com/visulima/visulima/commit/3921626141fe5da398749bf0ba675f1596f18afb))
16
+ * update dependencies across multiple packages to improve compatibility and performance, including upgrading `@anolilab/semantic-release-pnpm` and `@anolilab/semantic-release-preset` to versions 3.2.0 and 12.1.0 respectively, and updating `react`, `react-dom`, and `next` versions to 19.2.1 and 16.0.7 in various package.json files ([aee8fcd](https://github.com/visulima/visulima/commit/aee8fcd796ae9b8d055903260e7150996ea9f53d))
17
+
1
18
  ## @visulima/error [5.0.6](https://github.com/visulima/visulima/compare/@visulima/error@5.0.5...@visulima/error@5.0.6) (2025-11-13)
2
19
 
3
20
  ### Bug Fixes
package/README.md CHANGED
@@ -1,15 +1,24 @@
1
- <div align="center">
2
- <h3>Visulima error</h3>
3
- <p>
4
- Error with more than just a message, stacktrace parsing and sourcemap loading.
5
- </p>
6
- </div>
1
+ <!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
2
+
3
+ <a href="https://www.anolilab.com/open-source" align="center">
4
+
5
+ <img src="__assets__/package-og.svg" alt="error" />
6
+
7
+ </a>
8
+
9
+ <h3 align="center">Error with more than just a message, stacktrace parsing.</h3>
10
+
11
+ <!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
7
12
 
8
13
  <br />
9
14
 
10
15
  <div align="center">
11
16
 
12
- [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
17
+ [![typescript-image][typescript-badge]][typescript-url]
18
+ [![mit licence][license-badge]][license]
19
+ [![npm downloads][npm-downloads-badge]][npm-downloads]
20
+ [![Chat][chat-badge]][chat]
21
+ [![PRs Welcome][prs-welcome-badge]][prs-welcome]
13
22
 
14
23
  </div>
15
24
 
@@ -687,14 +696,23 @@ If you would like to help take a look at the [list of issues](https://github.com
687
696
  - [baseerr](https://github.com/tjmehta/baseerr): merge another error with additional properties.
688
697
  - [callsite-record](https://github.com/inikulin/callsite-record) - Create fancy log entries for errors and function call sites
689
698
 
699
+ ## Made with ❤️ at Anolilab
700
+
701
+ This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
702
+
690
703
  ## License
691
704
 
692
- The visulima error is open-sourced software licensed under the [MIT][license-url]
705
+ The visulima error is open-sourced software licensed under the [MIT][license]
693
706
 
694
- [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
707
+ <!-- badges -->
695
708
 
696
- [typescript-url]: https://www.typescriptlang.org/ "TypeScript" "typescript"
697
- [license-image]: https://img.shields.io/npm/l/@visulima/error?color=blueviolet&style=for-the-badge
698
- [license-url]: LICENSE.md "license"
699
- [npm-image]: https://img.shields.io/npm/v/@visulima/error/latest.svg?style=for-the-badge&logo=npm
700
- [npm-url]: https://www.npmjs.com/package/@visulima/error/v/latest "npm"
709
+ [license-badge]: https://img.shields.io/npm/l/@visulima/error?style=for-the-badge
710
+ [license]: https://github.com/visulima/visulima/blob/main/LICENSE
711
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@visulima/error?style=for-the-badge
712
+ [npm-downloads]: https://www.npmjs.com/package/@visulima/error
713
+ [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
714
+ [prs-welcome]: https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md
715
+ [chat-badge]: https://img.shields.io/discord/932323359193186354.svg?style=for-the-badge
716
+ [chat]: https://discord.gg/TtFJY8xkFK
717
+ [typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
718
+ [typescript-url]: https://www.typescriptlang.org/
@@ -1,7 +1,7 @@
1
1
  export { default as captureRawStackTrace } from '../packem_shared/captureRawStackTrace-ySw7cU0U.js';
2
2
  export { default as getErrorCauses } from '../packem_shared/getErrorCauses-DpUsmuqw.js';
3
3
  export { renderError } from '../packem_shared/renderError-C30PRFtU.js';
4
- export { default as deserializeError } from '../packem_shared/deserializeError-E0VQnnm0.js';
4
+ export { default as deserializeError } from '../packem_shared/deserializeError-CvSvGfXa.js';
5
5
  export { addKnownErrorConstructor, isErrorLike } from '../packem_shared/addKnownErrorConstructor-s_3SsXtQ.js';
6
6
  export { default as NonError } from '../packem_shared/NonError-D5FGLYKY.js';
7
7
  export { serialize as serializeError } from '../packem_shared/serializeError-BZ62KiYZ.js';
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ export { default as aiSolutionResponse } from './packem_shared/aiSolutionRespons
5
5
  export { default as errorHintFinder } from './packem_shared/errorHintFinder-DEaeRnRW.js';
6
6
  export { default as ruleBasedFinder } from './packem_shared/ruleBasedFinder-C2F8rQ30.js';
7
7
  export { default as captureRawStackTrace } from './packem_shared/captureRawStackTrace-ySw7cU0U.js';
8
- export { default as deserializeError } from './packem_shared/deserializeError-E0VQnnm0.js';
8
+ export { default as deserializeError } from './packem_shared/deserializeError-CvSvGfXa.js';
9
9
  export { default as getErrorCauses } from './packem_shared/getErrorCauses-DpUsmuqw.js';
10
10
  export { default as NonError } from './packem_shared/NonError-D5FGLYKY.js';
11
11
  export { default as parseStacktrace } from './packem_shared/parseStacktrace-oQvk7wYp.js';
@@ -63,10 +63,7 @@ const restoreErrorProperties = (error, properties, cause, name, options, depth)
63
63
  }
64
64
  };
65
65
  const makePropertiesEnumerable = (error, serialized) => {
66
- const errorProperties = /* @__PURE__ */ new Set();
67
- errorProperties.add("name");
68
- errorProperties.add("message");
69
- errorProperties.add("stack");
66
+ const errorProperties = /* @__PURE__ */ new Set(["message", "name", "stack"]);
70
67
  for (const key of Object.keys(serialized)) {
71
68
  errorProperties.add(key);
72
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/error",
3
- "version": "5.0.6",
3
+ "version": "6.0.0-alpha.1",
4
4
  "description": "Error with more than just a message, stacktrace parsing.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -43,7 +43,7 @@
43
43
  "repository": {
44
44
  "type": "git",
45
45
  "url": "git+https://github.com/visulima/visulima.git",
46
- "directory": "packages/error"
46
+ "directory": "packages/error-debugging/error"
47
47
  },
48
48
  "funding": [
49
49
  {
@@ -108,7 +108,7 @@
108
108
  }
109
109
  },
110
110
  "engines": {
111
- "node": ">=20.19 <=25.x"
111
+ "node": ">=22.13 <=25.x"
112
112
  },
113
113
  "os": [
114
114
  "darwin",