@hyperfixi/core 3.3.0 → 4.0.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/README.md +57 -179
- package/dist/ast-utils/index.cjs +74 -806
- package/dist/ast-utils/index.d.ts +1 -1
- package/dist/ast-utils/index.mjs +74 -805
- package/dist/ast-utils/interchange/engine-positions.d.ts +3 -0
- package/dist/ast-utils/interchange/index.d.ts +1 -2
- package/dist/hyperfixi.js +19 -2
- package/dist/index.d.ts +2 -22
- package/dist/index.mjs +3 -29128
- package/dist/lsp-metadata.cjs +77 -73
- package/dist/lsp-metadata.d.ts +4 -4
- package/dist/lsp-metadata.mjs +77 -73
- package/dist/metadata.cjs +34 -266
- package/dist/metadata.d.ts +31 -26
- package/dist/metadata.mjs +34 -266
- package/dist/multilingual/index.cjs +16 -382
- package/dist/multilingual/index.d.ts +4 -32
- package/dist/multilingual/index.mjs +15 -377
- package/dist/reference/index.cjs +67 -216
- package/dist/reference/index.d.ts +0 -3
- package/dist/reference/index.mjs +68 -216
- package/dist/version.d.ts +1 -1
- package/package.json +13 -179
- package/dist/__test-utils__/context-builders.d.ts +0 -42
- package/dist/__test-utils__/error-testing.d.ts +0 -18
- package/dist/__test-utils__/index.d.ts +0 -6
- package/dist/__test-utils__/mock-types.d.ts +0 -57
- package/dist/__test-utils__/parser-context-mock.d.ts +0 -7
- package/dist/__test-utils__/parser-helpers.d.ts +0 -38
- package/dist/api/hyperscript-api.d.ts +0 -90
- package/dist/api/lokascript-api.d.ts +0 -9
- package/dist/ast/command-slots.d.ts +0 -140
- package/dist/ast/guards.d.ts +0 -15
- package/dist/ast/legacy.d.ts +0 -15
- package/dist/ast/nodes.d.ts +0 -243
- package/dist/ast-utils/interchange/from-core.d.ts +0 -12
- package/dist/ast-utils/interchange/to-core.d.ts +0 -8
- package/dist/behaviors/boosted.d.ts +0 -29
- package/dist/behaviors/history-swap.d.ts +0 -24
- package/dist/behaviors/index.cjs +0 -1155
- package/dist/behaviors/index.d.ts +0 -4
- package/dist/behaviors/index.mjs +0 -1145
- package/dist/bundle-generator/executor-core.d.ts +0 -4
- package/dist/bundle-generator/generator.d.ts +0 -4
- package/dist/bundle-generator/index.cjs +0 -2804
- package/dist/bundle-generator/index.d.ts +0 -6
- package/dist/bundle-generator/index.mjs +0 -2779
- package/dist/bundle-generator/parser-templates.d.ts +0 -6
- package/dist/bundle-generator/template-capabilities.d.ts +0 -12
- package/dist/bundle-generator/templates.d.ts +0 -12
- package/dist/bundle-generator/types.d.ts +0 -34
- package/dist/chunks/bridge-CI9SOl8u.js +0 -2
- package/dist/chunks/browser-modular-7CpI5VF2.js +0 -2
- package/dist/chunks/index-BwXDEK0m.js +0 -2
- package/dist/chunks/index-DQi2o8Lk.js +0 -2
- package/dist/chunks/index-uCOQ8Qn0.js +0 -2
- package/dist/commands/advanced/js.d.ts +0 -40
- package/dist/commands/animation/measure.d.ts +0 -43
- package/dist/commands/animation/settle.d.ts +0 -38
- package/dist/commands/animation/start-view-transition.d.ts +0 -38
- package/dist/commands/animation/take.d.ts +0 -41
- package/dist/commands/animation/transition.d.ts +0 -49
- package/dist/commands/async/fetch.d.ts +0 -61
- package/dist/commands/async/wait.d.ts +0 -51
- package/dist/commands/behaviors/install.d.ts +0 -40
- package/dist/commands/content/append.d.ts +0 -26
- package/dist/commands/content/insertion-base.d.ts +0 -60
- package/dist/commands/content/prepend.d.ts +0 -26
- package/dist/commands/control-flow/break.d.ts +0 -29
- package/dist/commands/control-flow/continue.d.ts +0 -29
- package/dist/commands/control-flow/exit.d.ts +0 -29
- package/dist/commands/control-flow/halt.d.ts +0 -39
- package/dist/commands/control-flow/if.d.ts +0 -58
- package/dist/commands/control-flow/repeat.d.ts +0 -50
- package/dist/commands/control-flow/return.d.ts +0 -33
- package/dist/commands/control-flow/signal-base.d.ts +0 -18
- package/dist/commands/control-flow/throw.d.ts +0 -34
- package/dist/commands/control-flow/unless.d.ts +0 -3
- package/dist/commands/data/clear.d.ts +0 -37
- package/dist/commands/data/decrement.d.ts +0 -3
- package/dist/commands/data/default.d.ts +0 -60
- package/dist/commands/data/get.d.ts +0 -35
- package/dist/commands/data/increment.d.ts +0 -42
- package/dist/commands/data/set.d.ts +0 -76
- package/dist/commands/decorators/index.d.ts +0 -14
- package/dist/commands/dom/add.d.ts +0 -44
- package/dist/commands/dom/close.d.ts +0 -32
- package/dist/commands/dom/dom-modification-base.d.ts +0 -48
- package/dist/commands/dom/empty.d.ts +0 -32
- package/dist/commands/dom/hide.d.ts +0 -28
- package/dist/commands/dom/make.d.ts +0 -34
- package/dist/commands/dom/open.d.ts +0 -34
- package/dist/commands/dom/process-partials.d.ts +0 -51
- package/dist/commands/dom/put.d.ts +0 -42
- package/dist/commands/dom/remove.d.ts +0 -46
- package/dist/commands/dom/reset.d.ts +0 -32
- package/dist/commands/dom/select.d.ts +0 -32
- package/dist/commands/dom/show.d.ts +0 -29
- package/dist/commands/dom/swap.d.ts +0 -65
- package/dist/commands/dom/toggle.d.ts +0 -69
- package/dist/commands/dom/visibility-base.d.ts +0 -22
- package/dist/commands/events/send.d.ts +0 -3
- package/dist/commands/events/trigger.d.ts +0 -49
- package/dist/commands/execution/blur.d.ts +0 -32
- package/dist/commands/execution/call.d.ts +0 -35
- package/dist/commands/execution/focus.d.ts +0 -32
- package/dist/commands/execution/pseudo-command.d.ts +0 -41
- package/dist/commands/helpers/attribute-manipulation.d.ts +0 -11
- package/dist/commands/helpers/attribute-target.d.ts +0 -9
- package/dist/commands/helpers/batch-dom-operations.d.ts +0 -12
- package/dist/commands/helpers/body-ops.d.ts +0 -10
- package/dist/commands/helpers/class-manipulation.d.ts +0 -11
- package/dist/commands/helpers/condition-helpers.d.ts +0 -4
- package/dist/commands/helpers/dom-mutation.d.ts +0 -16
- package/dist/commands/helpers/duration-parsing.d.ts +0 -8
- package/dist/commands/helpers/element-property-access.d.ts +0 -7
- package/dist/commands/helpers/element-resolution.d.ts +0 -16
- package/dist/commands/helpers/error-helpers.d.ts +0 -17
- package/dist/commands/helpers/event-helpers.d.ts +0 -13
- package/dist/commands/helpers/event-waiting.d.ts +0 -37
- package/dist/commands/helpers/index.d.ts +0 -32
- package/dist/commands/helpers/input-validator.d.ts +0 -23
- package/dist/commands/helpers/loop-executor.d.ts +0 -56
- package/dist/commands/helpers/numeric-target-parser.d.ts +0 -21
- package/dist/commands/helpers/property-target.d.ts +0 -20
- package/dist/commands/helpers/selector-type-detection.d.ts +0 -24
- package/dist/commands/helpers/slots.d.ts +0 -5
- package/dist/commands/helpers/smart-element.d.ts +0 -16
- package/dist/commands/helpers/style-manipulation.d.ts +0 -16
- package/dist/commands/helpers/target-elements.d.ts +0 -5
- package/dist/commands/helpers/temporal-modifiers.d.ts +0 -15
- package/dist/commands/helpers/url-argument-parser.d.ts +0 -13
- package/dist/commands/helpers/url-validation.d.ts +0 -7
- package/dist/commands/helpers/variable-access.d.ts +0 -13
- package/dist/commands/helpers/visibility-target-parser.d.ts +0 -15
- package/dist/commands/helpers/write-target.d.ts +0 -42
- package/dist/commands/index.cjs +0 -24168
- package/dist/commands/index.d.ts +0 -171
- package/dist/commands/index.mjs +0 -23981
- package/dist/commands/manifest.d.ts +0 -17
- package/dist/commands/navigation/go.d.ts +0 -58
- package/dist/commands/navigation/push-url.d.ts +0 -48
- package/dist/commands/navigation/replace-url.d.ts +0 -3
- package/dist/commands/navigation/scroll-to.d.ts +0 -43
- package/dist/commands/templates/render.d.ts +0 -47
- package/dist/commands/utility/beep.d.ts +0 -41
- package/dist/commands/utility/breakpoint.d.ts +0 -32
- package/dist/commands/utility/copy.d.ts +0 -41
- package/dist/commands/utility/log.d.ts +0 -36
- package/dist/commands/utility/pick.d.ts +0 -47
- package/dist/commands/utility/tell.d.ts +0 -39
- package/dist/compatibility/browser-bundle-classic.d.ts +0 -17
- package/dist/compatibility/browser-bundle-hybrid-complete.d.ts +0 -22
- package/dist/compatibility/browser-bundle-hybrid-hx.d.ts +0 -43
- package/dist/compatibility/browser-bundle-lite.d.ts +0 -15
- package/dist/compatibility/browser-bundle-modular.d.ts +0 -18
- package/dist/compatibility/browser-bundle-multilingual.d.ts +0 -19
- package/dist/compatibility/browser-bundle-semantic-complete.d.ts +0 -24
- package/dist/compatibility/browser-bundle-textshelf-minimal.d.ts +0 -16
- package/dist/compatibility/browser-bundle-textshelf-profile.d.ts +0 -18
- package/dist/compatibility/browser-modular.d.ts +0 -42
- package/dist/compatibility/browser-tests/helpers/semantic-page.d.ts +0 -3
- package/dist/compatibility/browser-tests/test-utils.d.ts +0 -21
- package/dist/compatibility/bundle-shell.d.ts +0 -13
- package/dist/compatibility/bundle-sources.d.ts +0 -4
- package/dist/compatibility/eval-hyperscript.d.ts +0 -16
- package/dist/compatibility/hyperscript-adapter.d.ts +0 -38
- package/dist/core/ast-property-utils.d.ts +0 -2
- package/dist/core/context.d.ts +0 -19
- package/dist/core/dom.d.ts +0 -15
- package/dist/core/evaluator-types.d.ts +0 -5
- package/dist/core/events.d.ts +0 -48
- package/dist/core/executor.d.ts +0 -34
- package/dist/core/expression-evaluator.d.ts +0 -6
- package/dist/core/expression-registry.d.ts +0 -8
- package/dist/core/scope-hooks.d.ts +0 -24
- package/dist/debug/debug-controller.d.ts +0 -62
- package/dist/debug/index.d.ts +0 -5
- package/dist/dom/attribute-processor.d.ts +0 -75
- package/dist/dom/detect-language.d.ts +0 -3
- package/dist/dom/minimal-attribute-processor.d.ts +0 -20
- package/dist/expressions/base-expression.d.ts +0 -27
- package/dist/expressions/bundles/common-expressions.d.ts +0 -10
- package/dist/expressions/bundles/core-expressions.d.ts +0 -8
- package/dist/expressions/bundles/full-expressions.d.ts +0 -11
- package/dist/expressions/bundles/index.d.ts +0 -7
- package/dist/expressions/collection/index.d.ts +0 -10
- package/dist/expressions/conversion/index.d.ts +0 -31
- package/dist/expressions/expression-tiers.d.ts +0 -13
- package/dist/expressions/index.cjs +0 -4331
- package/dist/expressions/index.d.ts +0 -13
- package/dist/expressions/index.mjs +0 -4312
- package/dist/expressions/logical/index.d.ts +0 -61
- package/dist/expressions/mathematical/index.d.ts +0 -80
- package/dist/expressions/positional/index.d.ts +0 -31
- package/dist/expressions/properties/index.d.ts +0 -27
- package/dist/expressions/property-access-utils.d.ts +0 -23
- package/dist/expressions/references/index.d.ts +0 -39
- package/dist/expressions/shared/comparison-utils.d.ts +0 -10
- package/dist/expressions/shared/index.d.ts +0 -10
- package/dist/expressions/shared/number-utils.d.ts +0 -8
- package/dist/expressions/shared/tracking.d.ts +0 -20
- package/dist/expressions/shared/validation-utils.d.ts +0 -13
- package/dist/expressions/special/index.d.ts +0 -78
- package/dist/expressions/type-helpers.d.ts +0 -11
- package/dist/expressions/type-registry.d.ts +0 -57
- package/dist/expressions/validation-helpers.d.ts +0 -15
- package/dist/htmx/hcon.d.ts +0 -9
- package/dist/htmx/htmx-attribute-processor.d.ts +0 -120
- package/dist/htmx/htmx-translator.d.ts +0 -22
- package/dist/htmx/i18n-hooks.d.ts +0 -18
- package/dist/htmx/i18n-orchestrator.d.ts +0 -16
- package/dist/htmx/index.d.ts +0 -3
- package/dist/htmx/lang-resolver.d.ts +0 -3
- package/dist/htmx/sse.d.ts +0 -60
- package/dist/htmx/ws.d.ts +0 -59
- package/dist/hyperfixi-browser-classic-i18n.js +0 -2
- package/dist/hyperfixi-browser.js +0 -2
- package/dist/hyperfixi-classic-i18n.js +0 -2
- package/dist/hyperfixi-hx-v4.js +0 -1
- package/dist/hyperfixi-hx.js +0 -1
- package/dist/hyperfixi-hybrid-complete.js +0 -1
- package/dist/hyperfixi-hybrid-hx.js +0 -1
- package/dist/hyperfixi-multilingual.js +0 -2
- package/dist/hyperfixi.mjs +0 -2
- package/dist/i18n/error-catalog.d.ts +0 -12
- package/dist/index.cjs +0 -29159
- package/dist/index.min.js +0 -2
- package/dist/lib/dom-globals-shim.d.ts +0 -2
- package/dist/lib/index.d.ts +0 -4
- package/dist/lib/morph-adapter.d.ts +0 -9
- package/dist/lib/swap-executor.d.ts +0 -12
- package/dist/lib/view-transitions.d.ts +0 -7
- package/dist/lokascript-browser-classic-i18n.js +0 -2
- package/dist/lokascript-browser.js +0 -2
- package/dist/lokascript-hybrid-complete.js +0 -1
- package/dist/lokascript-hybrid-hx.js +0 -1
- package/dist/lokascript-multilingual.js +0 -2
- package/dist/lse/index.cjs +0 -84
- package/dist/lse/index.d.ts +0 -15
- package/dist/lse/index.mjs +0 -71
- package/dist/multilingual/bridge.d.ts +0 -38
- package/dist/multilingual/schema-roles.d.ts +0 -3
- package/dist/parser/__types__/test-helpers.d.ts +0 -25
- package/dist/parser/command-grammar.d.ts +0 -14
- package/dist/parser/command-node-builder.d.ts +0 -46
- package/dist/parser/command-parsers/animation-commands.d.ts +0 -6
- package/dist/parser/command-parsers/async-commands.d.ts +0 -5
- package/dist/parser/command-parsers/control-flow-commands.d.ts +0 -7
- package/dist/parser/command-parsers/declared-commands.d.ts +0 -6
- package/dist/parser/command-parsers/dom-commands.d.ts +0 -11
- package/dist/parser/command-parsers/event-commands.d.ts +0 -4
- package/dist/parser/command-parsers/navigation-commands.d.ts +0 -6
- package/dist/parser/command-parsers/utility-commands.d.ts +0 -14
- package/dist/parser/command-parsers/variable-commands.d.ts +0 -12
- package/dist/parser/error-handler.d.ts +0 -34
- package/dist/parser/extensions.d.ts +0 -43
- package/dist/parser/full-parser.cjs +0 -7943
- package/dist/parser/full-parser.d.ts +0 -4
- package/dist/parser/full-parser.mjs +0 -7940
- package/dist/parser/helpers/ast-helpers.d.ts +0 -24
- package/dist/parser/helpers/parsing-helpers.d.ts +0 -19
- package/dist/parser/helpers/token-helpers.d.ts +0 -28
- package/dist/parser/hybrid/aliases.cjs +0 -44
- package/dist/parser/hybrid/aliases.d.ts +0 -7
- package/dist/parser/hybrid/aliases.mjs +0 -37
- package/dist/parser/hybrid/ast-types.cjs +0 -3
- package/dist/parser/hybrid/ast-types.d.ts +0 -97
- package/dist/parser/hybrid/ast-types.mjs +0 -2
- package/dist/parser/hybrid/index.cjs +0 -1185
- package/dist/parser/hybrid/index.d.ts +0 -6
- package/dist/parser/hybrid/index.mjs +0 -1175
- package/dist/parser/hybrid/parser-core.cjs +0 -1171
- package/dist/parser/hybrid/parser-core.d.ts +0 -69
- package/dist/parser/hybrid/parser-core.mjs +0 -1169
- package/dist/parser/hybrid/tokenizer.cjs +0 -255
- package/dist/parser/hybrid/tokenizer.d.ts +0 -9
- package/dist/parser/hybrid/tokenizer.mjs +0 -252
- package/dist/parser/hybrid-parser.cjs +0 -1249
- package/dist/parser/hybrid-parser.d.ts +0 -10
- package/dist/parser/hybrid-parser.mjs +0 -1242
- package/dist/parser/parser-constants.d.ts +0 -100
- package/dist/parser/parser-interface.d.ts +0 -12
- package/dist/parser/parser-types.d.ts +0 -164
- package/dist/parser/parser.d.ts +0 -165
- package/dist/parser/pratt-parser.d.ts +0 -41
- package/dist/parser/regex-parser.cjs +0 -422
- package/dist/parser/regex-parser.d.ts +0 -4
- package/dist/parser/regex-parser.mjs +0 -419
- package/dist/parser/runtime.d.ts +0 -14
- package/dist/parser/semantic-integration.d.ts +0 -17
- package/dist/parser/token-consumer.d.ts +0 -34
- package/dist/parser/token-predicates.d.ts +0 -77
- package/dist/parser/tokenizer.d.ts +0 -28
- package/dist/parser/types.d.ts +0 -105
- package/dist/performance/expression-cache.d.ts +0 -78
- package/dist/performance/integration.d.ts +0 -40
- package/dist/performance/production-monitor.d.ts +0 -67
- package/dist/registry/browser-types.cjs +0 -81
- package/dist/registry/browser-types.d.ts +0 -20
- package/dist/registry/browser-types.mjs +0 -76
- package/dist/registry/environment.cjs +0 -36
- package/dist/registry/environment.d.ts +0 -19
- package/dist/registry/environment.mjs +0 -30
- package/dist/registry/event-source-registry.d.ts +0 -54
- package/dist/registry/examples/server-commands.d.ts +0 -6
- package/dist/registry/examples/server-event-source.d.ts +0 -32
- package/dist/registry/index.cjs +0 -14055
- package/dist/registry/index.d.ts +0 -39
- package/dist/registry/index.mjs +0 -14039
- package/dist/registry/runtime-integration.d.ts +0 -23
- package/dist/registry/universal-types.cjs +0 -91
- package/dist/registry/universal-types.d.ts +0 -35
- package/dist/registry/universal-types.mjs +0 -86
- package/dist/runtime/cleanup-registry.d.ts +0 -47
- package/dist/runtime/command-adapter.d.ts +0 -69
- package/dist/runtime/environment.d.ts +0 -75
- package/dist/runtime/plugin.d.ts +0 -14
- package/dist/runtime/runtime-base.d.ts +0 -100
- package/dist/runtime/runtime-factory.d.ts +0 -29
- package/dist/runtime/runtime.d.ts +0 -20
- package/dist/runtime/temporal-modifiers.d.ts +0 -37
- package/dist/test-setup.d.ts +0 -28
- package/dist/test-utilities.d.ts +0 -39
- package/dist/types/base-types.d.ts +0 -231
- package/dist/types/code-fix.d.ts +0 -39
- package/dist/types/command-metadata.d.ts +0 -57
- package/dist/types/command-types.d.ts +0 -262
- package/dist/types/context-types.d.ts +0 -106
- package/dist/types/core-context.d.ts +0 -22
- package/dist/types/core.d.ts +0 -143
- package/dist/types/error-codes.d.ts +0 -207
- package/dist/types/expression-types.d.ts +0 -155
- package/dist/types/hooks.d.ts +0 -45
- package/dist/types/index.d.ts +0 -32
- package/dist/types/program.d.ts +0 -8
- package/dist/types/result.d.ts +0 -73
- package/dist/types/template-types.d.ts +0 -162
- package/dist/types/type-guards.d.ts +0 -24
- package/dist/types/unified-types.d.ts +0 -91
- package/dist/utils/beep.d.ts +0 -8
- package/dist/utils/debug-events.d.ts +0 -41
- package/dist/utils/debug.d.ts +0 -35
- package/dist/utils/dom-utils.d.ts +0 -16
- package/dist/utils/element-check.d.ts +0 -8
- package/dist/utils/keyboard-shortcuts.d.ts +0 -18
- package/dist/utils/performance.d.ts +0 -40
- package/dist/validation/command-pattern-validator.d.ts +0 -53
- package/dist/validation/common-validators.d.ts +0 -24
- package/dist/validation/lightweight-validators.d.ts +0 -113
- package/dist/validation/partial-validation-types.d.ts +0 -50
- package/dist/validation/partial-validator.d.ts +0 -6
- package/dist/validation/partial-warning-formatter.d.ts +0 -6
- package/dist/validation/validate-cli.d.ts +0 -41
- package/vocab/htmx/ar.js +0 -62
- package/vocab/htmx/bn.js +0 -65
- package/vocab/htmx/de.js +0 -83
- package/vocab/htmx/en.js +0 -24
- package/vocab/htmx/es.js +0 -79
- package/vocab/htmx/fr.js +0 -79
- package/vocab/htmx/he.js +0 -61
- package/vocab/htmx/hi.js +0 -81
- package/vocab/htmx/id.js +0 -76
- package/vocab/htmx/it.js +0 -79
- package/vocab/htmx/ja.js +0 -85
- package/vocab/htmx/ko.js +0 -81
- package/vocab/htmx/ms.js +0 -58
- package/vocab/htmx/pl.js +0 -80
- package/vocab/htmx/pt.js +0 -81
- package/vocab/htmx/qu.js +0 -83
- package/vocab/htmx/ru.js +0 -82
- package/vocab/htmx/sw.js +0 -79
- package/vocab/htmx/th.js +0 -67
- package/vocab/htmx/tl.js +0 -56
- package/vocab/htmx/tr.js +0 -86
- package/vocab/htmx/uk.js +0 -82
- package/vocab/htmx/vi.js +0 -59
- package/vocab/htmx/zh.js +0 -79
package/dist/metadata.cjs
CHANGED
|
@@ -1,139 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
'add',
|
|
5
|
-
'append',
|
|
6
|
-
'beep',
|
|
7
|
-
'blur',
|
|
8
|
-
'break',
|
|
9
|
-
'breakpoint',
|
|
10
|
-
'call',
|
|
11
|
-
'clear',
|
|
12
|
-
'close',
|
|
13
|
-
'continue',
|
|
14
|
-
'copy',
|
|
15
|
-
'decrement',
|
|
16
|
-
'default',
|
|
17
|
-
'empty',
|
|
18
|
-
'exit',
|
|
19
|
-
'fetch',
|
|
20
|
-
'focus',
|
|
21
|
-
'get',
|
|
22
|
-
'go',
|
|
23
|
-
'halt',
|
|
24
|
-
'hide',
|
|
25
|
-
'if',
|
|
26
|
-
'increment',
|
|
27
|
-
'install',
|
|
28
|
-
'js',
|
|
29
|
-
'log',
|
|
30
|
-
'make',
|
|
31
|
-
'measure',
|
|
32
|
-
'morph',
|
|
33
|
-
'open',
|
|
34
|
-
'pick',
|
|
35
|
-
'prepend',
|
|
36
|
-
'process',
|
|
37
|
-
'pseudo-command',
|
|
38
|
-
'push',
|
|
39
|
-
'put',
|
|
40
|
-
'remove',
|
|
41
|
-
'render',
|
|
42
|
-
'repeat',
|
|
43
|
-
'replace',
|
|
44
|
-
'reset',
|
|
45
|
-
'return',
|
|
46
|
-
'scroll',
|
|
47
|
-
'select',
|
|
48
|
-
'send',
|
|
49
|
-
'set',
|
|
50
|
-
'settle',
|
|
51
|
-
'show',
|
|
52
|
-
'start',
|
|
53
|
-
'swap',
|
|
54
|
-
'take',
|
|
55
|
-
'tell',
|
|
56
|
-
'throw',
|
|
57
|
-
'toggle',
|
|
58
|
-
'transition',
|
|
59
|
-
'trigger',
|
|
60
|
-
'unless',
|
|
61
|
-
'wait',
|
|
62
|
-
];
|
|
63
|
-
|
|
64
|
-
const VERSION = '3.3.0';
|
|
3
|
+
const VERSION = '4.0.1';
|
|
65
4
|
|
|
66
|
-
const
|
|
5
|
+
const ENGINE_COMMAND_COUNT = 53;
|
|
6
|
+
const UPSTREAM_SUITE = { version: '0.9.93', passed: 1401, total: 1467 };
|
|
67
7
|
const packageInfo = {
|
|
68
8
|
name: '@hyperfixi/core',
|
|
69
9
|
version: VERSION,
|
|
70
|
-
description:
|
|
71
|
-
compatibility:
|
|
10
|
+
description: "The hyperscript engine (@hyperfixi/engine: upstream _hyperscript's grammar), with multilingual and editor tooling",
|
|
11
|
+
compatibility: `passes ${UPSTREAM_SUITE.passed} of ${UPSTREAM_SUITE.total} tests in upstream _hyperscript ${UPSTREAM_SUITE.version}'s own suite`,
|
|
12
|
+
upstreamSuite: UPSTREAM_SUITE,
|
|
72
13
|
languages: 24,
|
|
73
|
-
commands:
|
|
14
|
+
commands: ENGINE_COMMAND_COUNT,
|
|
74
15
|
repository: 'https://github.com/codetalcott/hyperfixi',
|
|
75
16
|
documentation: 'https://github.com/codetalcott/hyperfixi/tree/main/packages/core#readme',
|
|
76
17
|
};
|
|
77
18
|
const bundleInfo = [
|
|
78
|
-
{
|
|
79
|
-
id: 'hybrid-complete',
|
|
80
|
-
name: 'Hybrid Complete',
|
|
81
|
-
filename: 'hyperfixi-hybrid-complete.js',
|
|
82
|
-
gzipSize: '11.4 KB',
|
|
83
|
-
rawSize: '44 KB',
|
|
84
|
-
commandCount: 38,
|
|
85
|
-
parser: 'hybrid',
|
|
86
|
-
hasBlocks: true,
|
|
87
|
-
hasEventModifiers: true,
|
|
88
|
-
hasPositional: true,
|
|
89
|
-
hasFetch: true,
|
|
90
|
-
hasHtmxCompat: false,
|
|
91
|
-
importPath: '@hyperfixi/core/browser/hybrid-complete',
|
|
92
|
-
cdnUrl: 'https://unpkg.com/@hyperfixi/core/dist/hyperfixi-hybrid-complete.js',
|
|
93
|
-
useCase: 'Recommended for most apps - 85% hyperscript coverage',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
id: 'hybrid-hx',
|
|
97
|
-
name: 'Hybrid HX',
|
|
98
|
-
filename: 'hyperfixi-hx.js',
|
|
99
|
-
gzipSize: '22.0 KB',
|
|
100
|
-
rawSize: '83 KB',
|
|
101
|
-
commandCount: 38,
|
|
102
|
-
parser: 'hybrid',
|
|
103
|
-
hasBlocks: true,
|
|
104
|
-
hasEventModifiers: true,
|
|
105
|
-
hasPositional: true,
|
|
106
|
-
hasFetch: true,
|
|
107
|
-
hasHtmxCompat: true,
|
|
108
|
-
importPath: '@hyperfixi/core/browser/hybrid-hx',
|
|
109
|
-
cdnUrl: 'https://unpkg.com/@hyperfixi/core/dist/hyperfixi-hx.js',
|
|
110
|
-
useCase: 'htmx/fixi drop-in replacement with hx-get, hx-post, hx-target',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
id: 'hybrid-hx-v4',
|
|
114
|
-
name: 'Hybrid HX v4',
|
|
115
|
-
filename: 'hyperfixi-hx-v4.js',
|
|
116
|
-
gzipSize: '362.6 KB',
|
|
117
|
-
rawSize: '1653 KB',
|
|
118
|
-
commandCount: FULL_RUNTIME_COMMAND_COUNT,
|
|
119
|
-
parser: 'full',
|
|
120
|
-
hasBlocks: true,
|
|
121
|
-
hasEventModifiers: true,
|
|
122
|
-
hasPositional: true,
|
|
123
|
-
hasFetch: true,
|
|
124
|
-
hasHtmxCompat: true,
|
|
125
|
-
importPath: '@hyperfixi/core/browser/hybrid-hx-v4',
|
|
126
|
-
cdnUrl: 'https://unpkg.com/@hyperfixi/core/dist/hyperfixi-hx-v4.js',
|
|
127
|
-
useCase: 'htmx v4 compat: hx-live reactivity, SSE/WebSocket streaming, full runtime',
|
|
128
|
-
},
|
|
129
19
|
{
|
|
130
20
|
id: 'browser',
|
|
131
|
-
name: '
|
|
21
|
+
name: 'Engine (hyperfixi-hs.js)',
|
|
132
22
|
filename: 'hyperfixi.js',
|
|
133
|
-
gzipSize: '
|
|
134
|
-
rawSize: '
|
|
135
|
-
commandCount:
|
|
136
|
-
parser: '
|
|
23
|
+
gzipSize: '33.3 KB',
|
|
24
|
+
rawSize: '94 KB',
|
|
25
|
+
commandCount: ENGINE_COMMAND_COUNT,
|
|
26
|
+
parser: 'engine',
|
|
137
27
|
hasBlocks: true,
|
|
138
28
|
hasEventModifiers: true,
|
|
139
29
|
hasPositional: true,
|
|
@@ -141,151 +31,29 @@ const bundleInfo = [
|
|
|
141
31
|
hasHtmxCompat: false,
|
|
142
32
|
importPath: '@hyperfixi/core/browser',
|
|
143
33
|
cdnUrl: 'https://unpkg.com/@hyperfixi/core/dist/hyperfixi.js',
|
|
144
|
-
useCase: '
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
id: 'multilingual',
|
|
148
|
-
name: 'Multilingual',
|
|
149
|
-
filename: 'hyperfixi-multilingual.js',
|
|
150
|
-
gzipSize: '93.4 KB',
|
|
151
|
-
rawSize: '376 KB',
|
|
152
|
-
commandCount: 51,
|
|
153
|
-
parser: 'full',
|
|
154
|
-
hasBlocks: true,
|
|
155
|
-
hasEventModifiers: true,
|
|
156
|
-
hasPositional: true,
|
|
157
|
-
hasFetch: true,
|
|
158
|
-
hasHtmxCompat: false,
|
|
159
|
-
importPath: '@hyperfixi/core/browser/multilingual',
|
|
160
|
-
cdnUrl: 'https://unpkg.com/@hyperfixi/core/dist/hyperfixi-multilingual.js',
|
|
161
|
-
useCase: 'Full features with multilingual API (requires @lokascript/semantic)',
|
|
34
|
+
useCase: "Hyperscript, upstream's grammar, every module; the same file as hyperfixi-hs.js",
|
|
162
35
|
},
|
|
163
36
|
];
|
|
164
37
|
const featureMatrix = {
|
|
165
|
-
'toggle class': [
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
],
|
|
175
|
-
'
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
],
|
|
185
|
-
'add/remove class': [
|
|
186
|
-
'lite',
|
|
187
|
-
'lite-plus',
|
|
188
|
-
'hybrid-complete',
|
|
189
|
-
'hybrid-hx',
|
|
190
|
-
'minimal',
|
|
191
|
-
'standard',
|
|
192
|
-
'browser',
|
|
193
|
-
'multilingual',
|
|
194
|
-
],
|
|
195
|
-
'set variable': [
|
|
196
|
-
'lite',
|
|
197
|
-
'lite-plus',
|
|
198
|
-
'hybrid-complete',
|
|
199
|
-
'hybrid-hx',
|
|
200
|
-
'minimal',
|
|
201
|
-
'standard',
|
|
202
|
-
'browser',
|
|
203
|
-
'multilingual',
|
|
204
|
-
],
|
|
205
|
-
'put content': [
|
|
206
|
-
'lite',
|
|
207
|
-
'lite-plus',
|
|
208
|
-
'hybrid-complete',
|
|
209
|
-
'hybrid-hx',
|
|
210
|
-
'minimal',
|
|
211
|
-
'standard',
|
|
212
|
-
'browser',
|
|
213
|
-
'multilingual',
|
|
214
|
-
],
|
|
215
|
-
'wait duration': [
|
|
216
|
-
'lite-plus',
|
|
217
|
-
'hybrid-complete',
|
|
218
|
-
'hybrid-hx',
|
|
219
|
-
'minimal',
|
|
220
|
-
'standard',
|
|
221
|
-
'browser',
|
|
222
|
-
'multilingual',
|
|
223
|
-
],
|
|
224
|
-
'increment/decrement': [
|
|
225
|
-
'lite-plus',
|
|
226
|
-
'hybrid-complete',
|
|
227
|
-
'hybrid-hx',
|
|
228
|
-
'minimal',
|
|
229
|
-
'standard',
|
|
230
|
-
'browser',
|
|
231
|
-
'multilingual',
|
|
232
|
-
],
|
|
233
|
-
'trigger event': [
|
|
234
|
-
'lite-plus',
|
|
235
|
-
'hybrid-complete',
|
|
236
|
-
'hybrid-hx',
|
|
237
|
-
'minimal',
|
|
238
|
-
'standard',
|
|
239
|
-
'browser',
|
|
240
|
-
'multilingual',
|
|
241
|
-
],
|
|
242
|
-
log: [
|
|
243
|
-
'lite-plus',
|
|
244
|
-
'hybrid-complete',
|
|
245
|
-
'hybrid-hx',
|
|
246
|
-
'minimal',
|
|
247
|
-
'standard',
|
|
248
|
-
'browser',
|
|
249
|
-
'multilingual',
|
|
250
|
-
],
|
|
251
|
-
'if/else blocks': [
|
|
252
|
-
'hybrid-complete',
|
|
253
|
-
'hybrid-hx',
|
|
254
|
-
'minimal',
|
|
255
|
-
'standard',
|
|
256
|
-
'browser',
|
|
257
|
-
'multilingual',
|
|
258
|
-
],
|
|
259
|
-
'repeat/for loops': [
|
|
260
|
-
'hybrid-complete',
|
|
261
|
-
'hybrid-hx',
|
|
262
|
-
'minimal',
|
|
263
|
-
'standard',
|
|
264
|
-
'browser',
|
|
265
|
-
'multilingual',
|
|
266
|
-
],
|
|
267
|
-
fetch: ['hybrid-complete', 'hybrid-hx', 'minimal', 'standard', 'browser', 'multilingual'],
|
|
268
|
-
'event modifiers': [
|
|
269
|
-
'hybrid-complete',
|
|
270
|
-
'hybrid-hx',
|
|
271
|
-
'minimal',
|
|
272
|
-
'standard',
|
|
273
|
-
'browser',
|
|
274
|
-
'multilingual',
|
|
275
|
-
],
|
|
276
|
-
'positional (first/last)': [
|
|
277
|
-
'hybrid-complete',
|
|
278
|
-
'hybrid-hx',
|
|
279
|
-
'minimal',
|
|
280
|
-
'standard',
|
|
281
|
-
'browser',
|
|
282
|
-
'multilingual',
|
|
283
|
-
],
|
|
284
|
-
'htmx attributes': ['hybrid-hx'],
|
|
285
|
-
behaviors: ['minimal', 'standard', 'browser', 'multilingual'],
|
|
286
|
-
transitions: ['minimal', 'standard', 'browser', 'multilingual'],
|
|
287
|
-
morph: ['standard', 'browser', 'multilingual'],
|
|
288
|
-
'multilingual API': ['multilingual'],
|
|
38
|
+
'toggle class': ['lite', 'lite-plus', 'minimal', 'standard', 'browser'],
|
|
39
|
+
'show/hide': ['lite', 'lite-plus', 'minimal', 'standard', 'browser'],
|
|
40
|
+
'add/remove class': ['lite', 'lite-plus', 'minimal', 'standard', 'browser'],
|
|
41
|
+
'set variable': ['lite', 'lite-plus', 'minimal', 'standard', 'browser'],
|
|
42
|
+
'put content': ['lite', 'lite-plus', 'minimal', 'standard', 'browser'],
|
|
43
|
+
'wait duration': ['lite-plus', 'minimal', 'standard', 'browser'],
|
|
44
|
+
'increment/decrement': ['lite-plus', 'minimal', 'standard', 'browser'],
|
|
45
|
+
'trigger event': ['lite-plus', 'minimal', 'standard', 'browser'],
|
|
46
|
+
log: ['lite-plus', 'minimal', 'standard', 'browser'],
|
|
47
|
+
'if/else blocks': ['minimal', 'standard', 'browser'],
|
|
48
|
+
'repeat/for loops': ['minimal', 'standard', 'browser'],
|
|
49
|
+
fetch: ['minimal', 'standard', 'browser'],
|
|
50
|
+
'event modifiers': ['minimal', 'standard', 'browser'],
|
|
51
|
+
'positional (first/last)': ['minimal', 'standard', 'browser'],
|
|
52
|
+
'htmx attributes': [],
|
|
53
|
+
behaviors: ['minimal', 'standard', 'browser'],
|
|
54
|
+
transitions: ['minimal', 'standard', 'browser'],
|
|
55
|
+
morph: ['standard', 'browser'],
|
|
56
|
+
'multilingual API': [],
|
|
289
57
|
};
|
|
290
58
|
function getBundleById(id) {
|
|
291
59
|
return bundleInfo.find(b => b.id === id);
|
|
@@ -323,7 +91,7 @@ function compareBundles(bundleIds) {
|
|
|
323
91
|
const ecosystem = {
|
|
324
92
|
core: {
|
|
325
93
|
name: '@hyperfixi/core',
|
|
326
|
-
description:
|
|
94
|
+
description: `@hyperfixi/engine re-exported (${ENGINE_COMMAND_COUNT} commands), plus multilingual and editor tooling`,
|
|
327
95
|
npm: 'https://www.npmjs.com/package/@hyperfixi/core',
|
|
328
96
|
},
|
|
329
97
|
semantic: {
|
|
@@ -343,7 +111,7 @@ const ecosystem = {
|
|
|
343
111
|
},
|
|
344
112
|
patternsReference: {
|
|
345
113
|
name: '@hyperfixi/patterns-reference',
|
|
346
|
-
description: '
|
|
114
|
+
description: 'Queryable hyperscript patterns, translated into 24 languages',
|
|
347
115
|
npm: 'https://www.npmjs.com/package/@hyperfixi/patterns-reference',
|
|
348
116
|
},
|
|
349
117
|
mcpServer: {
|
package/dist/metadata.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
export declare const packageInfo: {
|
|
2
2
|
readonly name: "@hyperfixi/core";
|
|
3
|
-
readonly version: "
|
|
4
|
-
readonly description: "
|
|
5
|
-
readonly compatibility: "
|
|
3
|
+
readonly version: "4.0.1";
|
|
4
|
+
readonly description: "The hyperscript engine (@hyperfixi/engine: upstream _hyperscript's grammar), with multilingual and editor tooling";
|
|
5
|
+
readonly compatibility: "passes 1401 of 1467 tests in upstream _hyperscript 0.9.93's own suite";
|
|
6
|
+
readonly upstreamSuite: {
|
|
7
|
+
readonly version: "0.9.93";
|
|
8
|
+
readonly passed: 1401;
|
|
9
|
+
readonly total: 1467;
|
|
10
|
+
};
|
|
6
11
|
readonly languages: 24;
|
|
7
|
-
readonly commands:
|
|
12
|
+
readonly commands: 53;
|
|
8
13
|
readonly repository: "https://github.com/codetalcott/hyperfixi";
|
|
9
14
|
readonly documentation: "https://github.com/codetalcott/hyperfixi/tree/main/packages/core#readme";
|
|
10
15
|
};
|
|
@@ -15,7 +20,7 @@ export interface BundleInfo {
|
|
|
15
20
|
gzipSize: string;
|
|
16
21
|
rawSize: string;
|
|
17
22
|
commandCount: number;
|
|
18
|
-
parser: 'regex' | 'hybrid' | 'full';
|
|
23
|
+
parser: 'regex' | 'hybrid' | 'full' | 'engine';
|
|
19
24
|
hasBlocks: boolean;
|
|
20
25
|
hasEventModifiers: boolean;
|
|
21
26
|
hasPositional: boolean;
|
|
@@ -27,25 +32,25 @@ export interface BundleInfo {
|
|
|
27
32
|
}
|
|
28
33
|
export declare const bundleInfo: BundleInfo[];
|
|
29
34
|
export declare const featureMatrix: {
|
|
30
|
-
readonly 'toggle class': readonly ["lite", "lite-plus", "
|
|
31
|
-
readonly 'show/hide': readonly ["lite", "lite-plus", "
|
|
32
|
-
readonly 'add/remove class': readonly ["lite", "lite-plus", "
|
|
33
|
-
readonly 'set variable': readonly ["lite", "lite-plus", "
|
|
34
|
-
readonly 'put content': readonly ["lite", "lite-plus", "
|
|
35
|
-
readonly 'wait duration': readonly ["lite-plus", "
|
|
36
|
-
readonly 'increment/decrement': readonly ["lite-plus", "
|
|
37
|
-
readonly 'trigger event': readonly ["lite-plus", "
|
|
38
|
-
readonly log: readonly ["lite-plus", "
|
|
39
|
-
readonly 'if/else blocks': readonly ["
|
|
40
|
-
readonly 'repeat/for loops': readonly ["
|
|
41
|
-
readonly fetch: readonly ["
|
|
42
|
-
readonly 'event modifiers': readonly ["
|
|
43
|
-
readonly 'positional (first/last)': readonly ["
|
|
44
|
-
readonly 'htmx attributes': readonly [
|
|
45
|
-
readonly behaviors: readonly ["minimal", "standard", "browser"
|
|
46
|
-
readonly transitions: readonly ["minimal", "standard", "browser"
|
|
47
|
-
readonly morph: readonly ["standard", "browser"
|
|
48
|
-
readonly 'multilingual API': readonly [
|
|
35
|
+
readonly 'toggle class': readonly ["lite", "lite-plus", "minimal", "standard", "browser"];
|
|
36
|
+
readonly 'show/hide': readonly ["lite", "lite-plus", "minimal", "standard", "browser"];
|
|
37
|
+
readonly 'add/remove class': readonly ["lite", "lite-plus", "minimal", "standard", "browser"];
|
|
38
|
+
readonly 'set variable': readonly ["lite", "lite-plus", "minimal", "standard", "browser"];
|
|
39
|
+
readonly 'put content': readonly ["lite", "lite-plus", "minimal", "standard", "browser"];
|
|
40
|
+
readonly 'wait duration': readonly ["lite-plus", "minimal", "standard", "browser"];
|
|
41
|
+
readonly 'increment/decrement': readonly ["lite-plus", "minimal", "standard", "browser"];
|
|
42
|
+
readonly 'trigger event': readonly ["lite-plus", "minimal", "standard", "browser"];
|
|
43
|
+
readonly log: readonly ["lite-plus", "minimal", "standard", "browser"];
|
|
44
|
+
readonly 'if/else blocks': readonly ["minimal", "standard", "browser"];
|
|
45
|
+
readonly 'repeat/for loops': readonly ["minimal", "standard", "browser"];
|
|
46
|
+
readonly fetch: readonly ["minimal", "standard", "browser"];
|
|
47
|
+
readonly 'event modifiers': readonly ["minimal", "standard", "browser"];
|
|
48
|
+
readonly 'positional (first/last)': readonly ["minimal", "standard", "browser"];
|
|
49
|
+
readonly 'htmx attributes': readonly [];
|
|
50
|
+
readonly behaviors: readonly ["minimal", "standard", "browser"];
|
|
51
|
+
readonly transitions: readonly ["minimal", "standard", "browser"];
|
|
52
|
+
readonly morph: readonly ["standard", "browser"];
|
|
53
|
+
readonly 'multilingual API': readonly [];
|
|
49
54
|
};
|
|
50
55
|
export declare function getBundleById(id: string): BundleInfo | undefined;
|
|
51
56
|
export declare function getSmallestBundle(options: {
|
|
@@ -60,7 +65,7 @@ export declare function compareBundles(bundleIds: string[]): Record<string, Bund
|
|
|
60
65
|
export declare const ecosystem: {
|
|
61
66
|
readonly core: {
|
|
62
67
|
readonly name: "@hyperfixi/core";
|
|
63
|
-
readonly description: "
|
|
68
|
+
readonly description: "@hyperfixi/engine re-exported (53 commands), plus multilingual and editor tooling";
|
|
64
69
|
readonly npm: "https://www.npmjs.com/package/@hyperfixi/core";
|
|
65
70
|
};
|
|
66
71
|
readonly semantic: {
|
|
@@ -80,7 +85,7 @@ export declare const ecosystem: {
|
|
|
80
85
|
};
|
|
81
86
|
readonly patternsReference: {
|
|
82
87
|
readonly name: "@hyperfixi/patterns-reference";
|
|
83
|
-
readonly description: "
|
|
88
|
+
readonly description: "Queryable hyperscript patterns, translated into 24 languages";
|
|
84
89
|
readonly npm: "https://www.npmjs.com/package/@hyperfixi/patterns-reference";
|
|
85
90
|
};
|
|
86
91
|
readonly mcpServer: {
|