@mavogel/awscdk-rootmail 0.1.52 → 0.1.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.jsii +10 -10
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +1 -1
  6. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
  7. package/node_modules/@aws-sdk/client-route-53/package.json +1 -1
  8. package/node_modules/@aws-sdk/client-s3/README.md +3 -3
  9. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +13 -13
  10. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +12 -12
  11. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +3 -3
  12. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +3 -3
  13. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +1 -0
  14. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +16 -4
  15. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -1
  16. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +0 -3
  17. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -1
  18. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -0
  19. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +0 -10
  21. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +1 -3
  22. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +1 -0
  23. package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +3 -3
  24. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +41 -383
  25. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +20 -0
  26. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +4 -0
  27. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +2 -0
  28. package/node_modules/@aws-sdk/client-s3/package.json +2 -2
  29. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  30. package/node_modules/@aws-sdk/client-ses/package.json +1 -1
  31. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  32. package/node_modules/@aws-sdk/client-ssm/package.json +1 -1
  33. package/node_modules/linkify-it/README.md +49 -86
  34. package/node_modules/linkify-it/build/index.cjs.js +636 -825
  35. package/node_modules/linkify-it/build/index.cjs.js.map +1 -0
  36. package/node_modules/linkify-it/build/index.d.ts +236 -0
  37. package/node_modules/linkify-it/build/index.mjs +538 -0
  38. package/node_modules/linkify-it/build/index.mjs.map +1 -0
  39. package/node_modules/linkify-it/package.json +23 -20
  40. package/node_modules/mailparser/CHANGELOG.md +7 -0
  41. package/node_modules/mailparser/dist/cjs/mail-parser.js +34 -14
  42. package/node_modules/mailparser/dist/esm/mail-parser.js +34 -14
  43. package/node_modules/mailparser/package.json +2 -2
  44. package/node_modules/uc.micro/README.md +18 -1
  45. package/node_modules/uc.micro/build/index.cjs.js +13 -18
  46. package/node_modules/uc.micro/build/index.d.ts +6 -0
  47. package/node_modules/uc.micro/build/index.mjs +8 -0
  48. package/node_modules/uc.micro/package.json +12 -17
  49. package/package.json +11 -11
  50. package/node_modules/linkify-it/index.mjs +0 -646
  51. package/node_modules/linkify-it/lib/re.mjs +0 -193
  52. package/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
  53. package/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
  54. package/node_modules/uc.micro/categories/P/regex.mjs +0 -1
  55. package/node_modules/uc.micro/categories/S/regex.mjs +0 -1
  56. package/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
  57. package/node_modules/uc.micro/index.mjs +0 -8
  58. package/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkify-it",
3
- "version": "5.0.2",
3
+ "version": "6.1.0",
4
4
  "description": "Links recognition library with FULL unicode support",
5
5
  "keywords": [
6
6
  "linkify",
@@ -8,22 +8,22 @@
8
8
  "autolink",
9
9
  "autolinker"
10
10
  ],
11
- "repository": "markdown-it/linkify-it",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/markdown-it/linkify-it.git"
14
+ },
12
15
  "main": "build/index.cjs.js",
13
- "module": "index.mjs",
16
+ "module": "build/index.mjs",
17
+ "types": "build/index.d.ts",
14
18
  "exports": {
15
19
  ".": {
20
+ "types": "./build/index.d.ts",
16
21
  "require": "./build/index.cjs.js",
17
- "import": "./index.mjs"
22
+ "import": "./build/index.mjs"
18
23
  },
19
- "./*": {
20
- "require": "./*",
21
- "import": "./*"
22
- }
24
+ "./package.json": "./package.json"
23
25
  },
24
26
  "files": [
25
- "index.mjs",
26
- "lib/",
27
27
  "build/"
28
28
  ],
29
29
  "license": "MIT",
@@ -39,25 +39,28 @@
39
39
  ],
40
40
  "scripts": {
41
41
  "lint": "eslint .",
42
- "test": "npm run lint && npm run build && c8 --exclude build --exclude test -r text -r html -r lcov node --test",
43
- "demo": "npm run lint && node support/build_demo.mjs",
44
- "doc": "node support/build_doc.mjs",
45
- "build": "rollup -c support/rollup.config.mjs",
46
- "gh-pages": "npm run demo && npm run doc && gh-pages -d demo -f",
47
- "prepack": "npm test && npm run build && npm run demo && npm run doc",
42
+ "type-check": "tsc --noEmit",
43
+ "test": "npm run lint && npm run build && npm run type-check && c8 --exclude build --exclude test -r text -r html -r lcov node --test",
44
+ "doc": "typedoc",
45
+ "build": "node support/build_dist.mjs && node support/build_demo.mjs",
46
+ "gh-pages": "npm run build && npm run doc && gh-pages -d demo -f",
47
+ "prepack": "npm test && npm run doc",
48
48
  "postpublish": "npm run gh-pages"
49
49
  },
50
50
  "dependencies": {
51
- "uc.micro": "^2.0.0"
51
+ "uc.micro": "^3.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@rollup/plugin-node-resolve": "^15.2.3",
55
54
  "c8": "^11.0.0",
56
55
  "eslint": "^9.39.3",
57
56
  "gh-pages": "^6.1.0",
58
57
  "mitata": "^1.0.34",
59
58
  "neostandard": "^0.13.0",
60
- "ndoc": "^6.0.0",
61
- "rollup": "^4.6.1"
59
+ "rollup": "^4.62.2",
60
+ "rollup-plugin-dts": "^6.4.1",
61
+ "typedoc": "^0.28.19",
62
+ "typescript": "^6.0.3",
63
+ "vite": "^8.1.2",
64
+ "vite-plugin-singlefile": "^2.3.3"
62
65
  }
63
66
  }
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.14.5](https://github.com/nodemailer/mailparser/compare/v3.14.4...v3.14.5) (2026-11-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * move link detection to linkify-it 6 ([6527e91](https://github.com/nodemailer/mailparser/commit/6527e9131c5a58a0497d2990cfae2bcf7e58ab13))
9
+
3
10
  ## [3.14.4](https://github.com/nodemailer/mailparser/compare/v3.14.3...v3.14.4) (2026-11-15)
4
11
 
5
12
 
@@ -8,7 +8,7 @@ const flowed_decoder_js_1 = __importDefault(require("@zone-eu/mailsplit/lib/flow
8
8
  const he_1 = __importDefault(require("he"));
9
9
  const html_to_text_1 = require("html-to-text");
10
10
  const libmime_1 = __importDefault(require("libmime"));
11
- const linkify_it_1 = __importDefault(require("linkify-it"));
11
+ const linkify_it_1 = require("linkify-it");
12
12
  const addressparser_1 = __importDefault(require("nodemailer/lib/addressparser"));
13
13
  const node_stream_1 = require("node:stream");
14
14
  const tlds_cjs_1 = __importDefault(require("./tlds.cjs"));
@@ -41,13 +41,32 @@ const MAX_LINKIFY_WORK = 768 * 1024 * 1024; // shared by all text parts of a mes
41
41
  const MAX_INLINED_IMAGES_SIZE = 20 * 1024 * 1024;
42
42
  // List-* header names that must not become keys of the plain list object
43
43
  const UNSAFE_LIST_KEYS = new Set(['__proto__', 'constructor', 'prototype']);
44
- const linkify = (0, linkify_it_1.default)();
44
+ // Characters linkify-it 6 accepts in the local part of a schemaless address, less the slash, and
45
+ // less the apostrophe as the first character. With them a path such as
46
+ // usr/lib/addons/langpack-de@firefox.example.com/install.rdf, or a quoted
47
+ // 'user@example.com', became a mailto: link that started with the slash path or the
48
+ // quote. linkify-it 5 never linked either, and an apostrophe inside a name (o'brien@...) still works.
49
+ const MAIL_NAME_CHARS = '-!#$%&*+=?^_`{|}~a-zA-Z0-9';
50
+ const MAIL_NAME = new RegExp(`[${MAIL_NAME_CHARS}](?:[${MAIL_NAME_CHARS}']|[.](?=[${MAIL_NAME_CHARS}'])){0,63}`);
51
+ class MailNameREBuilder extends linkify_it_1.REBuilder {
52
+ get_mail_name() {
53
+ return MAIL_NAME;
54
+ }
55
+ }
56
+ const linkify = new linkify_it_1.LinkifyIt({
57
+ // links without a scheme (example.com, www.example.org), which linkify-it 6 no longer finds by default
58
+ fuzzyLink: true,
59
+ fuzzyEmail: true,
60
+ fuzzyIP: true,
61
+ // user:password@ in a URL stays part of the link, as it always was before linkify-it 6
62
+ urlAuth: true,
63
+ rebuilder: new MailNameREBuilder()
64
+ });
45
65
  linkify
46
66
  .tlds(tlds_cjs_1.default) // Reload with full tlds list
47
67
  .tlds('onion', true) // Add unofficial `.onion` domain
48
- .add('git:', 'http:') // Add `git:` ptotocol as "alias"
49
- .add('ftp:', null) // Disable `ftp:` ptotocol
50
- .set({ fuzzyIP: true, fuzzyLink: true, fuzzyEmail: true });
68
+ .add('git:', { validate: (text, pos, self) => self.testSchemaAt(text, 'http:', pos) }) // `git:` links validate like `http:` ones
69
+ .add('ftp:', null); // Disable `ftp:` protocol
51
70
  // Characters linkify-it accepts inside a host name: letters, digits, a dash,
52
71
  // and anything non-ASCII (its label pattern takes any character that is not
53
72
  // punctuation, whitespace or a control character).
@@ -56,19 +75,21 @@ function isHostChar(code) {
56
75
  }
57
76
  // twitter linkifier from
58
77
  // https://github.com/markdown-it/linkify-it#example-2-add-twitter-mentions-handler
78
+ let twitterHandle;
59
79
  linkify.add('@', {
60
80
  validate(text, pos, self) {
61
81
  let tail = text.slice(pos);
62
- if (!self.re.twitter) {
63
- self.re.twitter = new RegExp('^([a-zA-Z0-9_]){1,15}(?!_)(?=$|' + self.re.src_ZPCc + ')');
82
+ if (!twitterHandle) {
83
+ twitterHandle = new RegExp('^([a-zA-Z0-9_]){1,15}(?!_)(?=$|' + self.re.src_ZPCc + ')');
64
84
  }
65
- if (self.re.twitter.test(tail)) {
85
+ let handle = tail.match(twitterHandle);
86
+ if (handle) {
66
87
  // Linkifier allows punctuation chars before prefix,
67
88
  // but we additionally disable `@` ("@@mention" is invalid)
68
89
  if (pos >= 2 && text[pos - 2] === '@') {
69
- return false;
90
+ return 0;
70
91
  }
71
- return tail.match(self.re.twitter)[0].length;
92
+ return handle[0].length;
72
93
  }
73
94
  return 0;
74
95
  },
@@ -1142,9 +1163,8 @@ class MailParser extends node_stream_1.Transform {
1142
1163
  setImmediate(processNext);
1143
1164
  }
1144
1165
  // Tells whether a text segment is worth handing to linkify-it, see
1145
- // MAX_LINKIFY_* above. Note that linkify.pretest() can not be used for this
1146
- // - it is a quick deny that also denies links its own matcher finds, eg. a
1147
- // host followed by a fullwidth vertical bar.
1166
+ // MAX_LINKIFY_* above. It is also the only quick deny: linkify-it 6 has no
1167
+ // pretest(), and its test() is a full scan, as expensive as match().
1148
1168
  /** @internal */
1149
1169
  canScanSegment(segment) {
1150
1170
  // every link linkify-it can find contains at least one of these
@@ -1171,7 +1191,7 @@ class MailParser extends node_stream_1.Transform {
1171
1191
  /** @internal */
1172
1192
  findLinks(str) {
1173
1193
  let links = [];
1174
- if (this.linkifyWork >= MAX_LINKIFY_WORK || !linkify.pretest(str)) {
1194
+ if (this.linkifyWork >= MAX_LINKIFY_WORK) {
1175
1195
  return links;
1176
1196
  }
1177
1197
  // Whitespace can not be part of a link and linkify-it treats the end of
@@ -3,7 +3,7 @@ import FlowedDecoder from '@zone-eu/mailsplit/lib/flowed-decoder.js';
3
3
  import he from 'he';
4
4
  import { htmlToText } from 'html-to-text';
5
5
  import libmime from 'libmime';
6
- import linkifyIt from 'linkify-it';
6
+ import { LinkifyIt, REBuilder } from 'linkify-it';
7
7
  import addressparser from 'nodemailer/lib/addressparser';
8
8
  import { Transform } from 'node:stream';
9
9
  import tlds from './tlds.cjs';
@@ -36,13 +36,32 @@ const MAX_LINKIFY_WORK = 768 * 1024 * 1024; // shared by all text parts of a mes
36
36
  const MAX_INLINED_IMAGES_SIZE = 20 * 1024 * 1024;
37
37
  // List-* header names that must not become keys of the plain list object
38
38
  const UNSAFE_LIST_KEYS = new Set(['__proto__', 'constructor', 'prototype']);
39
- const linkify = linkifyIt();
39
+ // Characters linkify-it 6 accepts in the local part of a schemaless address, less the slash, and
40
+ // less the apostrophe as the first character. With them a path such as
41
+ // usr/lib/addons/langpack-de@firefox.example.com/install.rdf, or a quoted
42
+ // 'user@example.com', became a mailto: link that started with the slash path or the
43
+ // quote. linkify-it 5 never linked either, and an apostrophe inside a name (o'brien@...) still works.
44
+ const MAIL_NAME_CHARS = '-!#$%&*+=?^_`{|}~a-zA-Z0-9';
45
+ const MAIL_NAME = new RegExp(`[${MAIL_NAME_CHARS}](?:[${MAIL_NAME_CHARS}']|[.](?=[${MAIL_NAME_CHARS}'])){0,63}`);
46
+ class MailNameREBuilder extends REBuilder {
47
+ get_mail_name() {
48
+ return MAIL_NAME;
49
+ }
50
+ }
51
+ const linkify = new LinkifyIt({
52
+ // links without a scheme (example.com, www.example.org), which linkify-it 6 no longer finds by default
53
+ fuzzyLink: true,
54
+ fuzzyEmail: true,
55
+ fuzzyIP: true,
56
+ // user:password@ in a URL stays part of the link, as it always was before linkify-it 6
57
+ urlAuth: true,
58
+ rebuilder: new MailNameREBuilder()
59
+ });
40
60
  linkify
41
61
  .tlds(tlds) // Reload with full tlds list
42
62
  .tlds('onion', true) // Add unofficial `.onion` domain
43
- .add('git:', 'http:') // Add `git:` ptotocol as "alias"
44
- .add('ftp:', null) // Disable `ftp:` ptotocol
45
- .set({ fuzzyIP: true, fuzzyLink: true, fuzzyEmail: true });
63
+ .add('git:', { validate: (text, pos, self) => self.testSchemaAt(text, 'http:', pos) }) // `git:` links validate like `http:` ones
64
+ .add('ftp:', null); // Disable `ftp:` protocol
46
65
  // Characters linkify-it accepts inside a host name: letters, digits, a dash,
47
66
  // and anything non-ASCII (its label pattern takes any character that is not
48
67
  // punctuation, whitespace or a control character).
@@ -51,19 +70,21 @@ function isHostChar(code) {
51
70
  }
52
71
  // twitter linkifier from
53
72
  // https://github.com/markdown-it/linkify-it#example-2-add-twitter-mentions-handler
73
+ let twitterHandle;
54
74
  linkify.add('@', {
55
75
  validate(text, pos, self) {
56
76
  let tail = text.slice(pos);
57
- if (!self.re.twitter) {
58
- self.re.twitter = new RegExp('^([a-zA-Z0-9_]){1,15}(?!_)(?=$|' + self.re.src_ZPCc + ')');
77
+ if (!twitterHandle) {
78
+ twitterHandle = new RegExp('^([a-zA-Z0-9_]){1,15}(?!_)(?=$|' + self.re.src_ZPCc + ')');
59
79
  }
60
- if (self.re.twitter.test(tail)) {
80
+ let handle = tail.match(twitterHandle);
81
+ if (handle) {
61
82
  // Linkifier allows punctuation chars before prefix,
62
83
  // but we additionally disable `@` ("@@mention" is invalid)
63
84
  if (pos >= 2 && text[pos - 2] === '@') {
64
- return false;
85
+ return 0;
65
86
  }
66
- return tail.match(self.re.twitter)[0].length;
87
+ return handle[0].length;
67
88
  }
68
89
  return 0;
69
90
  },
@@ -1137,9 +1158,8 @@ class MailParser extends Transform {
1137
1158
  setImmediate(processNext);
1138
1159
  }
1139
1160
  // Tells whether a text segment is worth handing to linkify-it, see
1140
- // MAX_LINKIFY_* above. Note that linkify.pretest() can not be used for this
1141
- // - it is a quick deny that also denies links its own matcher finds, eg. a
1142
- // host followed by a fullwidth vertical bar.
1161
+ // MAX_LINKIFY_* above. It is also the only quick deny: linkify-it 6 has no
1162
+ // pretest(), and its test() is a full scan, as expensive as match().
1143
1163
  /** @internal */
1144
1164
  canScanSegment(segment) {
1145
1165
  // every link linkify-it can find contains at least one of these
@@ -1166,7 +1186,7 @@ class MailParser extends Transform {
1166
1186
  /** @internal */
1167
1187
  findLinks(str) {
1168
1188
  let links = [];
1169
- if (this.linkifyWork >= MAX_LINKIFY_WORK || !linkify.pretest(str)) {
1189
+ if (this.linkifyWork >= MAX_LINKIFY_WORK) {
1170
1190
  return links;
1171
1191
  }
1172
1192
  // Whitespace can not be part of a link and linkify-it treats the end of
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mailparser",
3
- "version": "3.14.4",
3
+ "version": "3.14.5",
4
4
  "description": "Parse e-mails",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -96,7 +96,7 @@
96
96
  "he": "1.2.0",
97
97
  "html-to-text": "10.0.1",
98
98
  "libmime": "5.6.5",
99
- "linkify-it": "5.0.2",
99
+ "linkify-it": "6.1.0",
100
100
  "nodemailer": "10.6.0",
101
101
  "punycode.js": "2.3.1",
102
102
  "tlds": "1.261.0"
@@ -5,10 +5,27 @@
5
5
 
6
6
  > Micro subset of unicode data files for [markdown-it](https://github.com/markdown-it) projects.
7
7
 
8
- Content of this repo is autogenerated from `unicode-<version>` package,
8
+ Regular expressions are generated at build time from
9
+ [`regenerate-unicode-properties`](https://github.com/mathiasbynens/regenerate-unicode-properties),
9
10
  maintained by [Mathias Bynens](https://github.com/mathiasbynens).
10
11
 
11
12
  That's just a proxy to reduce dependencies/install size.
12
13
 
13
14
  **This package content is ONLY for [markdown-it](https://github.com/markdown-it)
14
15
  projects needs. Don't ask to extend it!**
16
+
17
+
18
+ ## Update Unicode data
19
+
20
+ Update the pinned `regenerate-unicode-properties` dependency and run the tests:
21
+
22
+ ```sh
23
+ npm install --save-dev --save-exact regenerate-unicode-properties@latest
24
+ npm test
25
+ ```
26
+
27
+ To check the Unicode version provided by the dependency:
28
+
29
+ ```sh
30
+ node -p "require('regenerate-unicode-properties/unicode-version.js')"
31
+ ```
@@ -1,20 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var regex$5 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
4
-
5
- var regex$4 = /[\0-\x1F\x7F-\x9F]/;
6
-
7
- var regex$3 = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;
8
-
9
- var regex$2 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;
10
-
11
- var regex$1 = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/;
12
-
13
- var regex = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;
14
-
15
- exports.Any = regex$5;
16
- exports.Cc = regex$4;
17
- exports.Cf = regex$3;
18
- exports.P = regex$2;
19
- exports.S = regex$1;
20
- exports.Z = regex;
3
+ const Any = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
4
+ const Cc = /[\0-\x1F\x7F-\x9F]/;
5
+ const Cf = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;
6
+ const P = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\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-\u2E4F\u2E52-\u2E5D\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[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/;
7
+ const S = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/;
8
+ const Z = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;
9
+
10
+ exports.Any = Any;
11
+ exports.Cc = Cc;
12
+ exports.Cf = Cf;
13
+ exports.P = P;
14
+ exports.S = S;
15
+ exports.Z = Z;
@@ -0,0 +1,6 @@
1
+ export declare const Any: RegExp
2
+ export declare const Cc: RegExp
3
+ export declare const Cf: RegExp
4
+ export declare const P: RegExp
5
+ export declare const S: RegExp
6
+ export declare const Z: RegExp
@@ -0,0 +1,8 @@
1
+ const Any = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
2
+ const Cc = /[\0-\x1F\x7F-\x9F]/;
3
+ const Cf = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;
4
+ const P = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\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-\u2E4F\u2E52-\u2E5D\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[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/;
5
+ const S = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/;
6
+ const Z = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;
7
+
8
+ export { Any, Cc, Cf, P, S, Z };
@@ -1,37 +1,32 @@
1
1
  {
2
2
  "name": "uc.micro",
3
- "version": "2.1.0",
3
+ "version": "3.0.0",
4
4
  "description": "Micro subset of unicode data files for markdown-it projects.",
5
5
  "repository": "markdown-it/uc.micro",
6
6
  "license": "MIT",
7
7
  "main": "build/index.cjs.js",
8
- "module": "index.mjs",
8
+ "module": "build/index.mjs",
9
+ "types": "build/index.d.ts",
9
10
  "exports": {
10
11
  ".": {
12
+ "types": "./build/index.d.ts",
11
13
  "require": "./build/index.cjs.js",
12
- "import": "./index.mjs"
14
+ "import": "./build/index.mjs"
13
15
  },
14
- "./*": {
15
- "require": "./*",
16
- "import": "./*"
17
- }
16
+ "./package.json": "./package.json"
18
17
  },
19
18
  "files": [
20
- "index.mjs",
21
- "categories/",
22
- "properties/",
23
19
  "build/"
24
20
  ],
25
21
  "scripts": {
26
- "test": "npm run build && mocha",
22
+ "test": "npm run build && npm run type-check && node --test test/**/*.test.*",
27
23
  "build": "rollup -c",
28
- "update": "node update.mjs && npm test",
29
- "prepublishOnly": "npm run build"
24
+ "type-check": "tsc --noEmit --strict --target ESNext --module ESNext --moduleResolution Bundler test/types.ts",
25
+ "prepack": "npm run build"
30
26
  },
31
27
  "devDependencies": {
32
- "@unicode/unicode-15.1.0": "^1.5.2",
33
- "mocha": "^10.2.0",
34
- "rollup": "^4.6.1",
35
- "shelljs": "^0.8.5"
28
+ "regenerate-unicode-properties": "10.2.2",
29
+ "rollup": "^4.62.2",
30
+ "typescript": "^7.0.2"
36
31
  }
37
32
  }
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "organization": true
41
41
  },
42
42
  "devDependencies": {
43
- "@aws-cdk/integ-runner": "2.206.1",
43
+ "@aws-cdk/integ-runner": "2.207.0",
44
44
  "@aws-cdk/integ-tests-alpha": "2.263.0-alpha.0",
45
45
  "@commitlint/cli": "^20.1.0",
46
46
  "@commitlint/config-conventional": "^20.0.0",
@@ -64,9 +64,9 @@
64
64
  "jest": "^30.5.2",
65
65
  "jest-junit": "^17",
66
66
  "jsii": "~5.9.0",
67
- "jsii-diff": "^1.142.0",
67
+ "jsii-diff": "^1.143.0",
68
68
  "jsii-docgen": "^10.5.0",
69
- "jsii-pacmak": "^1.142.0",
69
+ "jsii-pacmak": "^1.143.0",
70
70
  "jsii-rosetta": "~5.9.0",
71
71
  "jsonfile": "^6.2.1",
72
72
  "projen": "^0.104.27",
@@ -79,15 +79,15 @@
79
79
  "constructs": "^10.5.1"
80
80
  },
81
81
  "dependencies": {
82
- "@aws-sdk/client-cloudwatch-logs": "^3.1169.0",
83
- "@aws-sdk/client-route-53": "^3.1169.0",
84
- "@aws-sdk/client-s3": "^3.1169.0",
85
- "@aws-sdk/client-ses": "^3.1169.0",
86
- "@aws-sdk/client-ssm": "^3.1169.0",
87
- "@mavogel/mvc-projen": "^0.0.76",
82
+ "@aws-sdk/client-cloudwatch-logs": "^3.1171.0",
83
+ "@aws-sdk/client-route-53": "^3.1171.0",
84
+ "@aws-sdk/client-s3": "^3.1171.0",
85
+ "@aws-sdk/client-ses": "^3.1171.0",
86
+ "@aws-sdk/client-ssm": "^3.1171.0",
87
+ "@mavogel/mvc-projen": "^0.0.79",
88
88
  "cdk-nag": "^3.0.1",
89
89
  "constructs": "^10.5.1",
90
- "mailparser": "^3.14.4",
90
+ "mailparser": "^3.14.5",
91
91
  "uuid": "^14.0.3"
92
92
  },
93
93
  "bundledDependencies": [
@@ -122,7 +122,7 @@
122
122
  "publishConfig": {
123
123
  "access": "public"
124
124
  },
125
- "version": "0.1.52",
125
+ "version": "0.1.54",
126
126
  "jest": {
127
127
  "coverageProvider": "v8",
128
128
  "transformIgnorePatterns": [