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 Versions

1

1.1.0

Diff

Changelog

Source

v1.1.0

compare changes

🚀 Enhancements

  • Support ignoreResponseError option (#221)
  • pkg: Add export conditions for runtime keys (#246)

🩹 Fixes

  • Pass empty object to headers initializer to prevent crash on chrome 49 (#235)
  • Export ResponseMap type to allow composition of ofetch (#232)
  • Fix issues with native node fetch (#245)
  • pkg: Add ./package.json subpath (253707a)
  • Deep merge fetch options (#243)

📖 Documentation

  • readme: Use _data rather than data for raw requests (#239)
  • Mention DELETE is no-retry be default (#241)

🏡 Chore

  • readme: Small improvements (65921a1)

🤖 CI

  • Enable tests against node 16, 18 and 20 (351fc80)

❤️ Contributors

pi0
published 1.0.1 •

Changelog

Source

v1.0.1

compare changes

🩹 Fixes

  • Improve error message for request errors (#199)

📖 Documentation

  • Fix small typos (#200)
  • Fix typo (#175)
  • Add agent option usage (#173)
  • Add note about http agent (#202)

📦 Build

  • Use standalone commonjs dist (#211)

🏡 Chore

🎨 Styles

❤️ Contributors

pi0
published 1.0.0 •

Changelog

Source

1.0.0 (2022-11-15)

⚠ BREAKING CHANGES

  • drop undici support

Features

pi0
published 0.4.21 •

Changelog

Source

0.4.21 (2022-11-03)

Features

  • add status and statusText to fetch errors (#152) (784a7c0)

Bug Fixes

  • only call error handler if status code is >= 400 (#153) (385f7fe)
pi0
published 0.2.2 •

pi0
published 0.0.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