@hyperfixi/patterns-reference 2.9.3 → 2.10.0
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/CHANGELOG.md +21 -1
- package/data/engine-verification.json +12 -1
- package/package.json +8 -8
- package/src/api/language-docs.ts +4 -8
- package/src/types/index.ts +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.10.0] - 2026-08-01
|
|
11
|
+
|
|
12
|
+
Full notes: [GitHub Releases](https://github.com/codetalcott/hyperfixi/releases/tag/v2.10.0).
|
|
13
|
+
|
|
14
|
+
Highlights: `swap`/`process`/`morph … using view transition` across all 24
|
|
15
|
+
languages (#870, #873, #875), typed command registration (#869, #871),
|
|
16
|
+
`tell`/`process` parser fixes (#861, #872), the R1 role-fidelity burn-down
|
|
17
|
+
(#864, #867, #868, #874, #878), and guards for the remaining hand-maintained
|
|
18
|
+
CI package lists (#862, #865).
|
|
19
|
+
|
|
20
|
+
## [2.9.0] - 2026-07-25
|
|
21
|
+
|
|
22
|
+
> **Gap note:** 2.9.1 through 2.9.4 shipped without entries in this file; their
|
|
23
|
+
> details live in [GitHub Releases](https://github.com/codetalcott/hyperfixi/releases).
|
|
24
|
+
|
|
10
25
|
### ⚠ BREAKING (types)
|
|
11
26
|
|
|
12
27
|
- **Domain renderers return `string | null`.** `renderSQL`, `renderJSX`, `renderTodo`,
|
|
@@ -379,7 +394,12 @@ _Synchronized version release. See git history for details._
|
|
|
379
394
|
- npm access token stored in GitHub Secrets
|
|
380
395
|
- 2FA recommended for npm organization
|
|
381
396
|
|
|
382
|
-
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v2.
|
|
397
|
+
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v2.10.0...HEAD
|
|
398
|
+
[2.10.0]: https://github.com/codetalcott/hyperfixi/compare/v2.9.0...v2.10.0
|
|
399
|
+
[2.9.0]: https://github.com/codetalcott/hyperfixi/compare/v2.8.0...v2.9.0
|
|
400
|
+
[2.8.0]: https://github.com/codetalcott/hyperfixi/compare/v2.5.1...v2.8.0
|
|
401
|
+
[2.5.1]: https://github.com/codetalcott/hyperfixi/compare/v2.5.0...v2.5.1
|
|
402
|
+
[2.5.0]: https://github.com/codetalcott/hyperfixi/compare/v2.4.0...v2.5.0
|
|
383
403
|
[2.4.0]: https://github.com/codetalcott/hyperfixi/compare/v2.3.1...v2.4.0
|
|
384
404
|
[2.3.1]: https://github.com/codetalcott/hyperfixi/compare/v2.3.0...v2.3.1
|
|
385
405
|
[2.3.0]: https://github.com/codetalcott/hyperfixi/compare/v2.2.1...v2.3.0
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"hyperscript": "upstream _hyperscript parse with zero recovered errors (extensions loaded: socket, worker, eventsource); parse-level only",
|
|
6
6
|
"html": "HTML-markup patterns: each _= / script-tag snippet verified individually; hx-live/sse-*/ws-* attributes are hyperfixi-only and block the upstream claim"
|
|
7
7
|
},
|
|
8
|
-
"lokascriptVersion": "2.9.
|
|
8
|
+
"lokascriptVersion": "2.9.4",
|
|
9
9
|
"hyperscriptVersion": "0.9.93"
|
|
10
10
|
},
|
|
11
11
|
"engines": {
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"sse-multi-event": "lokascript",
|
|
147
147
|
"stagger-animation": "lokascript",
|
|
148
148
|
"swap-content": "both",
|
|
149
|
+
"swap-view-transition": "lokascript",
|
|
149
150
|
"tabs-aria": "lokascript",
|
|
150
151
|
"tabs-basic": "both",
|
|
151
152
|
"tabs-content": "both",
|
|
@@ -157,6 +158,7 @@
|
|
|
157
158
|
"toggle-aria-expanded": "both",
|
|
158
159
|
"toggle-class-basic": "both",
|
|
159
160
|
"toggle-class-on-other": "both",
|
|
161
|
+
"toggle-class-temporary": "both",
|
|
160
162
|
"toggle-visibility": "both",
|
|
161
163
|
"transition-color": "both",
|
|
162
164
|
"transition-opacity": "both",
|
|
@@ -747,6 +749,11 @@
|
|
|
747
749
|
"lokascript": true,
|
|
748
750
|
"hyperscript": true
|
|
749
751
|
},
|
|
752
|
+
"swap-view-transition": {
|
|
753
|
+
"lokascript": true,
|
|
754
|
+
"hyperscript": false,
|
|
755
|
+
"hyperscriptError": "Unexpected Token : using"
|
|
756
|
+
},
|
|
750
757
|
"tabs-aria": {
|
|
751
758
|
"lokascript": true,
|
|
752
759
|
"hyperscript": false,
|
|
@@ -793,6 +800,10 @@
|
|
|
793
800
|
"lokascript": true,
|
|
794
801
|
"hyperscript": true
|
|
795
802
|
},
|
|
803
|
+
"toggle-class-temporary": {
|
|
804
|
+
"lokascript": true,
|
|
805
|
+
"hyperscript": true
|
|
806
|
+
},
|
|
796
807
|
"toggle-visibility": {
|
|
797
808
|
"lokascript": true,
|
|
798
809
|
"hyperscript": true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperfixi/patterns-reference",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Queryable patterns database for hyperscript with multilingual translations and LLM support",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
},
|
|
67
67
|
"homepage": "https://github.com/codetalcott/hyperfixi/tree/main/packages/patterns-reference#readme",
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@lokascript/semantic": "^2.
|
|
70
|
-
"better-sqlite3": "^
|
|
69
|
+
"@lokascript/semantic": "^2.10.0",
|
|
70
|
+
"better-sqlite3": "^13.0.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@hyperfixi/core": "^2.
|
|
74
|
-
"@hyperfixi/reactivity": "^2.
|
|
75
|
-
"@hyperfixi/realtime": "^2.
|
|
73
|
+
"@hyperfixi/core": "^2.10.0",
|
|
74
|
+
"@hyperfixi/reactivity": "^2.10.0",
|
|
75
|
+
"@hyperfixi/realtime": "^2.10.0",
|
|
76
76
|
"@types/better-sqlite3": "^7.6.0",
|
|
77
|
-
"@types/node": "^
|
|
77
|
+
"@types/node": "^26.1.2",
|
|
78
78
|
"hyperscript.org": "0.9.93",
|
|
79
|
-
"jsdom": "^
|
|
79
|
+
"jsdom": "^30.0.0",
|
|
80
80
|
"tsup": "^8.0.0",
|
|
81
81
|
"tsx": "^4.23.1",
|
|
82
82
|
"typescript": "^5.0.0",
|
package/src/api/language-docs.ts
CHANGED
|
@@ -172,8 +172,7 @@ export async function getCommandByName(
|
|
|
172
172
|
const db = getDatabase({ ...options, readonly: true });
|
|
173
173
|
|
|
174
174
|
const row = db.prepare('SELECT * FROM commands WHERE LOWER(name) = LOWER(?)').get(name) as
|
|
175
|
-
|
|
|
176
|
-
| undefined;
|
|
175
|
+
CommandRow | undefined;
|
|
177
176
|
|
|
178
177
|
return row ? mapCommand(row) : null;
|
|
179
178
|
}
|
|
@@ -224,8 +223,7 @@ export async function getExpressionByName(
|
|
|
224
223
|
const db = getDatabase({ ...options, readonly: true });
|
|
225
224
|
|
|
226
225
|
const row = db.prepare('SELECT * FROM expressions WHERE LOWER(name) = LOWER(?)').get(name) as
|
|
227
|
-
|
|
|
228
|
-
| undefined;
|
|
226
|
+
ExpressionRow | undefined;
|
|
229
227
|
|
|
230
228
|
if (!row) return null;
|
|
231
229
|
|
|
@@ -312,8 +310,7 @@ export async function getKeywordByName(
|
|
|
312
310
|
const db = getDatabase({ ...options, readonly: true });
|
|
313
311
|
|
|
314
312
|
const row = db.prepare('SELECT * FROM keywords WHERE LOWER(name) = LOWER(?)').get(name) as
|
|
315
|
-
|
|
|
316
|
-
| undefined;
|
|
313
|
+
KeywordRow | undefined;
|
|
317
314
|
|
|
318
315
|
return row ? mapKeyword(row) : null;
|
|
319
316
|
}
|
|
@@ -343,8 +340,7 @@ export async function getFeatureByName(
|
|
|
343
340
|
const db = getDatabase({ ...options, readonly: true });
|
|
344
341
|
|
|
345
342
|
const row = db.prepare('SELECT * FROM features WHERE LOWER(name) = LOWER(?)').get(name) as
|
|
346
|
-
|
|
|
347
|
-
| undefined;
|
|
343
|
+
FeatureRow | undefined;
|
|
348
344
|
|
|
349
345
|
return row ? mapFeature(row) : null;
|
|
350
346
|
}
|
package/src/types/index.ts
CHANGED
|
@@ -367,11 +367,7 @@ export interface SpecialSymbol {
|
|
|
367
367
|
* Element type for searching across language elements.
|
|
368
368
|
*/
|
|
369
369
|
export type LanguageElementType =
|
|
370
|
-
| '
|
|
371
|
-
| 'expression'
|
|
372
|
-
| 'keyword'
|
|
373
|
-
| 'feature'
|
|
374
|
-
| 'special_symbol';
|
|
370
|
+
'command' | 'expression' | 'keyword' | 'feature' | 'special_symbol';
|
|
375
371
|
|
|
376
372
|
/**
|
|
377
373
|
* A language element (union of all documentation types).
|