Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cnysa

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cnysa - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

4

package.json
{
"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 @@

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