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

@osskit/fetch-enhancers

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osskit/fetch-enhancers - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

3

dist/src/enhancers/withHeaders.d.ts

@@ -1,3 +0,2 @@

import { Headers } from 'node-fetch';
import { Fetch } from '../types';
export declare const withHeaders: (fetch: Fetch, headers: Headers) => Fetch;
export declare const withHeaders: (fetch: Fetch, headers: Record<string, string>) => Fetch;
{
"name": "@osskit/fetch-enhancers",
"version": "0.0.24",
"version": "0.0.25",
"repository": {

@@ -5,0 +5,0 @@ "url": "https://github.com/osskit/monitor"

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

import { Headers, RequestInfo, RequestInit } from 'node-fetch';
import { RequestInfo, RequestInit } from 'node-fetch';

@@ -6,3 +6,3 @@ import { Fetch } from '../types';

export const withHeaders =
(fetch: Fetch, headers: Headers): Fetch =>
(fetch: Fetch, headers: Record<string, string>): Fetch =>
(url: RequestInfo, init?: RequestInit) =>

@@ -9,0 +9,0 @@ fetch(url, {

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