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

@next-core/http

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@next-core/http - npm Package Compare versions

Comparing version 1.1.11 to 1.2.0

2

dist/cjs/http.js

@@ -52,3 +52,3 @@ "use strict";

responseJson = await response.json();
} catch (e) {
} catch {
// Do nothing.

@@ -55,0 +55,0 @@ }

@@ -51,3 +51,3 @@ import _classPrivateMethodInitSpec from "@babel/runtime/helpers/classPrivateMethodInitSpec";

responseJson = yield response.json();
} catch (e) {
} catch (_unused) {
// Do nothing.

@@ -54,0 +54,0 @@ }

@@ -56,3 +56,3 @@ import { HttpAbortError, HttpFetchError, HttpParseError, HttpResponseError } from "./errors.js";

getUrlWithParams(url: string, params?: HttpParams): string;
getBodyAndHeaders(data: unknown, headers: HeadersInit): {
getBodyAndHeaders(data: unknown, headers?: HeadersInit): {
body?: BodyInit;

@@ -59,0 +59,0 @@ headers?: HeadersInit;

@@ -14,3 +14,3 @@ import * as HttpModuleV3 from "./exports.js";

getUrlWithParams(url: string, params?: HttpModuleV3.HttpParams | undefined): string;
getBodyAndHeaders(data: unknown, headers: HeadersInit): {
getBodyAndHeaders(data: unknown, headers?: HeadersInit | undefined): {
body?: BodyInit | undefined;

@@ -17,0 +17,0 @@ headers?: HeadersInit | undefined;

{
"name": "@next-core/http",
"version": "1.1.11",
"version": "1.2.0",
"description": "> TODO: description",

@@ -45,3 +45,3 @@ "homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/http",

},
"gitHead": "f1d78a35e4b72b99008750be9741fa0ec1772916"
"gitHead": "8255acda4ad909cc07087dd99755325e3f31fb70"
}

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