WIP - add extractor, generate snippet_data
This commit is contained in:
30
node_modules/character-reference-invalid/index.json
generated
vendored
Normal file
30
node_modules/character-reference-invalid/index.json
generated
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"0": "<22>",
|
||||
"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": "Ÿ"
|
||||
}
|
||||
22
node_modules/character-reference-invalid/license
generated
vendored
Normal file
22
node_modules/character-reference-invalid/license
generated
vendored
Normal file
@ -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.
|
||||
109
node_modules/character-reference-invalid/package.json
generated
vendored
Normal file
109
node_modules/character-reference-invalid/package.json
generated
vendored
Normal file
@ -0,0 +1,109 @@
|
||||
{
|
||||
"_from": "character-reference-invalid@^1.0.0",
|
||||
"_id": "character-reference-invalid@1.1.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-VOq6PRzQBam/8Jm6XBGk2fNEnHXAdGd6go0rtd4weAGECBamHDwwCQSOT12TACIYUZegUXnV6xBXqUssijtxIg==",
|
||||
"_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.3.tgz",
|
||||
"_shasum": "1647f4f726638d3ea4a750cf5d1975c1c7919a85",
|
||||
"_spec": "character-reference-invalid@^1.0.0",
|
||||
"_where": "/Users/stefanfejes/Projects/30-seconds-of-python-code/node_modules/parse-entities",
|
||||
"author": {
|
||||
"name": "Titus Wormer",
|
||||
"email": "tituswormer@gmail.com",
|
||||
"url": "https://wooorm.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/wooorm/character-reference-invalid/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Titus Wormer",
|
||||
"email": "tituswormer@gmail.com",
|
||||
"url": "https://wooorm.com"
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "HTML invalid numeric character reference information",
|
||||
"devDependencies": {
|
||||
"bail": "^1.0.1",
|
||||
"browserify": "^16.0.0",
|
||||
"concat-stream": "^2.0.0",
|
||||
"hast-util-select": "^3.0.0",
|
||||
"hast-util-to-string": "^1.0.0",
|
||||
"rehype-parse": "^6.0.0",
|
||||
"remark-cli": "^6.0.0",
|
||||
"remark-preset-wooorm": "^4.0.0",
|
||||
"tape": "^4.0.0",
|
||||
"tinyify": "^2.5.0",
|
||||
"unified": "^7.0.0",
|
||||
"xo": "^0.24.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",
|
||||
"prettier": {
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"singleQuote": true,
|
||||
"bracketSpacing": false,
|
||||
"semi": false,
|
||||
"trailingComma": "none"
|
||||
},
|
||||
"remarkConfig": {
|
||||
"plugins": [
|
||||
"preset-wooorm"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/wooorm/character-reference-invalid.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build-bundle && npm run build-mangle",
|
||||
"build-bundle": "browserify index.json -s characterReferenceInvalid -o character-reference-invalid.js",
|
||||
"build-mangle": "browserify index.json -s characterReferenceInvalid -p tinyify -o character-reference-invalid.min.js",
|
||||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
|
||||
"generate": "node build",
|
||||
"test": "npm run generate && npm run format && npm run build && npm run test-api",
|
||||
"test-api": "node test"
|
||||
},
|
||||
"version": "1.1.3",
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"esnext": false,
|
||||
"ignores": [
|
||||
"character-reference-invalid.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
74
node_modules/character-reference-invalid/readme.md
generated
vendored
Normal file
74
node_modules/character-reference-invalid/readme.md
generated
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
# character-reference-invalid
|
||||
|
||||
[![Build][build-badge]][build]
|
||||
[![Downloads][downloads-badge]][downloads]
|
||||
[![Size][size-badge]][size]
|
||||
|
||||
HTML invalid numeric character reference information.
|
||||
|
||||
## Installation
|
||||
|
||||
[npm][]:
|
||||
|
||||
```bash
|
||||
npm install character-reference-invalid
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var characterReferenceInvalid = require('character-reference-invalid')
|
||||
|
||||
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 -->
|
||||
|
||||
[build-badge]: https://img.shields.io/travis/wooorm/character-reference-invalid.svg
|
||||
|
||||
[build]: https://travis-ci.org/wooorm/character-reference-invalid
|
||||
|
||||
[downloads-badge]: https://img.shields.io/npm/dm/character-reference-invalid.svg
|
||||
|
||||
[downloads]: https://www.npmjs.com/package/character-reference-invalid
|
||||
|
||||
[size-badge]: https://img.shields.io/bundlephobia/minzip/character-reference-invalid.svg
|
||||
|
||||
[size]: https://bundlephobia.com/result?p=character-reference-invalid
|
||||
|
||||
[npm]: https://docs.npmjs.com/cli/install
|
||||
|
||||
[license]: license
|
||||
|
||||
[author]: https://wooorm.com
|
||||
|
||||
[html]: https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides
|
||||
Reference in New Issue
Block a user