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

error

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error - npm Package Compare versions

Comparing version 10.0.0 to 10.0.1

0

benchmarks/index.js

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ ## Migration

2

package.json
{
"name": "error",
"version": "10.0.0",
"version": "10.0.1",
"description": "Custom errors",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -80,5 +80,5 @@ # error

```js
const { Serror } = require('error')
const { SError } = require('error')
class ServerError extends Serror {}
class ServerError extends SError {}
class ClientError extends SError {}

@@ -351,4 +351,5 @@

[7.x]: https://github.com/Raynos/error/tree/v7.x
[dave]: https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully
[string-template]: https://github.com/Matt-Esch/string-template
[verror]: https://github.com/joyent/node-verror
[ono]: https://github.com/JS-DevTools/ono

@@ -0,0 +0,0 @@ /* eslint-disable */

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

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