Sha256: 3534768429676d7054e038d7d2a4aa255c82f0e9629894c9d5e27e3fd010d496

Contents?: true

Size: 350 Bytes

Versions: 27

Compression:

Stored size: 350 Bytes

Contents

// 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

Version data entries

27 entries across 27 versions & 8 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.18.2 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.16.1 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.15.2 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.18.4 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.18.1 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.14.0 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
jester-data-8.0.0 node_modules/source-map-resolve/lib/decode-uri-component.js
ezii-os-5.2.1 node_modules/source-map-resolve/lib/decode-uri-component.js
ezii-os-2.0.1 node_modules/source-map-resolve/lib/decode-uri-component.js
ezii-os-1.1.0 node_modules/source-map-resolve/lib/decode-uri-component.js
ezii-os-1.0.0 node_modules/source-map-resolve/lib/decode-uri-component.js
ezii-os-0.0.0.1.0 node_modules/source-map-resolve/lib/decode-uri-component.js
ezii-os-0.0.0.0.1 node_modules/source-map-resolve/lib/decode-uri-component.js
optimacms-0.4.3 spec/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
optimacms-0.4.2 spec/dummy/node_modules/source-map-resolve/lib/decode-uri-component.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/source-map-resolve/lib/decode-uri-component.js
lux_assets-0.2.11 ./node_modules/source-map-resolve/lib/decode-uri-component.js