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

ofetch

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ofetch - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

dist/shared/ofetch.00501375.mjs

4

dist/index.d.ts

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

import { $ as $Fetch } from './shared/ofetch.7eda91bf.js';
export { C as CreateFetchOptions, b as FetchContext, e as FetchError, c as FetchOptions, F as FetchRequest, a as FetchResponse, S as SearchParameters, d as createFetch, f as createFetchError } from './shared/ofetch.7eda91bf.js';
import { $ as $Fetch } from './shared/ofetch.0b644faf.js';
export { C as CreateFetchOptions, b as FetchContext, e as FetchError, c as FetchOptions, F as FetchRequest, a as FetchResponse, I as IFetchError, S as SearchParameters, d as createFetch, f as createFetchError } from './shared/ofetch.0b644faf.js';

@@ -4,0 +4,0 @@ declare const fetch: typeof globalThis.fetch;

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

import { $ as $Fetch } from './shared/ofetch.7eda91bf.js';
export { C as CreateFetchOptions, b as FetchContext, e as FetchError, c as FetchOptions, F as FetchRequest, a as FetchResponse, S as SearchParameters, d as createFetch, f as createFetchError } from './shared/ofetch.7eda91bf.js';
import { $ as $Fetch } from './shared/ofetch.0b644faf.js';
export { C as CreateFetchOptions, b as FetchContext, e as FetchError, c as FetchOptions, F as FetchRequest, a as FetchResponse, I as IFetchError, S as SearchParameters, d as createFetch, f as createFetchError } from './shared/ofetch.0b644faf.js';

@@ -4,0 +4,0 @@ declare function createNodeFetch(): (input: RequestInfo, init?: RequestInit) => any;

{
"name": "ofetch",
"version": "1.3.1",
"version": "1.3.2",
"description": "A better fetch API. Works on node, browser and workers.",

@@ -5,0 +5,0 @@ "repository": "unjs/ofetch",

@@ -95,3 +95,3 @@ # ofetch

await ofetch("https://google.com/404");
// FetchError: [GET] "https://google/404": 404 "Not Found"
// FetchError: [GET] "https://google/404": 404 Not Found
// at async main (/project/playground.ts:4:3)

@@ -98,0 +98,0 @@ ```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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