@whatwg-node/fetch 0.9.8 → 0.9.9-alpha-20230714132731-d012863
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -2
- package/dist/node-ponyfill.js +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @whatwg-node/fetch
|
|
2
2
|
|
|
3
|
+
## 0.9.9-alpha-20230714132731-d012863
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
[[`d012863`](https://github.com/ardatan/whatwg-node/commit/d012863c6352ae147f2416e82c4b6af2bdf430ac)]:
|
|
9
|
+
- @whatwg-node/node-fetch@0.5.0-alpha-20230714132731-d012863
|
|
10
|
+
|
|
3
11
|
## 0.9.8
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -369,8 +377,8 @@
|
|
|
369
377
|
[`563cfaa`](https://github.com/ardatan/whatwg-node/commit/563cfaaacf8bb0b08371b7f44887321d7e7c472d)
|
|
370
378
|
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
|
|
371
379
|
- Added dependency
|
|
372
|
-
[`urlpattern-polyfill@^6.0.2` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/6.0.2)
|
|
373
|
-
`dependencies`)
|
|
380
|
+
[`urlpattern-polyfill@^6.0.2` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/6.0.2)
|
|
381
|
+
(to `dependencies`)
|
|
374
382
|
|
|
375
383
|
## 0.5.4
|
|
376
384
|
|
package/dist/node-ponyfill.js
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
const createNodePonyfill = require('./create-node-ponyfill');
|
|
3
3
|
const ponyfills = createNodePonyfill();
|
|
4
4
|
|
|
5
|
+
try {
|
|
6
|
+
globalThis.libcurl = globalThis.libcurl || require('node-libcurl');
|
|
7
|
+
} catch(e) {}
|
|
8
|
+
|
|
5
9
|
module.exports.fetch = ponyfills.fetch;
|
|
6
10
|
module.exports.Headers = ponyfills.Headers;
|
|
7
11
|
module.exports.Request = ponyfills.Request;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whatwg-node/fetch",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9-alpha-20230714132731-d012863",
|
|
4
4
|
"description": "Cross Platform Smart Fetch Ponyfill",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"browser": "dist/global-ponyfill.js",
|
|
17
17
|
"types": "dist/index.d.ts",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@whatwg-node/node-fetch": "
|
|
19
|
+
"@whatwg-node/node-fetch": "0.5.0-alpha-20230714132731-d012863",
|
|
20
20
|
"urlpattern-polyfill": "^9.0.0"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|