Files
gemini-cli/patches/whatwg-url+5.0.0.patch

12 lines
471 B
Diff

diff --git a/node_modules/whatwg-url/lib/url-state-machine.js b/node_modules/whatwg-url/lib/url-state-machine.js
index 27d977a..2f5633a 100644
--- a/node_modules/whatwg-url/lib/url-state-machine.js
+++ b/node_modules/whatwg-url/lib/url-state-machine.js
@@ -1,5 +1,5 @@
"use strict";
-const punycode = require("punycode");
+const punycode = require("punycode/"); // Trailing slash ensures userland package usage
const tr46 = require("tr46");
const specialSchemes = {