Socket
Socket
Sign inDemoInstall

json-rpc-engine

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-rpc-engine - npm Package Compare versions

Comparing version 3.7.1 to 3.7.2

2

package.json
{
"name": "json-rpc-engine",
"version": "3.7.1",
"version": "3.7.2",
"description": "a tool for processing JSON RPC",

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

@@ -15,3 +15,8 @@ const promiseToCallback = require('promise-to-callback')

promiseToCallback(nextDonePromise)((nextErr, nextHandlerSignalDone) => {
if (nextErr) return done(nextErr)
// nextErr is only present if something went really wrong
// if an error is thrown after `await next()` it appears as `err` and not `nextErr`
if (nextErr) {
console.error(nextErr)
return end(nextErr)
}
nextHandlerSignalDone(err)

@@ -18,0 +23,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