console-table-printer
Advanced tools
Comparing version 2.7.2 to 2.7.3
@@ -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 @@ |
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34844
0
584
- Removedts-wcwidth@^2.0.2
- Removedts-wcwidth@2.0.3(transitive)