Socket
Socket
Sign inDemoInstall

@ionic/cli-framework

Package Overview
Dependencies
Maintainers
1
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/cli-framework - npm Package Compare versions

Comparing version 5.1.4 to 5.1.6

19

CHANGELOG.md

@@ -6,2 +6,21 @@ # Change Log

## [5.1.6](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework@5.1.5...@ionic/cli-framework@5.1.6) (2023-11-07)
**Note:** Version bump only for package @ionic/cli-framework
## [5.1.5](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework@5.1.4...@ionic/cli-framework@5.1.5) (2023-11-07)
### Bug Fixes
* use native ES2022 error cause ([#5010](https://github.com/ionic-team/ionic-cli/issues/5010)) ([0c4cd0f](https://github.com/ionic-team/ionic-cli/commit/0c4cd0f47e00b43e8c0ce4eef072351a846b566c))
## [5.1.4](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework@5.1.3...@ionic/cli-framework@5.1.4) (2023-03-29)

@@ -8,0 +27,0 @@

4

errors.d.ts

@@ -8,8 +8,4 @@ import { ValidationError } from './definitions';

abstract readonly name: string;
message: string;
stack: string;
code?: string;
error?: Error;
exitCode?: number;
constructor(message: string);
toString(): string;

@@ -16,0 +12,0 @@ inspect(): string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPCError = exports.CommandNotFoundError = exports.InputValidationError = exports.BaseError = exports.ERROR_IPC_UNKNOWN_PROCEDURE = exports.ERROR_IPC_MODULE_INACCESSIBLE = exports.ERROR_COMMAND_NOT_FOUND = exports.ERROR_INPUT_VALIDATION = void 0;
const lodash = require("lodash");
const util = require("util");

@@ -11,11 +10,4 @@ exports.ERROR_INPUT_VALIDATION = 'ERR_ICF_INPUT_VALIDATION';

class BaseError extends Error {
constructor(message) {
super(message);
this.message = message;
this.stack = (new Error()).stack || '';
}
toString() {
const repr = lodash.pick(this, lodash.pull(lodash.keys(this), 'error'));
return (`${this.name}: ${this.message} ${util.inspect(repr, { breakLength: Infinity })} ${this.stack} ` +
`${this.error ? `\nWrapped: ${this.error.stack ? this.error.stack : this.error}` : ''}`);
return util.inspect(this);
}

@@ -22,0 +14,0 @@ inspect() {

{
"name": "@ionic/cli-framework",
"version": "5.1.4",
"version": "5.1.6",
"description": "The foundation framework of the Ionic CLI",

@@ -12,2 +12,9 @@ "homepage": "https://ionicframework.com/",

},
"repository": {
"type": "git",
"url": "https://github.com/ionic-team/ionic-cli.git"
},
"bugs": {
"url": "https://github.com/ionic-team/ionic-cli/issues"
},
"scripts": {

@@ -23,3 +30,3 @@ "clean": "rimraf index.* definitions.* errors.* guards.* lib utils",

"dependencies": {
"@ionic/cli-framework-output": "2.2.6",
"@ionic/cli-framework-output": "2.2.7",
"@ionic/utils-array": "2.1.6",

@@ -30,3 +37,3 @@ "@ionic/utils-fs": "3.1.7",

"@ionic/utils-stream": "3.1.6",
"@ionic/utils-subprocess": "2.1.12",
"@ionic/utils-subprocess": "2.1.13",
"@ionic/utils-terminal": "2.3.4",

@@ -53,4 +60,3 @@ "chalk": "^4.0.0",

"typescript": "~4.8.0"
},
"gitHead": "15ef6e7da4eace4fd55d16fd9508d156a4bc8203"
}
}
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