Socket
Socket
Sign inDemoInstall

table

Package Overview
Dependencies
18
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.7.0 to 6.7.1

1

dist/index.js

@@ -14,3 +14,2 @@ "use strict";

exports.getBorderCharacters = exports.createStream = exports.table = void 0;
// import chalk from 'chalk';
const createStream_1 = require("./createStream");

@@ -17,0 +16,0 @@ Object.defineProperty(exports, "createStream", { enumerable: true, get: function () { return createStream_1.createStream; } });

5

dist/utils.js

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

const slice_ansi_1 = __importDefault(require("slice-ansi"));
const string_width_1 = __importDefault(require("string-width"));
const strip_ansi_1 = __importDefault(require("strip-ansi"));

@@ -26,5 +27,3 @@ const getBorderCharacters_1 = require("./getBorderCharacters");

const splitAnsi = (input) => {
const lengths = strip_ansi_1.default(input).split('\n').map(({ length }) => {
return length;
});
const lengths = strip_ansi_1.default(input).split('\n').map(string_width_1.default);
const result = [];

@@ -31,0 +30,0 @@ let startIndex = 0;

@@ -93,3 +93,3 @@ {

},
"version": "6.7.0"
"version": "6.7.1"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc