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.2 to 2.2.3

7

lib/local.js
const path = require('path');
const fs = require('fs');
const FUNCTION_PATH = fs.existsSync('f') ? 'f' : 'functions';
module.exports = (cfg, names, args, kwargs, body, callback) => {

@@ -18,4 +21,4 @@

names;
let pathname = path.join.apply(null, [process.cwd()].concat('f', names, 'index.js'));
let fnpathname = path.join.apply(null, [process.cwd()].concat('f', names, 'function.json'));
let pathname = path.join.apply(null, [process.cwd()].concat(FUNCTION_PATH, names, 'index.js'));
let fnpathname = path.join.apply(null, [process.cwd()].concat(FUNCTION_PATH, names, 'function.json'));
let fn;

@@ -22,0 +25,0 @@ let fndata;

{
"name": "lib",
"version": "2.2.2",
"version": "2.2.3",
"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