added unit testing, and started implementing unit tests...phew
This commit is contained in:
11
node_modules/source-map-resolve/lib/decode-uri-component.js
generated
vendored
Normal file
11
node_modules/source-map-resolve/lib/decode-uri-component.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
// Copyright 2017 Simon Lydell
|
||||
// X11 (“MIT”) Licensed. (See LICENSE.)
|
||||
|
||||
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
|
Reference in New Issue
Block a user