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

@serverless/platform-sdk

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/platform-sdk - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

17

dist/fetch.js

@@ -77,3 +77,10 @@ 'use strict';

case 0:
_context.next = 2;
if (process.env.SDK_HTTP_DEBUG) {
// eslint-disable-next-line no-console
console.log(`platform-sdk fetching: ${options.method || 'GET'} ${url} ${JSON.stringify(options.headers) || 'NO_HEADERS'} ${options.body || 'NO_BODY'}`);
} else if (process.env.SLS_DEBUG) {
// eslint-disable-next-line no-console
console.log(`platform-sdk fetching: ${options.method || 'GET'} ${url}`);
}
_context.next = 3;
return (0, _isomorphicFetch2.default)(url, Object.assign({

@@ -85,11 +92,11 @@ agent

case 2:
case 3:
response = _context.sent;
_context.next = 5;
_context.next = 6;
return (0, _utils.checkHttpResponse)(response);
case 5:
case 6:
return _context.abrupt('return', response);
case 6:
case 7:
case 'end':

@@ -96,0 +103,0 @@ return _context.stop();

{
"name": "@serverless/platform-sdk",
"version": "2.0.0",
"version": "2.0.1",
"description": "Serverless Platform SDK",

@@ -5,0 +5,0 @@ "author": "Serverless, Inc.",

Sorry, the diff of this file is not supported yet

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