diff options
Diffstat (limited to 'deps/npm/node_modules/strict-uri-encode/index.js')
-rw-r--r-- | deps/npm/node_modules/strict-uri-encode/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/npm/node_modules/strict-uri-encode/index.js b/deps/npm/node_modules/strict-uri-encode/index.js new file mode 100644 index 0000000000..affabef0c8 --- /dev/null +++ b/deps/npm/node_modules/strict-uri-encode/index.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`); |