diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/unicode-property-aliases-ecmascript | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/unicode-property-aliases-ecmascript')
4 files changed, 0 insertions, 178 deletions
diff --git a/node_modules/unicode-property-aliases-ecmascript/LICENSE-MIT.txt b/node_modules/unicode-property-aliases-ecmascript/LICENSE-MIT.txt deleted file mode 100644 index a41e0a7e..00000000 --- a/node_modules/unicode-property-aliases-ecmascript/LICENSE-MIT.txt +++ /dev/null @@ -1,20 +0,0 @@ -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. diff --git a/node_modules/unicode-property-aliases-ecmascript/README.md b/node_modules/unicode-property-aliases-ecmascript/README.md deleted file mode 100644 index 3b66c121..00000000 --- a/node_modules/unicode-property-aliases-ecmascript/README.md +++ /dev/null @@ -1,60 +0,0 @@ -# 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. diff --git a/node_modules/unicode-property-aliases-ecmascript/index.js b/node_modules/unicode-property-aliases-ecmascript/index.js deleted file mode 100755 index 96932853..00000000 --- a/node_modules/unicode-property-aliases-ecmascript/index.js +++ /dev/null @@ -1,57 +0,0 @@ -// 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'] -]); diff --git a/node_modules/unicode-property-aliases-ecmascript/package.json b/node_modules/unicode-property-aliases-ecmascript/package.json deleted file mode 100644 index aab895a0..00000000 --- a/node_modules/unicode-property-aliases-ecmascript/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "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" - } -} |
