@sushichan044/kg-core 0.9.5 → 0.10.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.
@@ -195,6 +195,10 @@ function characterClass(characters) {
195
195
  * neutral.
196
196
  */
197
197
  const DIVIDING_PUNCTUATION = "!?‼⁇⁈⁉";
198
+ /**
199
+ * The marks a short run of which is set as one tate-chu-yoko cell, `!?` reading as `⁉`.
200
+ */
201
+ const TATE_CHU_YOKO_MARKS = "!?!?";
198
202
  //#endregion
199
203
  //#region src/internal/japanese-spaces.ts
200
204
  const LEADING_SPACES = /^[  \t]+/u;
@@ -255,4 +259,4 @@ function questionOrExclamationSpacings(line) {
255
259
  return [...line.matchAll(MARKS)].map((marks) => analyzeMatch(line, marks)).filter((spacing) => spacing !== void 0);
256
260
  }
257
261
  //#endregion
258
- export { OPENING_BRACKETS as a, ValidationIssue as c, DiagnosticSeverity as d, NamespacedId as f, readonlyObject as g, readonlyArray as h, CLOSING_BRACKETS as i, ManuscriptResult as l, nonNegativeInteger as m, leadingSpaces as n, characterClass as o, ManuscriptRange as p, DIVIDING_PUNCTUATION as r, graphemeSegmenter as s, questionOrExclamationSpacings as t, ManuscriptDiagnostic as u };
262
+ export { readonlyArray as _, CLOSING_BRACKETS as a, graphemeSegmenter as c, ManuscriptDiagnostic as d, DiagnosticSeverity as f, nonNegativeInteger as g, TextRange as h, TATE_CHU_YOKO_MARKS as i, ValidationIssue as l, ManuscriptRange as m, leadingSpaces as n, OPENING_BRACKETS as o, NamespacedId as p, DIVIDING_PUNCTUATION as r, characterClass as s, questionOrExclamationSpacings as t, ManuscriptResult as u, readonlyObject as v };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sushichan044/kg-core",
3
- "version": "0.9.5",
3
+ "version": "0.10.1",
4
4
  "description": "Framework-independent parsing, composition, and proofreading for Japanese manuscripts",
5
5
  "keywords": [
6
6
  "japanese",
@@ -52,15 +52,15 @@
52
52
  "registry": "https://registry.npmjs.org/"
53
53
  },
54
54
  "dependencies": {
55
- "get-east-asian-width": "^1.6.0",
56
- "valibot": "1.4.2"
55
+ "get-east-asian-width": "^1.7.0",
56
+ "valibot": "1.5.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@arethetypeswrong/core": "0.18.5",
60
- "publint": "0.3.24",
60
+ "publint": "0.3.25",
61
61
  "typescript": "7.0.2",
62
62
  "unplugin-unused": "0.6.0",
63
- "vite-plus": "0.3.1"
63
+ "vite-plus": "1.1.0"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=22.12.0"