2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

refactor: remove deprecated url-search-params polyfill for URLSearchParams (#5670)

This commit is contained in:
PIYUSH NEGI
2023-04-28 03:28:07 +05:30
committed by GitHub
parent 726f1c8e00
commit e18fdd893d
3 changed files with 2 additions and 18 deletions
+1 -15
View File
@@ -68,8 +68,7 @@
"stream-throttle": "^0.1.3",
"string-replace-async": "^3.0.2",
"terser-webpack-plugin": "^4.2.3",
"typescript": "^4.8.4",
"url-search-params": "^0.10.0"
"typescript": "^4.8.4"
}
},
"node_modules/@ampproject/remapping": {
@@ -22322,13 +22321,6 @@
"node": ">=4"
}
},
"node_modules/url-search-params": {
"version": "0.10.2",
"resolved": "https://registry.npmjs.org/url-search-params/-/url-search-params-0.10.2.tgz",
"integrity": "sha512-d6GYsr992Bo9rzTZFc9BUw3UFAAg3prE9JGVBgW2TLTbI3rSvg4VDa0BFXHMzKkWbAuhrmaFWpucpRJl+3W7Jg==",
"deprecated": "now available as @ungap/url-search-params",
"dev": true
},
"node_modules/url-to-options": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
@@ -41631,12 +41623,6 @@
"prepend-http": "^2.0.0"
}
},
"url-search-params": {
"version": "0.10.2",
"resolved": "https://registry.npmjs.org/url-search-params/-/url-search-params-0.10.2.tgz",
"integrity": "sha512-d6GYsr992Bo9rzTZFc9BUw3UFAAg3prE9JGVBgW2TLTbI3rSvg4VDa0BFXHMzKkWbAuhrmaFWpucpRJl+3W7Jg==",
"dev": true
},
"url-to-options": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
+1 -2
View File
@@ -132,8 +132,7 @@
"stream-throttle": "^0.1.3",
"string-replace-async": "^3.0.2",
"terser-webpack-plugin": "^4.2.3",
"typescript": "^4.8.4",
"url-search-params": "^0.10.0"
"typescript": "^4.8.4"
},
"browser": {
"./lib/adapters/http.js": "./lib/helpers/null.js",
-1
View File
@@ -1,5 +1,4 @@
import buildURL from '../../../lib/helpers/buildURL';
import URLSearchParams from 'url-search-params';
describe('helpers::buildURL', function () {
it('should support null params', function () {