Socket
Socket
Sign inDemoInstall

@visulima/error

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visulima/error - npm Package Compare versions

Comparing version 4.3.2 to 4.4.0

dist/shared/error.B400_kIl.cjs

10

CHANGELOG.md

@@ -0,1 +1,11 @@

## @visulima/error [4.4.0](https://github.com/visulima/visulima/compare/@visulima/error@4.3.2...@visulima/error@4.4.0) (2024-08-08)
### Features
* **error:** added captureRawStackTrace ([1c988a3](https://github.com/visulima/visulima/commit/1c988a33d6ce9ab1afec6c94efd7fa091205742c))
### Tests
* **error:** fixed assertions on test ([f315754](https://github.com/visulima/visulima/commit/f3157544173590e8695c1419ba7f29cb480d43cf))
## @visulima/error [4.3.2](https://github.com/visulima/visulima/compare/@visulima/error@4.3.1...@visulima/error@4.3.2) (2024-08-04)

@@ -2,0 +12,0 @@

4

dist/error/index.d.ts
import { b as CodeFrameOptions, c as ColorizeMethod } from '../shared/error.CrVmNoPV.js';
declare const captureRawStackTrace: () => string | undefined;
declare const getErrorCauses: <E = unknown>(error: E) => E[];

@@ -75,2 +77,2 @@

export { type ErrorHint, type ErrorLocation, type ErrorProperties, type Options as ErrorWithCauseSerializerOptions, type Options$1 as RenderErrorOptions, type SerializedError, VisulimaError, getErrorCauses, isVisulimaError, renderError, serialize as serializeError };
export { type ErrorHint, type ErrorLocation, type ErrorProperties, type Options as ErrorWithCauseSerializerOptions, type Options$1 as RenderErrorOptions, type SerializedError, VisulimaError, captureRawStackTrace, getErrorCauses, isVisulimaError, renderError, serialize as serializeError };
export { CODE_FRAME_POINTER, codeFrame } from './code-frame/index.js';
export { ErrorHint, ErrorLocation, ErrorProperties, ErrorWithCauseSerializerOptions, RenderErrorOptions, SerializedError, VisulimaError, getErrorCauses, isVisulimaError, renderError, serializeError } from './error/index.js';
export { ErrorHint, ErrorLocation, ErrorProperties, ErrorWithCauseSerializerOptions, RenderErrorOptions, SerializedError, VisulimaError, captureRawStackTrace, getErrorCauses, isVisulimaError, renderError, serializeError } from './error/index.js';
export { Trace, TraceType, parseStacktrace } from './stacktrace/index.js';

@@ -4,0 +4,0 @@ export { C as CodeFrameLocation, a as CodeFrameNodeLocation, b as CodeFrameOptions, c as ColorizeMethod } from './shared/error.CrVmNoPV.js';

{
"name": "@visulima/error",
"version": "4.3.2",
"version": "4.4.0",
"description": "Error with more than just a message, stacktrace parsing.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -377,2 +377,14 @@ <div align="center">

### captureRawStackTrace
Capture a raw stack trace.
```ts
import { captureRawStackTrace } from "@visulima/error";
const stack = captureRawStackTrace();
console.log(stack);
```
## Supported Node.js Versions

@@ -379,0 +391,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc