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

@netlify/functions

Package Overview
Dependencies
Maintainers
19
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/functions - npm Package Compare versions

Comparing version 0.7.3-streaming.5 to 0.7.3-streaming.6

2

package.json

@@ -5,3 +5,3 @@ {

"types": "./src/main.d.ts",
"version": "0.7.3-streaming.5",
"version": "0.7.3-streaming.6",
"description": "JavaScript utilities for Netlify Functions",

@@ -8,0 +8,0 @@ "files": [

@@ -20,3 +20,4 @@ /* eslint-disable no-underscore-dangle , promise/prefer-await-to-callbacks, */

const parsedUrl = new URL(url)
this.outgoingMessage = parsedUrl.protocol === 'https:' ? https.request(url) : http.request(url)
this.outgoingMessage =
parsedUrl.protocol === 'https:' ? https.request(url, { method: 'POST' }) : http.request(url, { method: 'POST' })
this.outgoingMessage.setHeader('x-nf-metadata-boundary', this.METADATA_BOUNDARY)

@@ -23,0 +24,0 @@ this.pipe(this.outgoingMessage)

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