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 2.5.1 to 3.0.0

4

dist/index.d.ts

@@ -6,3 +6,3 @@ import { AbortController, AbortSignal } from "./lib/abort";

import { CookieJar } from "./lib/cookie-jar";
import { AbortError, DecodeFunction, Decoder, FetchInit, HttpProtocols, Method, OnTrailers, TimeoutError } from "./lib/core";
import { AbortError, DecodeFunction, Decoder, FetchInit, HttpProtocols, Method, OnTrailers, TimeoutError, HttpVersion } from "./lib/core";
import { Headers } from "./lib/headers";

@@ -23,2 +23,2 @@ import { Request } from "./lib/request";

};
export { setup, context, fetch, disconnect, disconnectAll, onPush, AbortController, AbortSignal, HttpProtocols, Body, JsonBody, StreamBody, DataBody, Headers, Request, Response, AbortError, TimeoutError, OnTrailers, ContextOptions, DecodeFunction, Decoder, CookieJar, Method, };
export { setup, context, fetch, disconnect, disconnectAll, onPush, AbortController, AbortSignal, HttpProtocols, Body, JsonBody, StreamBody, DataBody, Headers, Request, Response, AbortError, TimeoutError, HttpVersion, OnTrailers, ContextOptions, DecodeFunction, Decoder, CookieJar, Method, };

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

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

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

exports.parseInput = parseInput;
exports.identity = (t) => t;
const identity = (t) => t;
exports.identity = identity;
function uniq(arr, pred) {

@@ -63,0 +64,0 @@ if (!pred)

{
"name": "fetch-h2",
"version": "2.5.1",
"version": "3.0.0",
"description": "HTTP/1+2 Fetch API client for Node.js",

@@ -15,3 +15,3 @@ "author": "Gustaf Räntilä",

"engines": {
"node": ">=10.4"
"node": ">=12"
},

@@ -59,28 +59,28 @@ "files": [

"@types/from2": "^2.3.0",
"@types/jest": "^26.0.13",
"@types/node": "^14.6.4",
"@types/jest": "^26.0.23",
"@types/node": "^15.3.0",
"@types/recursive-readdir": "^2.2.0",
"@types/rimraf": "^3.0.0",
"@types/through2": "^2.0.36",
"commitizen": "^4.2.1",
"compd": "^1.3.7",
"concurrently": "^5.3.0",
"commitizen": "^4.2.4",
"compd": "^2.0.2",
"concurrently": "^6.1.0",
"cz-conventional-changelog": "^3.3.0",
"execa": "^4.0.3",
"execa": "^5.0.0",
"from2": "^2.3.0",
"jest": "^26.4.2",
"jest": "^26.6.3",
"list-open-files": "^1.1.0",
"mkcert": "^1.3.0",
"mkcert": "^1.4.0",
"recursive-readdir": "^2.2.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.3.0",
"ts-node": "^9.0.0",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"typescript": "^4.0.2"
"typescript": "^4.2.4"
},
"dependencies": {
"@types/tough-cookie": "^4.0.0",
"already": "^1.13.1",
"already": "^1.13.2",
"callguard": "^2.0.0",
"get-stream": "^6.0.0",
"get-stream": "^6.0.1",
"through2": "^4.0.2",

@@ -87,0 +87,0 @@ "to-arraybuffer": "^1.0.1",

@@ -34,3 +34,5 @@ [![npm version][npm-image]][npm-url]

Since 3.0.0, `fetch-h2` requires Node.js 12.
# API

@@ -37,0 +39,0 @@

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