Newer
Older
alert / js / node_modules / source-map-resolve / lib / decode-uri-component.js
@Réz István Réz István on 18 Nov 2021 274 bytes first commit
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