@lokascript/hyperscript-adapter 2.11.1 → 3.1.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 +301 -1
- package/dist/hyperscript-i18n-ar.global.js +5 -5
- package/dist/hyperscript-i18n-bn.global.js +5 -5
- package/dist/hyperscript-i18n-de.global.js +5 -5
- package/dist/hyperscript-i18n-east-asian.global.js +5 -5
- package/dist/hyperscript-i18n-en.global.js +7 -7
- package/dist/hyperscript-i18n-es.global.js +5 -5
- package/dist/hyperscript-i18n-fr.global.js +5 -5
- package/dist/hyperscript-i18n-he.global.js +5 -5
- package/dist/hyperscript-i18n-hi.global.js +5 -5
- package/dist/hyperscript-i18n-id.global.js +5 -5
- package/dist/hyperscript-i18n-it.global.js +5 -5
- package/dist/hyperscript-i18n-ja.global.js +5 -5
- package/dist/hyperscript-i18n-ko.global.js +5 -5
- package/dist/hyperscript-i18n-ms.global.js +5 -5
- package/dist/hyperscript-i18n-pl.global.js +5 -5
- package/dist/hyperscript-i18n-pt.global.js +5 -5
- package/dist/hyperscript-i18n-qu.global.js +5 -5
- package/dist/hyperscript-i18n-ru.global.js +5 -5
- package/dist/hyperscript-i18n-slavic.global.js +5 -5
- package/dist/hyperscript-i18n-south-asian.global.js +5 -5
- package/dist/hyperscript-i18n-southeast-asian.global.js +5 -5
- package/dist/hyperscript-i18n-sw.global.js +5 -5
- package/dist/hyperscript-i18n-th.global.js +5 -5
- package/dist/hyperscript-i18n-tl.global.js +5 -5
- package/dist/hyperscript-i18n-tr.global.js +5 -5
- package/dist/hyperscript-i18n-uk.global.js +5 -5
- package/dist/hyperscript-i18n-vi.global.js +5 -5
- package/dist/hyperscript-i18n-western.global.js +5 -5
- package/dist/hyperscript-i18n-zh.global.js +5 -5
- package/dist/hyperscript-i18n.global.js +37 -36
- package/dist/hyperscript-i18n.global.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/syntax-table.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokascript/hyperscript-adapter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Multilingual adapter plugin for original _hyperscript — write hyperscript in 24 languages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
},
|
|
143
143
|
"homepage": "https://github.com/codetalcott/hyperfixi/tree/main/packages/hyperscript-adapter#readme",
|
|
144
144
|
"dependencies": {
|
|
145
|
-
"@lokascript/semantic": "^
|
|
145
|
+
"@lokascript/semantic": "^3.1.0"
|
|
146
146
|
},
|
|
147
147
|
"optionalDependencies": {
|
|
148
148
|
"@lokascript/i18n": "*"
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
export const SYNTAX: Record<string, readonly [string, string][]> = {
|
|
7
7
|
add: [['patient', ''], ['destination', 'to']],
|
|
8
8
|
append: [['patient', ''], ['destination', 'to']],
|
|
9
|
-
async: [],
|
|
10
9
|
beep: [['patient', '']],
|
|
11
10
|
behavior: [['patient', '']],
|
|
12
11
|
bind: [['destination', ''], ['source', 'to']],
|
|
@@ -73,6 +72,7 @@ export const SYNTAX: Record<string, readonly [string, string][]> = {
|
|
|
73
72
|
trigger: [['event', ''], ['destination', 'on']],
|
|
74
73
|
unless: [['condition', '']],
|
|
75
74
|
wait: [['duration', '']],
|
|
75
|
+
when: [['condition', '']],
|
|
76
76
|
while: [['condition', '']],
|
|
77
77
|
worker: [],
|
|
78
78
|
};
|