Skip to content

Commit

Permalink
Merge pull request #12739 from jamauro/jamauro-patch-1
Browse files Browse the repository at this point in the history
Bump Npm.depends packages for fetch
  • Loading branch information
Grubba27 committed Oct 3, 2023
2 parents 382c43b + 64025bf commit 8b25696
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/fetch/package.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Package.describe({
name: "fetch",
version: '0.1.3',
version: '0.1.4',
summary: "Isomorphic modern/legacy/Node polyfill for WHATWG fetch()",
documentation: "README.md"
});

Npm.depends({
"node-fetch": "2.3.0",
"whatwg-fetch": "2.0.4"
"node-fetch": "2.6.12",
"whatwg-fetch": "3.6.17"
});

Package.onUse(function(api) {
Expand Down
2 changes: 1 addition & 1 deletion packages/fetch/server.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fetch = require("node-fetch");

exports.fetch = fetch;
exports.fetch = fetch.default;
exports.Headers = fetch.Headers;
exports.Request = fetch.Request;
exports.Response = fetch.Response;
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/apps/dynamic-import/.meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ lazy-test-package
helper-package
user:colon-name
underscore@1.0.11
fetch@0.1.1
fetch
jquery

0 comments on commit 8b25696

Please sign in to comment.