summaryrefslogtreecommitdiff
path: root/node_modules/uc.micro
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-01-20 13:43:34 +0100
committerMinteck <contact@minteck.org>2022-01-20 13:43:34 +0100
commitc2aa7bf38fb30de2d04f87f8e7780e4c768ae6b1 (patch)
tree226598e8d17d20e3721358f7c60b1cc6b851163a /node_modules/uc.micro
downloadcobalt-c2aa7bf38fb30de2d04f87f8e7780e4c768ae6b1.tar.gz
cobalt-c2aa7bf38fb30de2d04f87f8e7780e4c768ae6b1.tar.bz2
cobalt-c2aa7bf38fb30de2d04f87f8e7780e4c768ae6b1.zip
Initial commit
Diffstat (limited to 'node_modules/uc.micro')
-rw-r--r--node_modules/uc.micro/CHANGELOG.md52
-rw-r--r--node_modules/uc.micro/LICENSE.txt20
-rw-r--r--node_modules/uc.micro/README.md14
-rw-r--r--node_modules/uc.micro/categories/Cc/regex.js1
-rw-r--r--node_modules/uc.micro/categories/Cf/regex.js1
-rw-r--r--node_modules/uc.micro/categories/P/regex.js1
-rw-r--r--node_modules/uc.micro/categories/Z/regex.js1
-rw-r--r--node_modules/uc.micro/index.js7
-rw-r--r--node_modules/uc.micro/package.json21
-rw-r--r--node_modules/uc.micro/properties/Any/regex.js1
10 files changed, 119 insertions, 0 deletions
diff --git a/node_modules/uc.micro/CHANGELOG.md b/node_modules/uc.micro/CHANGELOG.md
new file mode 100644
index 0000000..974a969
--- /dev/null
+++ b/node_modules/uc.micro/CHANGELOG.md
@@ -0,0 +1,52 @@
+1.0.6 / 2019-01-31
+------------------
+
+- Unicode update to 10.0.0.
+- Fixed `Z` content (added missed line and paragraph seperators), #10.
+
+
+1.0.5 / 2018-01-26
+------------------
+
+- Remove outdated license info from readme (missed in previous update).
+
+
+1.0.4 / 2018-01-26
+------------------
+
+- Unicode update to 10.0.0.
+- Clarified license, should be MIT, #6.
+
+
+1.0.3 / 2016-09-14
+------------------
+
+- Unicode update to 9.0.0.
+- Rewrite update script (use npm instead of Makefile).
+- Added integrity tests.
+
+
+1.0.2 / 2015-06-24
+------------------
+
+- License info clarify, #3.
+
+
+1.0.1 / 2015-05-30
+------------------
+
+- Update to Unicode 8.+.
+- Also automatically fix possible ReDOS in `Any`, if source used to generate
+ patterns like `(Any)+`.
+
+
+1.0.0 / 2015-03-10
+------------------
+
+- Export all in index.js.
+
+
+0.1.0 / 2015-02-22
+------------------
+
+- First release.
diff --git a/node_modules/uc.micro/LICENSE.txt b/node_modules/uc.micro/LICENSE.txt
new file mode 100644
index 0000000..a41e0a7
--- /dev/null
+++ b/node_modules/uc.micro/LICENSE.txt
@@ -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.
diff --git a/node_modules/uc.micro/README.md b/node_modules/uc.micro/README.md
new file mode 100644
index 0000000..3c555ea
--- /dev/null
+++ b/node_modules/uc.micro/README.md
@@ -0,0 +1,14 @@
+# uc.micro
+
+[![Build Status](https://img.shields.io/travis/markdown-it/uc.micro/master.svg?style=flat)](https://travis-ci.org/markdown-it/uc.micro)
+[![NPM version](https://img.shields.io/npm/v/uc.micro.svg?style=flat)](https://www.npmjs.org/package/uc.micro)
+
+> Micro subset of unicode data files for [markdown-it](https://github.com/markdown-it) projects.
+
+Content of this repo is autogenerated from `unicode-<version>` package,
+maintained by [Mathias Bynens](https://github.com/mathiasbynens).
+
+That's just a proxy to reduce dependencies/install size.
+
+**This package content is ONLY for [markdown-it](https://github.com/markdown-it)
+projects needs. Don't ask to extend it!**
diff --git a/node_modules/uc.micro/categories/Cc/regex.js b/node_modules/uc.micro/categories/Cc/regex.js
new file mode 100644
index 0000000..99be991
--- /dev/null
+++ b/node_modules/uc.micro/categories/Cc/regex.js
@@ -0,0 +1 @@
+module.exports=/[\0-\x1F\x7F-\x9F]/ \ No newline at end of file
diff --git a/node_modules/uc.micro/categories/Cf/regex.js b/node_modules/uc.micro/categories/Cf/regex.js
new file mode 100644
index 0000000..e89eff6
--- /dev/null
+++ b/node_modules/uc.micro/categories/Cf/regex.js
@@ -0,0 +1 @@
+module.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/ \ No newline at end of file
diff --git a/node_modules/uc.micro/categories/P/regex.js b/node_modules/uc.micro/categories/P/regex.js
new file mode 100644
index 0000000..7e18fa7
--- /dev/null
+++ b/node_modules/uc.micro/categories/P/regex.js
@@ -0,0 +1 @@
+module.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/ \ No newline at end of file
diff --git a/node_modules/uc.micro/categories/Z/regex.js b/node_modules/uc.micro/categories/Z/regex.js
new file mode 100644
index 0000000..76976a4
--- /dev/null
+++ b/node_modules/uc.micro/categories/Z/regex.js
@@ -0,0 +1 @@
+module.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/ \ No newline at end of file
diff --git a/node_modules/uc.micro/index.js b/node_modules/uc.micro/index.js
new file mode 100644
index 0000000..03b6d4a
--- /dev/null
+++ b/node_modules/uc.micro/index.js
@@ -0,0 +1,7 @@
+'use strict';
+
+exports.Any = require('./properties/Any/regex');
+exports.Cc = require('./categories/Cc/regex');
+exports.Cf = require('./categories/Cf/regex');
+exports.P = require('./categories/P/regex');
+exports.Z = require('./categories/Z/regex');
diff --git a/node_modules/uc.micro/package.json b/node_modules/uc.micro/package.json
new file mode 100644
index 0000000..798e4bb
--- /dev/null
+++ b/node_modules/uc.micro/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "uc.micro",
+ "version": "1.0.6",
+ "description": "Micro subset of unicode data files for markdown-it projects.",
+ "repository": "markdown-it/uc.micro",
+ "license": "MIT",
+ "files": [
+ "categories/",
+ "properties/",
+ "index.js"
+ ],
+ "scripts": {
+ "test": "mocha",
+ "update": "node update.js && npm test"
+ },
+ "devDependencies": {
+ "mocha": "^5.0.0",
+ "shelljs": "^0.8.1",
+ "unicode-11.0.0": "^0.7.8"
+ }
+}
diff --git a/node_modules/uc.micro/properties/Any/regex.js b/node_modules/uc.micro/properties/Any/regex.js
new file mode 100644
index 0000000..22afa15
--- /dev/null
+++ b/node_modules/uc.micro/properties/Any/regex.js
@@ -0,0 +1 @@
+module.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/ \ No newline at end of file