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 4.1.1 to 4.1.2

9

lib/remote.js

@@ -61,3 +61,3 @@ const https = require('https');

pathname = pathname + '/';
if (params.__path) {
if (params.hasOwnProperty('__path')) {
pathname = pathname + params.__path;

@@ -72,2 +72,9 @@ if (!pathname.endsWith('/')) {

if (params.hasOwnProperty('__providers')) {
headers['X-Authorization-Providers'] = typeof params.__providers === 'string'
? params.__providers
: JSON.stringify(params.__providers);
delete params.__providers;
}
headers['Content-Type'] = 'application/json';

@@ -74,0 +81,0 @@ headers['X-Faaslang'] = 'true';

2

package.json
{
"name": "lib",
"version": "4.1.1",
"version": "4.1.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