Comparing version 10.0.0 to 10.0.1
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ ## Migration |
{ | ||
"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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36505
354
1