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

lib

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

9

lib/local.js

@@ -56,5 +56,6 @@ const path = require('path');

let promise = fn(fnParams, (err, result, rheaders) => {
let promise;
promise = fn(fnParams, (err, result, rheaders) => {
if (promise && (promise instanceof Promise)) {
if (promise instanceof Promise) {
return;

@@ -78,6 +79,6 @@ }

if (promise && (promise instanceof Promise)) {
if (promise instanceof Promise) {
promise.catch(err => {
console.error(err);
callback(err)
callback(err);
}).then(result => callback(null, result));

@@ -84,0 +85,0 @@ }

{
"name": "lib",
"version": "2.2.1",
"version": "2.2.2",
"description": "StdLib: Standard Library for Microservices Node.js Bindings",

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

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