@ionic/cli-framework-output
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.1](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework-output@2.0.0...@ionic/cli-framework-output@2.0.1) (2020-08-27) | ||
### Bug Fixes | ||
* strip newlines when redrawing ([d13085f](https://github.com/ionic-team/ionic-cli/commit/d13085f8bdf372cd761f30ba97d9551721a26396)) | ||
# [2.0.0](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework-output@1.1.0...@ionic/cli-framework-output@2.0.0) (2020-08-27) | ||
@@ -8,0 +19,0 @@ |
@@ -73,3 +73,3 @@ "use strict"; | ||
utils_terminal_1.Cursor.hide(); | ||
this.stream.write(utils_terminal_1.EscapeCode.eraseLines(1) + utils_1.enforceSingleLF(msg)); | ||
this.stream.write(utils_terminal_1.EscapeCode.eraseLines(1) + msg.replace(/[\r\n]+$/, '')); | ||
} | ||
@@ -76,0 +76,0 @@ clear() { |
export declare function identity<T>(v: T): T; | ||
export declare function enforceLF(str: string): string; | ||
export declare function enforceSingleLF(str: string): string; | ||
export declare function dropWhile<T>(array: readonly T[], predicate?: (item: T) => boolean): T[]; | ||
export declare function formatHrTime(hrtime: [number, number]): string; |
@@ -11,6 +11,2 @@ "use strict"; | ||
exports.enforceLF = enforceLF; | ||
function enforceSingleLF(str) { | ||
return str.replace(/[\r\n]+$/, '') + '\n'; | ||
} | ||
exports.enforceSingleLF = enforceSingleLF; | ||
function dropWhile(array, predicate = v => !!v) { | ||
@@ -17,0 +13,0 @@ let done = false; |
{ | ||
"name": "@ionic/cli-framework-output", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "The log/tasks/spinners portion of Ionic CLI Framework", | ||
@@ -52,3 +52,3 @@ "homepage": "https://ionicframework.com/", | ||
}, | ||
"gitHead": "f6712a9508b37de0a8e202072bb14d75ee81c8bf" | ||
"gitHead": "f70bc47ad52809e7ceada53fc4d7beb3bb65f45e" | ||
} |
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
29210
768