@ng-doc/utils 19.2.0 → 20.0.0-beta.1

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.
package/index.esm.js CHANGED
@@ -89,8 +89,8 @@ function isHeading(node) {
89
89
 
90
90
  const ALWAYS_ALLOWED_LANGUAGES = ['typescript', 'ts', 'angular-ts'];
91
91
  const LANGUAGES = ['typescript', 'ts', 'angular-ts', ...KEYWORD_ALLOWED_LANGUAGES];
92
- const SPLIT_REGEXP = /([*A-Za-z0-9_$@-]+(?:[.#][A-Za-z0-9_-]+)?(?:\?[\w=&]+)?)/;
93
- const MATCH_KEYWORD_REGEXP = /(?<key>[*A-Za-z0-9_$@-]+)((?<delimiter>[.#])(?<anchor>[A-Za-z0-9_-]+))?(?<queryParams>\?[\w=&]+)?/;
92
+ const SPLIT_REGEXP = /([*\p{L}\w$@-]+(?:[.#][\p{L}\w-]+)?(?:\?[\w=&]+)?)/u;
93
+ const MATCH_KEYWORD_REGEXP = /(?<key>[*\p{L}\w$@-]+)((?<delimiter>[.#])(?<anchor>[\p{L}\w-]+))?(?<queryParams>\?[\w=&]+)?/u;
94
94
  /**
95
95
  *
96
96
  * @param config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-doc/utils",
3
- "version": "19.2.0",
3
+ "version": "20.0.0-beta.1",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "rehype": "13.0.1",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "module": "./index.esm.js",
27
27
  "main": "./index.esm.js",
28
- "types": "./index.esm.d.ts",
28
+ "types": "./index.d.ts",
29
29
  "keywords": [
30
30
  "angular",
31
31
  "documentation",
package/index.esm.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./index";