New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@pown/blessed

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pown/blessed - npm Package Compare versions

Comparing version
2.0.1
to
2.0.2
+4
-6
lib/table.js

@@ -107,11 +107,9 @@ const stripAnsi = require('strip-ansi')

fields.forEach((field='', index) => {
const size = this.columnWidths[index]
const strip = stripAnsi(field.toString())
const len = field.toString().length - strip.length
field = stripAnsi(String(field))
field = field.toString().substring(0, size + len)
const columnWidth = this.columnWidths[index]
// compensate for len
field = field.substring(0, columnWidth)
let spaceLength = size - strip.length + this.options.columnSpacing
let spaceLength = columnWidth - field.length + this.options.columnSpacing

@@ -118,0 +116,0 @@ if (spaceLength < 0) {

+1
-1
{
"name": "@pown/blessed",
"version": "2.0.1",
"version": "2.0.2",
"description": "Wrapper around neo-blessed plus supporting modules",

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