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

servie

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

servie - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

12

dist/node.js

@@ -194,12 +194,16 @@ "use strict";

}
if (rawBody instanceof ArrayBuffer) {
if (isStream(rawBody)) {
if (typeof rawBody.getHeaders === "function") {
headers.extend(rawBody.getHeaders());
}
return headers;
}
if (Buffer.isBuffer(rawBody)) {
if (!omitDefaultHeaders && !headers.has("Content-Length")) {
headers.set("Content-Length", rawBody.byteLength.toString());
headers.set("Content-Length", String(rawBody.length));
}
return headers;
}
if (rawBody instanceof ReadableStream)
return headers;
throw new TypeError("Unknown body type");
}
//# sourceMappingURL=node.js.map
{
"name": "servie",
"version": "4.2.0",
"version": "4.2.1",
"description": "Standard HTTP interfaces for HTTP clients and servers in node.js and browsers",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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