summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/character-reference-invalid
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2017-12-22 16:53:42 +0100
committerMichaël Zasso <targos@protonmail.com>2018-01-11 09:48:05 +0100
commit3dc30632755713179f345f4af024bd904c6162d0 (patch)
treef28c4f6dd6dfc5992edf301449d1a371d229755b /tools/node_modules/eslint/node_modules/character-reference-invalid
parenta2c7085dd4a8e60d1a47572aca8bb6fcb7a32f88 (diff)
downloadnode-new-3dc30632755713179f345f4af024bd904c6162d0.tar.gz
tools: move eslint from tools to tools/node_modules
This is required because we need to add the babel-eslint dependency and it has to be able to resolve "eslint". babel-eslint is required to support future ES features such as async iterators and import.meta. Refs: https://github.com/nodejs/node/pull/17755 PR-URL: https://github.com/nodejs/node/pull/17820 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/node_modules/character-reference-invalid')
-rw-r--r--tools/node_modules/eslint/node_modules/character-reference-invalid/LICENSE22
-rw-r--r--tools/node_modules/eslint/node_modules/character-reference-invalid/index.json30
-rw-r--r--tools/node_modules/eslint/node_modules/character-reference-invalid/package.json105
-rw-r--r--tools/node_modules/eslint/node_modules/character-reference-invalid/readme.md60
4 files changed, 217 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/character-reference-invalid/LICENSE b/tools/node_modules/eslint/node_modules/character-reference-invalid/LICENSE
new file mode 100644
index 0000000000..32e7a3d93c
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/character-reference-invalid/LICENSE
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) 2015 Titus Wormer <tituswormer@gmail.com>
+
+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/tools/node_modules/eslint/node_modules/character-reference-invalid/index.json b/tools/node_modules/eslint/node_modules/character-reference-invalid/index.json
new file mode 100644
index 0000000000..9337a854e4
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/character-reference-invalid/index.json
@@ -0,0 +1,30 @@
+{
+ "0": "�",
+ "128": "€",
+ "130": "‚",
+ "131": "ƒ",
+ "132": "„",
+ "133": "…",
+ "134": "†",
+ "135": "‡",
+ "136": "ˆ",
+ "137": "‰",
+ "138": "Š",
+ "139": "‹",
+ "140": "Œ",
+ "142": "Ž",
+ "145": "‘",
+ "146": "’",
+ "147": "“",
+ "148": "”",
+ "149": "•",
+ "150": "–",
+ "151": "—",
+ "152": "˜",
+ "153": "™",
+ "154": "š",
+ "155": "›",
+ "156": "œ",
+ "158": "ž",
+ "159": "Ÿ"
+}
diff --git a/tools/node_modules/eslint/node_modules/character-reference-invalid/package.json b/tools/node_modules/eslint/node_modules/character-reference-invalid/package.json
new file mode 100644
index 0000000000..525d7624df
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/character-reference-invalid/package.json
@@ -0,0 +1,105 @@
+{
+ "_from": "character-reference-invalid@^1.0.0",
+ "_id": "character-reference-invalid@1.1.1",
+ "_inBundle": false,
+ "_integrity": "sha1-lCg191Dk7GGjCOYMLvjMEBEgLvw=",
+ "_location": "/character-reference-invalid",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "character-reference-invalid@^1.0.0",
+ "name": "character-reference-invalid",
+ "escapedName": "character-reference-invalid",
+ "rawSpec": "^1.0.0",
+ "saveSpec": null,
+ "fetchSpec": "^1.0.0"
+ },
+ "_requiredBy": [
+ "/parse-entities"
+ ],
+ "_resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.1.tgz",
+ "_shasum": "942835f750e4ec61a308e60c2ef8cc1011202efc",
+ "_spec": "character-reference-invalid@^1.0.0",
+ "_where": "/Users/cjihrig/iojs/node/tools/eslint-tmp/node_modules/eslint/node_modules/parse-entities",
+ "author": {
+ "name": "Titus Wormer",
+ "email": "tituswormer@gmail.com",
+ "url": "http://wooorm.com"
+ },
+ "bugs": {
+ "url": "https://github.com/wooorm/character-reference-invalid/issues"
+ },
+ "bundleDependencies": false,
+ "contributors": [
+ {
+ "name": "Titus Wormer",
+ "email": "tituswormer@gmail.com",
+ "url": "http://wooorm.com"
+ }
+ ],
+ "dependencies": {},
+ "deprecated": false,
+ "description": "HTML invalid numeric character reference information",
+ "devDependencies": {
+ "bail": "^1.0.1",
+ "browserify": "^14.0.0",
+ "concat-stream": "^1.6.0",
+ "esmangle": "^1.0.1",
+ "hast-util-select": "^1.0.1",
+ "hast-util-to-string": "^1.0.0",
+ "rehype-parse": "^4.0.0",
+ "remark-cli": "^3.0.0",
+ "remark-preset-wooorm": "^3.0.0",
+ "tape": "^4.0.0",
+ "unified": "^6.1.5",
+ "xo": "^0.18.0"
+ },
+ "files": [
+ "index.json"
+ ],
+ "homepage": "https://github.com/wooorm/character-reference-invalid#readme",
+ "keywords": [
+ "html",
+ "entity",
+ "numeric",
+ "character",
+ "reference",
+ "replacement",
+ "invalid",
+ "name"
+ ],
+ "license": "MIT",
+ "main": "index.json",
+ "name": "character-reference-invalid",
+ "remarkConfig": {
+ "plugins": [
+ "preset-wooorm"
+ ]
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/wooorm/character-reference-invalid.git"
+ },
+ "scripts": {
+ "build": "npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle",
+ "build-bundle": "browserify index.json --bare -s characterReferenceInvalid > character-reference-invalid.js",
+ "build-generate": "node build",
+ "build-mangle": "esmangle character-reference-invalid.js > character-reference-invalid.min.js",
+ "build-md": "remark . -qfo",
+ "lint": "xo",
+ "test": "npm run build && npm run lint && npm run test-api",
+ "test-api": "node test"
+ },
+ "version": "1.1.1",
+ "xo": {
+ "space": true,
+ "esnext": false,
+ "rules": {
+ "guard-for-in": "off"
+ },
+ "ignores": [
+ "character-reference-invalid.js"
+ ]
+ }
+}
diff --git a/tools/node_modules/eslint/node_modules/character-reference-invalid/readme.md b/tools/node_modules/eslint/node_modules/character-reference-invalid/readme.md
new file mode 100644
index 0000000000..487c61de5f
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/character-reference-invalid/readme.md
@@ -0,0 +1,60 @@
+# character-reference-invalid [![Build Status][travis-badge]][travis]
+
+HTML invalid numeric character reference information.
+
+## Installation
+
+[npm][]:
+
+```bash
+npm install character-reference-invalid
+```
+
+## Usage
+
+```js
+console.log(characterReferenceInvalid[0x80]); //=> '€'
+console.log(characterReferenceInvalid[0x89]); //=> '‰'
+console.log(characterReferenceInvalid[0x99]); //=> '™'
+```
+
+## API
+
+### `characterReferenceInvalid`
+
+Mapping between invalid numeric character reference to replacements.
+
+## Support
+
+See [html.spec.whatwg.org][html].
+
+## Related
+
+* [`character-entities`](https://github.com/wooorm/character-entities)
+ — HTML character entity info
+* [`character-entities-html4`](https://github.com/wooorm/character-entities-html4)
+ — HTML 4 character entity info
+* [`character-entities-legacy`](https://github.com/wooorm/character-entities-legacy)
+ — Legacy character entity info
+* [`parse-entities`](https://github.com/wooorm/parse-entities)
+ — Parse HTML character references
+* [`stringify-entities`](https://github.com/wooorm/stringify-entities)
+ — Stringify HTML character references
+
+## License
+
+[MIT][license] © [Titus Wormer][author]
+
+<!-- Definitions -->
+
+[travis-badge]: https://img.shields.io/travis/wooorm/character-reference-invalid.svg
+
+[travis]: https://travis-ci.org/wooorm/character-reference-invalid
+
+[npm]: https://docs.npmjs.com/cli/install
+
+[license]: LICENSE
+
+[author]: http://wooorm.com
+
+[html]: https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides