Socket
Socket
Sign inDemoInstall

@pnpm/error

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/error - npm Package Compare versions

Comparing version 1.4.0 to 2.0.0

6

CHANGELOG.md
# @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 @@

3

lib/index.js

@@ -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

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