@unicode-utils/core 0.12.0-beta.18 → 0.12.0-beta.19

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.
@@ -1,2 +1,2 @@
1
1
  import { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA, UnicodeVersionMetadata } from "@unicode-utils/metadata";
2
- export { UnicodeVersionMetadata as i, UNICODE_STABLE_VERSION as n, UNICODE_VERSION_METADATA as r, UNICODE_DRAFT_VERSION as t };
2
+ export { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA, type UnicodeVersionMetadata };
@@ -1,3 +1,3 @@
1
1
  import { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA } from "@unicode-utils/metadata";
2
2
 
3
- export { UNICODE_STABLE_VERSION as n, UNICODE_VERSION_METADATA as r, UNICODE_DRAFT_VERSION as t };
3
+ export { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA };
@@ -1,11 +1,11 @@
1
- import { i as UnicodeVersionMetadata, n as UNICODE_STABLE_VERSION, r as UNICODE_VERSION_METADATA, t as UNICODE_DRAFT_VERSION } from "./constants-LyA_Qqju.js";
1
+ import { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA, UnicodeVersionMetadata } from "./constants.mjs";
2
2
  import { RawDataFile, getBoundaryLineStyle, getPropertyValue, inferFileName, inferVersion, isBoundaryLine, isCommentLine, isDashBoundary, isEOFMarker, isEmptyLine, isEqualsBoundary, isHashBoundary, isLineWithData, isMissingAnnotation, isPropertyLine, parseFileNameLine, parseMissingAnnotation, trimCommentLine } from "@unicode-utils/parser";
3
3
 
4
4
  //#region src/draft.d.ts
5
5
  interface GetCurrentDraftVersionOptions {
6
6
  /**
7
7
  * Custom URL to fetch the Unicode draft ReadMe from
8
- * @default "https://unicode-proxy.ucdjs.dev/draft/ReadMe.txt"
8
+ * @default "https://api.ucdjs.dev/api/v1/files/draft/ReadMe.txt"
9
9
  */
10
10
  url?: string;
11
11
  /**
@@ -1,4 +1,4 @@
1
- import { n as UNICODE_STABLE_VERSION, r as UNICODE_VERSION_METADATA, t as UNICODE_DRAFT_VERSION } from "./constants-DevNz53x.js";
1
+ import { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA } from "./constants.mjs";
2
2
  import { RawDataFile, getBoundaryLineStyle, getPropertyValue, inferFileName, inferVersion, isBoundaryLine, isCommentLine, isDashBoundary, isEOFMarker, isEmptyLine, isEqualsBoundary, isHashBoundary, isLineWithData, isMissingAnnotation, isPropertyLine, parseFileNameLine, parseMissingAnnotation, trimCommentLine } from "@unicode-utils/parser";
3
3
 
4
4
  //#region src/draft.ts
@@ -31,7 +31,7 @@ import { RawDataFile, getBoundaryLineStyle, getPropertyValue, inferFileName, inf
31
31
  * ```
32
32
  */
33
33
  async function getCurrentDraftVersion(options = {}) {
34
- const { url = "https://unicode-proxy.ucdjs.dev/draft/ReadMe.txt", fetchOptions = {}, patterns = [
34
+ const { url = "https://api.ucdjs.dev/api/v1/files/draft/ReadMe.txt", fetchOptions = {}, patterns = [
35
35
  /Version (\d+\.\d+(?:\.\d+)?) of the Unicode Standard/,
36
36
  /Unicode(\d+\.\d+(?:\.\d+)?)/,
37
37
  /Version (\d+\.\d+)(?!\.\d)/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unicode-utils/core",
3
- "version": "0.12.0-beta.18",
3
+ "version": "0.12.0-beta.19",
4
4
  "description": "Utilities for working with Unicode",
5
5
  "type": "module",
6
6
  "author": {
@@ -21,13 +21,13 @@
21
21
  "utils"
22
22
  ],
23
23
  "exports": {
24
- ".": "./dist/index.js",
25
- "./constants": "./dist/constants.js",
24
+ ".": "./dist/index.mjs",
25
+ "./constants": "./dist/constants.mjs",
26
26
  "./package.json": "./package.json"
27
27
  },
28
- "main": "./dist/index.js",
29
- "module": "./dist/index.js",
30
- "types": "./dist/index.d.ts",
28
+ "main": "./dist/index.mjs",
29
+ "module": "./dist/index.mjs",
30
+ "types": "./dist/index.d.mts",
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
@@ -37,22 +37,22 @@
37
37
  "dependencies": {
38
38
  "@luxass/utils": "2.7.2",
39
39
  "defu": "6.1.4",
40
- "@unicode-utils/metadata": "0.12.0-beta.18",
41
- "@unicode-utils/parser": "0.12.0-beta.18"
40
+ "@unicode-utils/metadata": "0.12.0-beta.19",
41
+ "@unicode-utils/parser": "0.12.0-beta.19"
42
42
  },
43
43
  "devDependencies": {
44
- "@luxass/eslint-config": "6.0.1",
44
+ "@luxass/eslint-config": "6.0.3",
45
45
  "@types/node": "24.9.1",
46
- "eslint": "9.38.0",
47
- "eslint-plugin-format": "1.0.2",
48
- "msw": "2.11.6",
49
- "publint": "0.3.15",
50
- "tsdown": "0.15.11",
51
- "tsx": "4.20.6",
46
+ "eslint": "9.39.2",
47
+ "eslint-plugin-format": "1.1.0",
48
+ "msw": "2.12.7",
49
+ "publint": "0.3.16",
50
+ "tsdown": "0.18.3",
51
+ "tsx": "4.21.0",
52
52
  "typescript": "5.9.3",
53
- "vitest-package-exports": "0.1.1",
54
- "@unicode-utils-tooling/tsdown-config": "1.0.0",
55
- "@unicode-utils-tooling/tsconfig": "1.0.0"
53
+ "vitest-package-exports": "1.1.1",
54
+ "@unicode-utils-tooling/tsconfig": "0.12.0-beta.19",
55
+ "@unicode-utils-tooling/tsdown-config": "0.12.0-beta.19"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsdown --tsconfig=./tsconfig.build.json",
@@ -1,2 +0,0 @@
1
- import { i as UnicodeVersionMetadata, n as UNICODE_STABLE_VERSION, r as UNICODE_VERSION_METADATA, t as UNICODE_DRAFT_VERSION } from "./constants-LyA_Qqju.js";
2
- export { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA, UnicodeVersionMetadata };
package/dist/constants.js DELETED
@@ -1,3 +0,0 @@
1
- import { n as UNICODE_STABLE_VERSION, r as UNICODE_VERSION_METADATA, t as UNICODE_DRAFT_VERSION } from "./constants-DevNz53x.js";
2
-
3
- export { UNICODE_DRAFT_VERSION, UNICODE_STABLE_VERSION, UNICODE_VERSION_METADATA };