Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
20
my-app/node_modules/unicode-property-aliases-ecmascript/LICENSE-MIT.txt
generated
vendored
Executable file
20
my-app/node_modules/unicode-property-aliases-ecmascript/LICENSE-MIT.txt
generated
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
||||
|
||||
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.
|
60
my-app/node_modules/unicode-property-aliases-ecmascript/README.md
generated
vendored
Executable file
60
my-app/node_modules/unicode-property-aliases-ecmascript/README.md
generated
vendored
Executable file
|
@ -0,0 +1,60 @@
|
|||
# unicode-property-aliases-ecmascript [](https://travis-ci.org/mathiasbynens/unicode-property-aliases-ecmascript) [](https://www.npmjs.com/package/unicode-property-aliases-ecmascript)
|
||||
|
||||
_unicode-property-aliases-ecmascript_ offers Unicode property alias mappings in an easy-to-consume JavaScript format. It only contains the Unicode property names that are supported in [ECMAScript RegExp property escapes](https://github.com/tc39/proposal-regexp-unicode-property-escapes).
|
||||
|
||||
It’s based on Unicode’s `PropertyAliases.txt`.
|
||||
|
||||
## Installation
|
||||
|
||||
To use _unicode-property-aliases-ecmascript_ programmatically, install it as a dependency via [npm](https://www.npmjs.com/):
|
||||
|
||||
```bash
|
||||
$ npm install unicode-property-aliases-ecmascript
|
||||
```
|
||||
|
||||
Then, `require` it:
|
||||
|
||||
```js
|
||||
const propertyAliases = require('unicode-property-aliases-ecmascript');
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
This module exports a `Map` object. The most common usage is to convert a property alias to its canonical form:
|
||||
|
||||
```js
|
||||
propertyAliases.get('scx')
|
||||
// → 'Script_Extensions'
|
||||
```
|
||||
|
||||
## For maintainers
|
||||
|
||||
### How to publish a new release
|
||||
|
||||
1. On the `main` branch, bump the version number in `package.json`:
|
||||
|
||||
```sh
|
||||
npm version patch -m 'Release v%s'
|
||||
```
|
||||
|
||||
Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/).
|
||||
|
||||
Note that this produces a Git commit + tag.
|
||||
|
||||
1. Push the release commit and tag:
|
||||
|
||||
```sh
|
||||
git push && git push --tags
|
||||
```
|
||||
|
||||
Our CI then automatically publishes the new release to npm.
|
||||
|
||||
## Author
|
||||
|
||||
| [](https://twitter.com/mathias "Follow @mathias on Twitter") |
|
||||
|---|
|
||||
| [Mathias Bynens](https://mathiasbynens.be/) |
|
||||
|
||||
## License
|
||||
|
||||
_unicode-property-aliases-ecmascript_ is available under the [MIT](https://mths.be/mit) license.
|
57
my-app/node_modules/unicode-property-aliases-ecmascript/index.js
generated
vendored
Executable file
57
my-app/node_modules/unicode-property-aliases-ecmascript/index.js
generated
vendored
Executable file
|
@ -0,0 +1,57 @@
|
|||
// Generated using `npm run build`. Do not edit!
|
||||
module.exports = new Map([
|
||||
['scx', 'Script_Extensions'],
|
||||
['sc', 'Script'],
|
||||
['gc', 'General_Category'],
|
||||
['AHex', 'ASCII_Hex_Digit'],
|
||||
['Alpha', 'Alphabetic'],
|
||||
['Bidi_C', 'Bidi_Control'],
|
||||
['Bidi_M', 'Bidi_Mirrored'],
|
||||
['Cased', 'Cased'],
|
||||
['CI', 'Case_Ignorable'],
|
||||
['CWCF', 'Changes_When_Casefolded'],
|
||||
['CWCM', 'Changes_When_Casemapped'],
|
||||
['CWKCF', 'Changes_When_NFKC_Casefolded'],
|
||||
['CWL', 'Changes_When_Lowercased'],
|
||||
['CWT', 'Changes_When_Titlecased'],
|
||||
['CWU', 'Changes_When_Uppercased'],
|
||||
['Dash', 'Dash'],
|
||||
['Dep', 'Deprecated'],
|
||||
['DI', 'Default_Ignorable_Code_Point'],
|
||||
['Dia', 'Diacritic'],
|
||||
['EBase', 'Emoji_Modifier_Base'],
|
||||
['EComp', 'Emoji_Component'],
|
||||
['EMod', 'Emoji_Modifier'],
|
||||
['Emoji', 'Emoji'],
|
||||
['EPres', 'Emoji_Presentation'],
|
||||
['Ext', 'Extender'],
|
||||
['ExtPict', 'Extended_Pictographic'],
|
||||
['Gr_Base', 'Grapheme_Base'],
|
||||
['Gr_Ext', 'Grapheme_Extend'],
|
||||
['Hex', 'Hex_Digit'],
|
||||
['IDC', 'ID_Continue'],
|
||||
['Ideo', 'Ideographic'],
|
||||
['IDS', 'ID_Start'],
|
||||
['IDSB', 'IDS_Binary_Operator'],
|
||||
['IDST', 'IDS_Trinary_Operator'],
|
||||
['Join_C', 'Join_Control'],
|
||||
['LOE', 'Logical_Order_Exception'],
|
||||
['Lower', 'Lowercase'],
|
||||
['Math', 'Math'],
|
||||
['NChar', 'Noncharacter_Code_Point'],
|
||||
['Pat_Syn', 'Pattern_Syntax'],
|
||||
['Pat_WS', 'Pattern_White_Space'],
|
||||
['QMark', 'Quotation_Mark'],
|
||||
['Radical', 'Radical'],
|
||||
['RI', 'Regional_Indicator'],
|
||||
['SD', 'Soft_Dotted'],
|
||||
['STerm', 'Sentence_Terminal'],
|
||||
['Term', 'Terminal_Punctuation'],
|
||||
['UIdeo', 'Unified_Ideograph'],
|
||||
['Upper', 'Uppercase'],
|
||||
['VS', 'Variation_Selector'],
|
||||
['WSpace', 'White_Space'],
|
||||
['space', 'White_Space'],
|
||||
['XIDC', 'XID_Continue'],
|
||||
['XIDS', 'XID_Start']
|
||||
]);
|
41
my-app/node_modules/unicode-property-aliases-ecmascript/package.json
generated
vendored
Executable file
41
my-app/node_modules/unicode-property-aliases-ecmascript/package.json
generated
vendored
Executable file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"name": "unicode-property-aliases-ecmascript",
|
||||
"version": "2.1.0",
|
||||
"description": "Unicode property alias mappings in JavaScript format for property names that are supported in ECMAScript RegExp property escapes.",
|
||||
"homepage": "https://github.com/mathiasbynens/unicode-property-aliases-ecmascript",
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
},
|
||||
"files": [
|
||||
"LICENSE-MIT.txt",
|
||||
"index.js"
|
||||
],
|
||||
"keywords": [
|
||||
"unicode",
|
||||
"unicode-data",
|
||||
"alias",
|
||||
"aliases",
|
||||
"property alias"
|
||||
],
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "Mathias Bynens",
|
||||
"url": "https://mathiasbynens.be/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mathiasbynens/unicode-property-aliases-ecmascript.git"
|
||||
},
|
||||
"bugs": "https://github.com/mathiasbynens/unicode-property-aliases-ecmascript/issues",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"jsesc": "^3.0.2",
|
||||
"unicode-canonical-property-names-ecmascript": "^2.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"download": "curl http://unicode.org/Public/15.0.0/ucd/PropertyAliases.txt > data/PropertyAliases.txt",
|
||||
"build": "node scripts/build.js",
|
||||
"test": "ava tests/tests.js"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue