Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ot-builder/cli-help-shower

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ot-builder/cli-help-shower - npm Package Compare versions

Comparing version
1.7.7
to
1.8.0
+3
-5
lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Style = exports.CliHelpShower = void 0;
const tslib_1 = require("tslib");
const style_1 = require("./style");

@@ -28,6 +29,3 @@ // From strip-ansi

message(...text) {
const words = text
.filter(t => !!t)
.map(t => (t ? t.split(" ") : []))
.reduce((a, b) => [...a, ...b], []);
const words = text.filter(t => !!t).flatMap(t => (t ? t.split(" ") : []));
this.messageImpl(words);

@@ -68,3 +66,3 @@ return this;

exports.CliHelpShower = CliHelpShower;
exports.Style = require("./style");
exports.Style = tslib_1.__importStar(require("./style"));
//# sourceMappingURL=index.js.map

@@ -7,6 +7,7 @@ "use strict";

exports.ArgvParseError = ArgvParseError;
const pc = require("picocolors");
const terminalSupportsUnicode = process.platform !== "win32" ||
process.env.TERM_PROGRAM === "vscode" ||
!!process.env.WT_SESSION; // Workaround https://github.com/microsoft/terminal/issues/1040
const tslib_1 = require("tslib");
const pc = tslib_1.__importStar(require("picocolors"));
const terminalSupportsUnicode = process.platform !== "win32"
|| process.env.TERM_PROGRAM === "vscode"
|| !!process.env.WT_SESSION; // Workaround https://github.com/microsoft/terminal/issues/1040
exports.CONSOLE_WIDTH = 80;

@@ -13,0 +14,0 @@ exports.Bullet = terminalSupportsUnicode ? `· ` : `+ `;

{
"name": "@ot-builder/cli-help-shower",
"version": "1.7.7",
"version": "1.8.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {