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

easy-table

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-table - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

HISTORY.md
1.1.1 / 2018-01-08
==================
* Better handling of ANSI escape codes
1.1.0 / 2017-04-06

@@ -3,0 +8,0 @@ ==================

11

package.json

@@ -5,4 +5,8 @@ {

"description": "Nice text table for the CLI",
"keywords": ["table", "text", "cli"],
"version": "1.1.0",
"keywords": [
"table",
"text",
"cli"
],
"version": "1.1.1",
"repository": {

@@ -23,3 +27,6 @@ "type": "git",

"wcwidth": ">=1.0.1"
},
"dependencies": {
"ansi-regex": "^3.0.0"
}
}

3

table.js

@@ -0,1 +1,2 @@

var ansiRegex = require('ansi-regex')
var wcwidth

@@ -52,3 +53,3 @@

function length(str) {
var s = str.replace(/\u001b\[\d+m/g, '')
var s = str.replace(ansiRegex(), '')
return wcwidth == null ? s.length : wcwidth(s)

@@ -55,0 +56,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