@pnpm/error
Advanced tools
Comparing version 2.1.0 to 3.0.0
@@ -9,4 +9,4 @@ "use strict"; | ||
this.code = `ERR_PNPM_${code}`; | ||
this.hint = opts === null || opts === void 0 ? void 0 : opts.hint; | ||
this.attempts = opts === null || opts === void 0 ? void 0 : opts.attempts; | ||
this.hint = opts?.hint; | ||
this.attempts = opts?.attempts; | ||
} | ||
@@ -13,0 +13,0 @@ } |
{ | ||
"name": "@pnpm/error", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"description": "An error class for pnpm errors", | ||
@@ -12,7 +12,7 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=12.17" | ||
"node": ">=14.19" | ||
}, | ||
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/error", | ||
"keywords": [ | ||
"pnpm6", | ||
"pnpm7", | ||
"pnpm", | ||
@@ -28,7 +28,10 @@ "error" | ||
"devDependencies": { | ||
"@pnpm/error": "2.1.0" | ||
"@pnpm/error": "3.0.0" | ||
}, | ||
"dependencies": { | ||
"@pnpm/constants": "5.0.0" | ||
"@pnpm/constants": "6.0.0" | ||
}, | ||
"exports": { | ||
".": "./lib/index.js" | ||
}, | ||
"scripts": { | ||
@@ -35,0 +38,0 @@ "lint": "eslint src/**/*.ts", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
7160
+ Added@pnpm/constants@6.0.0(transitive)
- Removed@pnpm/constants@5.0.0(transitive)
Updated@pnpm/constants@6.0.0