aboutsummaryrefslogtreecommitdiff
path: root/node_modules/strict-uri-encode
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2018-11-08 00:43:05 +0800
committerruki <waruqi@gmail.com>2018-11-07 22:18:30 +0800
commit89e95b3f143682ed9a006991bacf45c9dcba4818 (patch)
tree4f44cf41b828577d583890bdd5a1c31e8491a6ba /node_modules/strict-uri-encode
parentaa7f0199255277949790b41c56e8ec97dd4f0da4 (diff)
downloadxmake-docs-vuepress.tar.gz
xmake-docs-vuepress.zip
remove node_modulesvuepress
Diffstat (limited to 'node_modules/strict-uri-encode')
-rw-r--r--node_modules/strict-uri-encode/index.js6
-rw-r--r--node_modules/strict-uri-encode/license21
-rw-r--r--node_modules/strict-uri-encode/package.json30
-rw-r--r--node_modules/strict-uri-encode/readme.md40
4 files changed, 0 insertions, 97 deletions
diff --git a/node_modules/strict-uri-encode/index.js b/node_modules/strict-uri-encode/index.js
deleted file mode 100644
index 414de96c..00000000
--- a/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/node_modules/strict-uri-encode/license b/node_modules/strict-uri-encode/license
deleted file mode 100644
index e0e91582..00000000
--- a/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/node_modules/strict-uri-encode/package.json b/node_modules/strict-uri-encode/package.json
deleted file mode 100644
index 0028e1b3..00000000
--- a/node_modules/strict-uri-encode/package.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "name": "strict-uri-encode",
- "version": "1.1.0",
- "description": "A stricter URI encode adhering to RFC 3986",
- "license": "MIT",
- "repository": "kevva/strict-uri-encode",
- "author": {
- "name": "Kevin Mårtensson",
- "email": "kevinmartensson@gmail.com",
- "url": "github.com/kevva"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "component",
- "encode",
- "RFC3986",
- "uri"
- ],
- "devDependencies": {
- "ava": "^0.0.4"
- }
-}
diff --git a/node_modules/strict-uri-encode/readme.md b/node_modules/strict-uri-encode/readme.md
deleted file mode 100644
index 2763272d..00000000
--- a/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)