mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 23:03:36 +01:00
9 lines
274 B
JavaScript
Vendored
9 lines
274 B
JavaScript
Vendored
var decodeUriComponent = require("decode-uri-component")
|
|
|
|
function customDecodeUriComponent(string) {
|
|
// `decodeUriComponent` turns `+` into ` `, but that's not wanted.
|
|
return decodeUriComponent(string.replace(/\+/g, "%2B"))
|
|
}
|
|
|
|
module.exports = customDecodeUriComponent
|