mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
refactor: remove deprecated url-search-params polyfill for URLSearchParams (#5670)
This commit is contained in:
Generated
+1
-15
@@ -68,8 +68,7 @@
|
|||||||
"stream-throttle": "^0.1.3",
|
"stream-throttle": "^0.1.3",
|
||||||
"string-replace-async": "^3.0.2",
|
"string-replace-async": "^3.0.2",
|
||||||
"terser-webpack-plugin": "^4.2.3",
|
"terser-webpack-plugin": "^4.2.3",
|
||||||
"typescript": "^4.8.4",
|
"typescript": "^4.8.4"
|
||||||
"url-search-params": "^0.10.0"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@ampproject/remapping": {
|
"node_modules/@ampproject/remapping": {
|
||||||
@@ -22322,13 +22321,6 @@
|
|||||||
"node": ">=4"
|
"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": {
|
"node_modules/url-to-options": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
|
||||||
@@ -41631,12 +41623,6 @@
|
|||||||
"prepend-http": "^2.0.0"
|
"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": {
|
"url-to-options": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
|
||||||
|
|||||||
+1
-2
@@ -132,8 +132,7 @@
|
|||||||
"stream-throttle": "^0.1.3",
|
"stream-throttle": "^0.1.3",
|
||||||
"string-replace-async": "^3.0.2",
|
"string-replace-async": "^3.0.2",
|
||||||
"terser-webpack-plugin": "^4.2.3",
|
"terser-webpack-plugin": "^4.2.3",
|
||||||
"typescript": "^4.8.4",
|
"typescript": "^4.8.4"
|
||||||
"url-search-params": "^0.10.0"
|
|
||||||
},
|
},
|
||||||
"browser": {
|
"browser": {
|
||||||
"./lib/adapters/http.js": "./lib/helpers/null.js",
|
"./lib/adapters/http.js": "./lib/helpers/null.js",
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import buildURL from '../../../lib/helpers/buildURL';
|
import buildURL from '../../../lib/helpers/buildURL';
|
||||||
import URLSearchParams from 'url-search-params';
|
|
||||||
|
|
||||||
describe('helpers::buildURL', function () {
|
describe('helpers::buildURL', function () {
|
||||||
it('should support null params', function () {
|
it('should support null params', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user