Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/error

Package Overview
Dependencies
Maintainers
2
Versions
21
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 3.1.0 to 4.0.0

2

lib/index.d.ts

@@ -1,2 +0,2 @@

export default class PnpmError extends Error {
export declare class PnpmError extends Error {
readonly code: string;

@@ -3,0 +3,0 @@ readonly hint?: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LockfileMissingDependencyError = exports.FetchError = void 0;
exports.LockfileMissingDependencyError = exports.FetchError = exports.PnpmError = void 0;
const constants_1 = require("@pnpm/constants");

@@ -13,3 +13,3 @@ class PnpmError extends Error {

}
exports.default = PnpmError;
exports.PnpmError = PnpmError;
class FetchError extends PnpmError {

@@ -16,0 +16,0 @@ constructor(request, response, hint) {

{
"name": "@pnpm/error",
"version": "3.1.0",
"version": "4.0.0",
"description": "An error class for pnpm errors",

@@ -27,3 +27,3 @@ "main": "lib/index.js",

"devDependencies": {
"@pnpm/error": "3.1.0"
"@pnpm/error": "4.0.0"
},

@@ -30,0 +30,0 @@ "dependencies": {

@@ -18,3 +18,3 @@ # @pnpm/error

```ts
import PnpmError from '@pnpm/error'
import { PnpmError } from '@pnpm/error'

@@ -21,0 +21,0 @@ try {

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