Commit 2af4c9af authored by Robert Knight's avatar Robert Knight

Remove query-string dependency

Remove the query-string dependency and disallow use of Browserify's
querystring package. Going forwards all query string construction and
parsing should be done with URLSearchParams.
parent f39171fc
...@@ -77,7 +77,6 @@ ...@@ -77,7 +77,6 @@
"preact": "^10.4.0", "preact": "^10.4.0",
"prettier": "2.3.2", "prettier": "2.3.2",
"puppeteer": "^10.0.0", "puppeteer": "^10.0.0",
"query-string": "^3.0.1",
"redux": "^4.0.1", "redux": "^4.0.1",
"redux-thunk": "^2.1.0", "redux-thunk": "^2.1.0",
"reselect": "^4.0.0", "reselect": "^4.0.0",
......
...@@ -64,7 +64,7 @@ module.exports = function createBundle(config, buildOpts) { ...@@ -64,7 +64,7 @@ module.exports = function createBundle(config, buildOpts) {
// //
// See node_modules/browserify/lib/builtins.js to find out which // See node_modules/browserify/lib/builtins.js to find out which
// modules provide the implementations of these. // modules provide the implementations of these.
builtins: ['console', '_process', 'querystring'], builtins: ['console', '_process'],
externalRequireName, externalRequireName,
// Map of global variable names to functions returning _source code_ for // Map of global variable names to functions returning _source code_ for
......
...@@ -6552,13 +6552,6 @@ qs@6.7.0: ...@@ -6552,13 +6552,6 @@ qs@6.7.0:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc"
integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==
query-string@^3.0.1:
version "3.0.3"
resolved "https://registry.yarnpkg.com/query-string/-/query-string-3.0.3.tgz#ae2e14b4d05071d4e9b9eb4873c35b0dcd42e638"
integrity sha1-ri4UtNBQcdTpuetIc8NbDc1C5jg=
dependencies:
strict-uri-encode "^1.0.0"
querystring-es3@~0.2.0: querystring-es3@~0.2.0:
version "0.2.1" version "0.2.1"
resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73"
...@@ -7408,11 +7401,6 @@ streamroller@^2.2.4: ...@@ -7408,11 +7401,6 @@ streamroller@^2.2.4:
debug "^4.1.1" debug "^4.1.1"
fs-extra "^8.1.0" fs-extra "^8.1.0"
strict-uri-encode@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=
string-width@^1.0.1, string-width@^1.0.2: string-width@^1.0.1, string-width@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment