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

console-table-printer

Package Overview
Dependencies
Maintainers
1
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-table-printer - npm Package Compare versions

Comparing version 2.7.2 to 2.7.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [2.7.3](https://github.com/ayonious/console-table-printer/compare/v2.7.2...v2.7.3) (2020-12-06)
### Bug Fixes
* revert wcwidth and special character support ([#329](https://github.com/ayonious/console-table-printer/issues/329)) ([d6e7847](https://github.com/ayonious/console-table-printer/commit/d6e78475f10fac718c2848483ac88611bd804b01))
## [2.7.2](https://github.com/ayonious/console-table-printer/compare/v2.7.1...v2.7.2) (2020-12-06)

@@ -2,0 +9,0 @@

6

dist/src/utils/console-utils.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const ts_wcwidth_1 = __importDefault(require("ts-wcwidth"));
/* eslint-disable no-control-regex */

@@ -13,4 +9,4 @@ const colorRegex = /\x1b\[\d{1,3}m/g; // \x1b[30m \x1b[305m

const findWidthInConsole = (str) => {
return ts_wcwidth_1.default(stripAnsi(str));
return stripAnsi(str).length;
};
exports.default = findWidthInConsole;
{
"name": "console-table-printer",
"version": "2.7.2",
"version": "2.7.3",
"repository": "github:ayonious/console-table-printer",

@@ -27,5 +27,2 @@ "description": "Printing pretty tables on console log",

"license": "MIT",
"dependencies": {
"ts-wcwidth": "^2.0.2"
},
"devDependencies": {

@@ -32,0 +29,0 @@ "@semantic-release/changelog": "^5.0.1",

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