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.6 to 5.1.7

11

CHANGELOG.md

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

## [5.1.7](https://github.com/ionic-team/ionic-cli/compare/@ionic/cli-framework@5.1.6...@ionic/cli-framework@5.1.7) (2023-11-08)
### Reverts
* use native ES2022 error cause ([#5060](https://github.com/ionic-team/ionic-cli/issues/5060)) ([1e64a1a](https://github.com/ionic-team/ionic-cli/commit/1e64a1ada60545adf8e7c99fbd1f8766cf2416f9))
## [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)

@@ -8,0 +19,0 @@

4

errors.d.ts

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

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

@@ -12,0 +16,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");

@@ -10,4 +11,11 @@ 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() {
return util.inspect(this);
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}` : ''}`);
}

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

4

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

@@ -35,3 +35,3 @@ "homepage": "https://ionicframework.com/",

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

@@ -38,0 +38,0 @@ "chalk": "^4.0.0",

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