These files should not be added
This commit is contained in:
19
build/javascript/node_modules/twemoji-parser/LICENSE.md
generated
vendored
19
build/javascript/node_modules/twemoji-parser/LICENSE.md
generated
vendored
@@ -1,19 +0,0 @@
|
||||
Copyright (c) 2018 Twitter, Inc.
|
||||
|
||||
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.
|
||||
58
build/javascript/node_modules/twemoji-parser/README.md
generated
vendored
58
build/javascript/node_modules/twemoji-parser/README.md
generated
vendored
@@ -1,58 +0,0 @@
|
||||
# Twemoji Parser [](https://travis-ci.com/twitter/twemoji-parser)
|
||||
|
||||
A simple library for identifying emoji entities within a string in order to render them as Twemoji.
|
||||
|
||||
For example, this parser is used within the rendering flow for Tweets and other text on [mobile.twitter.com](https://mobile.twitter.com)
|
||||
|
||||
## Setup
|
||||
Add `twemoji-parser` as a dependency to your project:
|
||||
```
|
||||
yarn add twemoji-parser
|
||||
```
|
||||
|
||||
Or, to work directly in this repo, clone it and run `yarn install` from the repo root.
|
||||
|
||||
## Usage
|
||||
The [tests](src/__tests__/index.test.js) are intended to serve as a more exhaustive source of documentation, but the general idea is that the parser takes a string and returns an array of the emoji entities it finds:
|
||||
```js
|
||||
import { parse } from 'twemoji-parser';
|
||||
const entities = parse('I 🧡 Twemoji! 🥳');
|
||||
/*
|
||||
entities = [
|
||||
{
|
||||
url: 'https://twemoji.maxcdn.com/v/latest/svg/1f9e1.svg',
|
||||
indices: [ 2, 4 ],
|
||||
text: '🧡',
|
||||
type: 'emoji'
|
||||
},
|
||||
{
|
||||
url: 'https://twemoji.maxcdn.com/v/latest/svg/1f973.svg',
|
||||
indices: [ 12, 14 ],
|
||||
text: '🥳',
|
||||
type: 'emoji'
|
||||
}
|
||||
]
|
||||
*/
|
||||
```
|
||||
## Authors
|
||||
|
||||
* Nathan Downs <ndowns [at] twitter [dot] com>
|
||||
|
||||
Follow [@TwitterOSS](https://twitter.com/twitteross) on Twitter for updates.
|
||||
|
||||
## Contributing
|
||||
|
||||
We feel that a welcoming community is important and we ask that you follow Twitter's
|
||||
[Open Source Code of Conduct](https://github.com/twitter/code-of-conduct/blob/master/code-of-conduct.md)
|
||||
in all interactions with the community.
|
||||
|
||||
## Support
|
||||
|
||||
Create a [new issue](https://github.com/twitter/twemoji-parser/issues/new) on GitHub.
|
||||
|
||||
## Security Issues?
|
||||
Please report sensitive security issues via Twitter's bug-bounty program (https://hackerone.com/twitter) rather than GitHub.
|
||||
|
||||
## License
|
||||
|
||||
MIT https://github.com/twitter/twemoji-parser/blob/master/LICENSE.md
|
||||
70
build/javascript/node_modules/twemoji-parser/package.json
generated
vendored
70
build/javascript/node_modules/twemoji-parser/package.json
generated
vendored
@@ -1,70 +0,0 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"twemoji-parser@13.0.0",
|
||||
"/home/runner/work/owncast/owncast/build/javascript"
|
||||
]
|
||||
],
|
||||
"_from": "twemoji-parser@13.0.0",
|
||||
"_id": "twemoji-parser@13.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-zMaGdskpH8yKjT2RSE/HwE340R4Fm+fbie4AaqjDa4H/l07YUmAvxkSfNl6awVWNRRQ0zdzLQ8SAJZuY5MgstQ==",
|
||||
"_location": "/twemoji-parser",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "twemoji-parser@13.0.0",
|
||||
"name": "twemoji-parser",
|
||||
"escapedName": "twemoji-parser",
|
||||
"rawSpec": "13.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "13.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/twemoji"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/twemoji-parser/-/twemoji-parser-13.0.0.tgz",
|
||||
"_spec": "13.0.0",
|
||||
"_where": "/home/runner/work/owncast/owncast/build/javascript",
|
||||
"description": "Parser for identifying Twemoji in text",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-eslint": "^8.2.3",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-flow": "^6.23.0",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-config-prettier": "^3.0.1",
|
||||
"eslint-plugin-flowtype": "^2.43.0",
|
||||
"eslint-plugin-import": "^2.14.0",
|
||||
"eslint-plugin-jest": "^21.12.2",
|
||||
"eslint-plugin-prettier": "^2.6.2",
|
||||
"eslint-plugin-promise": "^3.8.0",
|
||||
"flow-bin": "^0.71.0",
|
||||
"flow-typed": "^2.4.0",
|
||||
"jest": "^22.4.3",
|
||||
"prettier": "^1.12.1"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"name": "twemoji-parser",
|
||||
"scripts": {
|
||||
"build": "babel src --out-dir dist --ignore test.js",
|
||||
"ci": "yarnpkg lint && yarnpkg flow:ci && yarnpkg test",
|
||||
"cleanup": "rm -rf ./dist",
|
||||
"flow": "flow",
|
||||
"flow:ci": "flow check",
|
||||
"lint": "eslint . --ext=js,snap",
|
||||
"prebuild": "yarnpkg cleanup",
|
||||
"prepublishOnly": "yarnpkg lint && yarnpkg flow && yarnpkg test && yarnpkg build",
|
||||
"test": "jest",
|
||||
"test:ci": "yarnpkg test --maxWorkers=4 --ci",
|
||||
"test:watch": "yarnpkg test --watch"
|
||||
},
|
||||
"version": "13.0.0"
|
||||
}
|
||||
Reference in New Issue
Block a user