diff options
Diffstat (limited to 'deps/npm/node_modules/query-string/node_modules/strict-uri-encode')
4 files changed, 0 insertions, 129 deletions
diff --git a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/index.js b/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/index.js deleted file mode 100644 index 414de96c51..0000000000 --- a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/index.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; -module.exports = function (str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return '%' + c.charCodeAt(0).toString(16).toUpperCase(); - }); -}; diff --git a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/license b/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/license deleted file mode 100644 index e0e915823d..0000000000 --- a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> (github.com/kevva) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/package.json b/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/package.json deleted file mode 100644 index 344b83ab40..0000000000 --- a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "_from": "strict-uri-encode@^1.0.0", - "_id": "strict-uri-encode@1.1.0", - "_inBundle": false, - "_integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", - "_location": "/query-string/strict-uri-encode", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "strict-uri-encode@^1.0.0", - "name": "strict-uri-encode", - "escapedName": "strict-uri-encode", - "rawSpec": "^1.0.0", - "saveSpec": null, - "fetchSpec": "^1.0.0" - }, - "_requiredBy": [ - "/query-string" - ], - "_resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "_shasum": "279b225df1d582b1f54e65addd4352e18faa0713", - "_spec": "strict-uri-encode@^1.0.0", - "_where": "/Users/rebecca/code/npm/node_modules/query-string", - "author": { - "name": "Kevin Mårtensson", - "email": "kevinmartensson@gmail.com", - "url": "github.com/kevva" - }, - "bugs": { - "url": "https://github.com/kevva/strict-uri-encode/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "A stricter URI encode adhering to RFC 3986", - "devDependencies": { - "ava": "^0.0.4" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/kevva/strict-uri-encode#readme", - "keywords": [ - "component", - "encode", - "RFC3986", - "uri" - ], - "license": "MIT", - "name": "strict-uri-encode", - "repository": { - "type": "git", - "url": "git+https://github.com/kevva/strict-uri-encode.git" - }, - "scripts": { - "test": "node test.js" - }, - "version": "1.1.0" -} diff --git a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/readme.md b/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/readme.md deleted file mode 100644 index b2407903a9..0000000000 --- a/deps/npm/node_modules/query-string/node_modules/strict-uri-encode/readme.md +++ /dev/null @@ -1,40 +0,0 @@ -# strict-uri-encode [![Build Status](https://travis-ci.org/kevva/strict-uri-encode.svg?branch=master)](https://travis-ci.org/kevva/strict-uri-encode) - -> A stricter URI encode adhering to [RFC 3986](http://tools.ietf.org/html/rfc3986) - - -## Install - -``` -$ npm install --save strict-uri-encode -``` - - -## Usage - -```js -var strictUriEncode = require('strict-uri-encode'); - -strictUriEncode('unicorn!foobar') -//=> 'unicorn%21foobar' - -strictUriEncode('unicorn*foobar') -//=> 'unicorn%2Afoobar' -``` - - -## API - -### strictUriEncode(string) - -#### string - -*Required* -Type: `string`, `number` - -String to URI encode. - - -## License - -MIT © [Kevin Mårtensson](http://github.com/kevva) |