@ot-builder/cli-help-shower
Advanced tools
+3
-5
| "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 |
+5
-4
@@ -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 ? `· ` : `+ `; |
+1
-1
| { | ||
| "name": "@ot-builder/cli-help-shower", | ||
| "version": "1.7.7", | ||
| "version": "1.8.0", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
6252
0.68%132
-0.75%