New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jsenv/server

Package Overview
Dependencies
Maintainers
2
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/server - npm Package Compare versions

Comparing version 12.5.0 to 12.5.2

2

package.json
{
"name": "@jsenv/server",
"version": "12.5.0",
"version": "12.5.2",
"description": "Write your Node.js server using pure functions",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -242,3 +242,3 @@ /*

},
convertFileSystemErrorToResponseProperties(e),
convertFileSystemErrorToResponseProperties(e) || {},
)

@@ -245,0 +245,0 @@ }

@@ -9,3 +9,2 @@ export const convertFileSystemErrorToResponseProperties = (error) => {

}
if (isErrorWithCode(error, "EPERM")) {

@@ -17,3 +16,2 @@ return {

}
if (isErrorWithCode(error, "ENOENT")) {

@@ -25,3 +23,2 @@ return {

}
// file access may be temporarily blocked

@@ -38,3 +35,2 @@ // (by an antivirus scanning it because recently modified for instance)

}
// emfile means there is too many files currently opened

@@ -50,3 +46,2 @@ if (isErrorWithCode(error, "EMFILE")) {

}
if (isErrorWithCode(error, "EISDIR")) {

@@ -58,4 +53,3 @@ return {

}
return Promise.reject(error)
return null
}

@@ -62,0 +56,0 @@

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