Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "cnysa", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "A tool for understanding async-hooks", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"ansi-to-svg": "^1.4.1", | ||
"ansi-to-svg": "^1.4.2", | ||
"chalk": "^2.3.2", | ||
@@ -28,0 +28,0 @@ "left-pad": "^1.2.0", |
@@ -37,3 +37,3 @@ `cnysa` (unpronouncible) is a module that allows you to see information about what the `async_hooks` module is doing under the covers. `AsyncResources` and their lifecycle events are displayed neatly in rows (see bottom for examples). | ||
## `Cnysa#getAsyncSnapshot(options: CnysaAsyncSnapshotOptions)` | ||
## `Cnysa#createAsyncSnapshot(options: CnysaSnapshotOptions)` | ||
@@ -50,2 +50,10 @@ * `options.width`: Maximum number of characters to print on a single line before wrapping. Defaults to the current terminal width. | ||
## `Cnysa#createAsyncStackTrace(options: CnysaStackTraceOptions)` | ||
* `options.ignoreTypes`: A string or RegExp to filter out `AsyncResource` types. | ||
__Experimental.__ Returns a formatted async stack trace. | ||
All options are optional. | ||
## `Cnysa.get()` | ||
@@ -52,0 +60,0 @@ |
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
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
33316
83
Updatedansi-to-svg@^1.4.2