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

new-error

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

new-error - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

2

build/error-types/BaseError.d.ts

@@ -94,3 +94,3 @@ import ExtendableError from 'es6-error';

*/
setConfig(config: IBaseErrorConfig): void;
setConfig(config: IBaseErrorConfig): this;
/**

@@ -97,0 +97,0 @@ * Replaces sprintf() flags in an error message, if present.

@@ -134,2 +134,3 @@ "use strict";

this._config = config;
return this;
}

@@ -136,0 +137,0 @@ /**

@@ -0,1 +1,9 @@

## 2.1.5 - Sat Mar 20 2021 05:11:00
**Contributor:** Theo Gravity
- Fix `BaseError#setConfig()` not being chainable
It was returning void rather than the instance back. This fixes that.
## 2.1.4 - Fri Mar 19 2021 04:22:07

@@ -2,0 +10,0 @@

{
"name": "new-error",
"version": "2.1.4",
"version": "2.1.5",
"description": "A production-grade error creation and serialization library designed for Typescript",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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