New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fetch-h2

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-h2 - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

2

dist/lib/generated/version.d.ts

@@ -1,1 +0,1 @@

export declare const version = "1.2.2";
export declare const version = "1.2.3";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "1.2.2";
exports.version = "1.2.3";
//# sourceMappingURL=version.js.map

@@ -20,3 +20,4 @@ "use strict";

const contentLength = headers.get(HTTP2_HEADER_CONTENT_LENGTH);
const length = contentLength == null
const contentEncoding = headers.get(HTTP2_HEADER_CONTENT_ENCODING);
const length = (contentLength == null || contentEncoding != null)
? null

@@ -23,0 +24,0 @@ : parseInt(contentLength, 10);

@@ -82,3 +82,8 @@ "use strict";

});
it("should be possible to GET gzip data", async () => {
const response = await __1.fetch("https://nghttp2.org/httpbin/gzip");
const data = await response.json();
chai_1.expect(data).to.deep.include({ gzipped: true, method: "GET" });
});
});
//# sourceMappingURL=nghttp2.org.js.map
{
"name": "fetch-h2",
"version": "1.2.2",
"version": "1.2.3",
"description": "HTTP/2-only Fetch API client for Node.js",

@@ -5,0 +5,0 @@ "author": "Gustaf Räntilä",

Sorry, the diff of this file is not supported yet

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