Socket
Socket
Sign inDemoInstall

@ionic/cli-framework-output

Package Overview
Dependencies
Maintainers
23
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/cli-framework-output - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

11

CHANGELOG.md

@@ -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 @@

2

dist/output.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc