@visulima/error
Advanced tools
Comparing version 4.3.2 to 4.4.0
@@ -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 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
78118
273
438