Socket
Socket
Sign inDemoInstall

core-error-predicates

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-error-predicates - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

index.js

@@ -22,3 +22,3 @@ var errors = [];

addError("FileNotFoundError", "ENOENT");
addError("FileAccessError", "EACCESS", "EPERM");
addError("FileAccessError", "EACCES", "EPERM");
addError("EOFError", "EOF");

@@ -30,3 +30,3 @@ addError("UnknownHostError", "EADDRINFO");

addError("ProtocolError", "EPROTO", "EPROTONOSUPPORT", "EPROTOTYPE");
addError("FileSystemError", "EBUSY", "ENOENT", "EOF", "EACCESS", "EAGAIN",
addError("FileSystemError", "EBUSY", "ENOENT", "EOF", "EACCES", "EAGAIN",
"EBADF", "EMFILE", "ENOTDIR", "EISDIR", "EEXIST",

@@ -33,0 +33,0 @@ "ENAMETOOLONG", "EPERM", "ELOOP", "ENOTEMPTY",

{
"name": "core-error-predicates",
"version": "1.0.2",
"version": "1.0.3",
"description": "Error predicate functions for operational errors thrown by node core",

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

@@ -57,3 +57,3 @@ #Installation

- `EACCESS`
- `EACCES`
- `EPERM`

@@ -100,3 +100,3 @@

- `EOF`
- `EACCESS`
- `EACCES`
- `EAGAIN`

@@ -103,0 +103,0 @@ - `EBADF`

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