@pnpm/error
Advanced tools
Comparing version 3.1.0 to 4.0.0
@@ -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
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
7205