@ionic/cli-framework
Advanced tools
Comparing version 5.1.4 to 5.1.6
@@ -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 @@ |
@@ -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" | ||
} | ||
} |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
142160
0
4
2693
+ Added@ionic/cli-framework-output@2.2.7(transitive)
+ Added@ionic/utils-subprocess@2.1.13(transitive)
- Removed@ionic/cli-framework-output@2.2.6(transitive)
- Removed@ionic/utils-subprocess@2.1.12(transitive)