@pnpm/error
Advanced tools
Comparing version 1.4.0 to 2.0.0
# @pnpm/error | ||
## 2.0.0 | ||
### Major Changes | ||
- 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work. | ||
## 1.4.0 | ||
@@ -4,0 +10,0 @@ |
@@ -17,3 +17,4 @@ "use strict"; | ||
const authHeaderValue = request.authHeaderValue | ||
? hideAuthInformation(request.authHeaderValue) : undefined; | ||
? hideAuthInformation(request.authHeaderValue) | ||
: undefined; | ||
// NOTE: For security reasons, some registries respond with 404 on authentication errors as well. | ||
@@ -20,0 +21,0 @@ // So we print authorization info on 404 errors as well. |
{ | ||
"name": "@pnpm/error", | ||
"version": "1.4.0", | ||
"version": "2.0.0", | ||
"description": "An error class for pnpm errors", | ||
@@ -12,3 +12,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=10.16" | ||
"node": ">=12.17" | ||
}, | ||
@@ -19,3 +19,3 @@ "scripts": { | ||
"prepublishOnly": "pnpm run compile", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build" | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix" | ||
}, | ||
@@ -27,3 +27,2 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/error", | ||
], | ||
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)", | ||
"license": "MIT", | ||
@@ -30,0 +29,0 @@ "bugs": { |
@@ -32,2 +32,2 @@ # @pnpm/error | ||
MIT © [Zoltan Kochan](https://www.kochan.io/) | ||
MIT |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
5353
66
1