Added patches for deps using old punycode
This commit is contained in:
15
patches/tr46@0.0.3.patch
Normal file
15
patches/tr46@0.0.3.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git a/.npmignore b/.npmignore
|
||||
deleted file mode 100644
|
||||
index 96e9161fde31e9906718f689d5cc135e507a51e1..0000000000000000000000000000000000000000
|
||||
diff --git a/index.js b/index.js
|
||||
index 9ce12ca2d026fa202f7a0d32e0a7c8526660ed78..7c3b5d7ff1624d2bfbb5b83f69a9b460e38dbeab 100644
|
||||
--- a/index.js
|
||||
+++ b/index.js
|
||||
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
-var punycode = require("punycode");
|
||||
+var punycode = require("punycode/");
|
||||
var mappingTable = require("./lib/mappingTable.json");
|
||||
|
||||
var PROCESSING_OPTIONS = {
|
||||
11
patches/whatwg-url@5.0.0.patch
Normal file
11
patches/whatwg-url@5.0.0.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff --git a/lib/url-state-machine.js b/lib/url-state-machine.js
|
||||
index c25dbc2c486289fbd7446baed24dc6343f0226f6..e1681d27501013c5e6aa9b720b32338c177b692c 100644
|
||||
--- a/lib/url-state-machine.js
|
||||
+++ b/lib/url-state-machine.js
|
||||
@@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
-const punycode = require("punycode");
|
||||
+const punycode = require("punycode/");
|
||||
const tr46 = require("tr46");
|
||||
|
||||
const specialSchemes = {
|
||||
Reference in New Issue
Block a user