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.2.1 to 0.2.2

3

index.d.ts

@@ -1,3 +0,1 @@

/// <reference types="node" />
import { Writable } from 'stream';
export interface CnysaOptions {

@@ -10,3 +8,2 @@ width: number;

colors: Array<string>;
progressStream: Writable | string;
}

@@ -13,0 +10,0 @@ export declare class Cnysa {

@@ -6,8 +6,2 @@ "use strict";

const leftPad = require("left-pad");
const stream_1 = require("stream");
class DevNull extends stream_1.Writable {
_write(chunk, encoding, callback) {
setImmediate(callback);
}
}
const isRemovableLine = (str) => {

@@ -145,3 +139,3 @@ while (str = str.trim()) {

for (const event of this.events) {
if (!this.ignoreUnhighlighted || this.resources[event.uid].color) {
if (event.uid === 1 || !this.ignoreUnhighlighted || this.resources[event.uid].color) {
paddedEvents.push(event);

@@ -257,5 +251,4 @@ for (let i = 0; i < this.padding; i++) {

padding: 1,
colors: ['bgMagenta', 'bgYellow', 'bgCyan'],
progressStream: new DevNull()
colors: ['bgMagenta', 'bgYellow', 'bgCyan']
};
exports.Cnysa = Cnysa;

2

package.json
{
"name": "cnysa",
"version": "0.2.1",
"version": "0.2.2",
"description": "A tool for understanding async-hooks",

@@ -5,0 +5,0 @@ "main": "index.js",

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