2
0

use-node16.patch 1.2 KB

12345678910111213141516171819202122232425262728
  1. diff --git a/build/lib/fetch.js b/build/lib/fetch.js
  2. index 2fed63b..9a9f013 100644
  3. --- a/build/lib/fetch.js
  4. +++ b/build/lib/fetch.js
  5. @@ -15,2 +15,3 @@ const crypto = require("crypto");
  6. const through2 = require("through2");
  7. +const fetch = require("node-fetch");
  8. function fetchUrls(urls, options) {
  9. diff --git a/build/linux/debian/install-sysroot.js b/build/linux/debian/install-sysroot.js
  10. index feca7d3..b4f6540 100644
  11. --- a/build/linux/debian/install-sysroot.js
  12. +++ b/build/linux/debian/install-sysroot.js
  13. @@ -15,2 +15,3 @@ const crypto_1 = require("crypto");
  14. const ansiColors = require("ansi-colors");
  15. +const fetch = require("node-fetch");
  16. // Based on https://source.chromium.org/chromium/chromium/src/+/main:build/linux/sysroot_scripts/install-sysroot.py.
  17. diff --git a/yarn.lock b/yarn.lock
  18. index 2f4c572..6b65370 100644
  19. --- a/yarn.lock
  20. +++ b/yarn.lock
  21. @@ -6458,2 +6458,7 @@ liftoff@^3.1.0:
  22. +lilconfig@^2.0.5:
  23. + version "2.1.0"
  24. + resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52"
  25. + integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==
  26. +
  27. lilconfig@^3.0.0: