New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@whatwg-node/fetch

Package Overview
Dependencies
Maintainers
1
Versions
530
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whatwg-node/fetch - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2-alpha-20241118225909-f824d8ba44ac5656a08e47e3deb8aa9840bd1054

12

CHANGELOG.md
# @whatwg-node/fetch
## 0.10.2-alpha-20241118225909-f824d8ba44ac5656a08e47e3deb8aa9840bd1054
### Patch Changes
- [#1814](https://github.com/ardatan/whatwg-node/pull/1814)
[`d4e9457`](https://github.com/ardatan/whatwg-node/commit/d4e945783576f1ba92f37b1bbb8b41e23b8dd5bb)
Thanks [@ardatan](https://github.com/ardatan)! - Small improvements for Bun support
- Updated dependencies
[[`d4e9457`](https://github.com/ardatan/whatwg-node/commit/d4e945783576f1ba92f37b1bbb8b41e23b8dd5bb)]:
- @whatwg-node/node-fetch@0.7.3-alpha-20241118225909-f824d8ba44ac5656a08e47e3deb8aa9840bd1054
## 0.10.1

@@ -4,0 +16,0 @@

8

dist/create-node-ponyfill.js
const shouldSkipPonyfill = require('./shouldSkipPonyfill');
let newNodeFetch;

@@ -14,3 +15,6 @@ module.exports = function createNodePonyfill(opts = {}) {

if (opts.skipPonyfill || shouldSkipPonyfill()) {
if (
(opts.skipPonyfill || shouldSkipPonyfill())
&& opts.skipPonyfill !== false
) {
return {

@@ -41,3 +45,3 @@ fetch: globalThis.fetch,

const newNodeFetch = require('@whatwg-node/node-fetch');
newNodeFetch ||= require('@whatwg-node/node-fetch');

@@ -44,0 +48,0 @@ ponyfills.fetch = newNodeFetch.fetch;

{
"name": "@whatwg-node/fetch",
"version": "0.10.1",
"version": "0.10.2-alpha-20241118225909-f824d8ba44ac5656a08e47e3deb8aa9840bd1054",
"description": "Cross Platform Smart Fetch Ponyfill",

@@ -19,3 +19,3 @@ "repository": {

"dependencies": {
"@whatwg-node/node-fetch": "^0.7.1",
"@whatwg-node/node-fetch": "0.7.3-alpha-20241118225909-f824d8ba44ac5656a08e47e3deb8aa9840bd1054",
"urlpattern-polyfill": "^10.0.0"

@@ -22,0 +22,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