@hyperfixi/core 2.8.0 → 2.9.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/ast-utils/index.js +1201 -891
  3. package/dist/ast-utils/index.mjs +1201 -891
  4. package/dist/chunks/{bridge-DHj-SYm2.js → bridge-BYhqTOnL.js} +2 -2
  5. package/dist/chunks/browser-modular-D2BHzZFB.js +2 -0
  6. package/dist/chunks/feature-eventsource-Bxg_UNZo.js +2 -0
  7. package/dist/chunks/feature-sockets-CcTxD5sT.js +2 -0
  8. package/dist/chunks/feature-webworker-DoqZ0Grg.js +2 -0
  9. package/dist/chunks/{index-CuPeasRm.js → index-DXgJaDj-.js} +2 -2
  10. package/dist/commands/index.js +168 -112
  11. package/dist/commands/index.mjs +168 -112
  12. package/dist/hyperfixi-browser-classic-i18n.js +1 -1
  13. package/dist/hyperfixi-browser-minimal.js +1 -1
  14. package/dist/hyperfixi-browser-standard.js +1 -1
  15. package/dist/hyperfixi-browser.js +1 -1
  16. package/dist/hyperfixi-classic-i18n.js +1 -1
  17. package/dist/hyperfixi-hx-v4.js +1 -1
  18. package/dist/hyperfixi-minimal.js +1 -1
  19. package/dist/hyperfixi-multilingual.js +1 -1
  20. package/dist/hyperfixi-standard.js +1 -1
  21. package/dist/hyperfixi.js +1 -1
  22. package/dist/hyperfixi.mjs +1 -1
  23. package/dist/index.js +2119 -1538
  24. package/dist/index.min.js +1 -1
  25. package/dist/index.mjs +2119 -1538
  26. package/dist/lokascript-browser-classic-i18n.js +1 -1
  27. package/dist/lokascript-browser-minimal.js +1 -1
  28. package/dist/lokascript-browser-standard.js +1 -1
  29. package/dist/lokascript-browser.js +1 -1
  30. package/dist/lokascript-multilingual.js +1 -1
  31. package/dist/lsp-metadata.js +5 -5
  32. package/dist/lsp-metadata.mjs +5 -5
  33. package/dist/metadata.js +25 -25
  34. package/dist/metadata.mjs +25 -25
  35. package/dist/multilingual/index.js +17 -17
  36. package/dist/multilingual/index.mjs +17 -17
  37. package/dist/parser/command-parsers/utility-commands.d.ts +1 -0
  38. package/dist/parser/full-parser.js +155 -106
  39. package/dist/parser/full-parser.mjs +155 -106
  40. package/dist/parser/parser.d.ts +1 -0
  41. package/dist/reference/index.js +1 -0
  42. package/dist/reference/index.mjs +1 -0
  43. package/dist/registry/index.js +155 -106
  44. package/dist/registry/index.mjs +155 -106
  45. package/dist/types/base-types.d.ts +3 -0
  46. package/package.json +7 -6
  47. package/dist/chunks/browser-modular-D1m0Eikh.js +0 -2
  48. package/dist/chunks/feature-eventsource-BpZvPy_K.js +0 -2
  49. package/dist/chunks/feature-sockets-CrYvjZ4j.js +0 -2
  50. package/dist/chunks/feature-webworker-BSYguEIW.js +0 -2
@@ -403,7 +403,7 @@ const HOVER_DOCS = {
403
403
  },
404
404
  breakpoint: {
405
405
  title: 'breakpoint',
406
- description: 'Emits a `debugger;` statement — pauses in DevTools when attached.',
406
+ description: 'Emits a `debugger;` statement \u2014 pauses in DevTools when attached.',
407
407
  example: 'breakpoint\non click breakpoint',
408
408
  category: 'command',
409
409
  },
@@ -727,7 +727,7 @@ const HOVER_DOCS = {
727
727
  },
728
728
  '#if': {
729
729
  title: '#if',
730
- description: 'Template directive — conditionally render a block. The condition is evaluated against the component scope (with `attrs` and `^var` available). Pair with `#end`; optional `#else` branch.',
730
+ description: 'Template directive \u2014 conditionally render a block. The condition is evaluated against the component scope (with `attrs` and `^var` available). Pair with `#end`; optional `#else` branch.',
731
731
  example: '<template component="my-greet">\n #if attrs.name\n <p>Hello, ${attrs.name}!</p>\n #else\n <p>Hello, stranger.</p>\n #end\n</template>',
732
732
  category: 'directive',
733
733
  since: '2.0',
@@ -748,7 +748,7 @@ const HOVER_DOCS = {
748
748
  },
749
749
  '#for': {
750
750
  title: '#for',
751
- description: 'Template directive — iterate over an iterable. The bound name is visible inside the block. Provide an optional `#else` branch that renders when the collection is empty.',
751
+ description: 'Template directive \u2014 iterate over an iterable. The bound name is visible inside the block. Provide an optional `#else` branch that renders when the collection is empty.',
752
752
  example: '#for user in attrs.users\n <li>${user.name}</li>\n#else\n <li>No users yet.</li>\n#end',
753
753
  category: 'directive',
754
754
  since: '2.0',
@@ -769,14 +769,14 @@ const HOVER_DOCS = {
769
769
  },
770
770
  'dom-scope': {
771
771
  title: 'dom-scope',
772
- description: 'Host attribute that bounds `^var` lookup. `dom-scope="isolated"` on a component instance prevents descendants\' `^var` reads from walking past it into the parent scope. Set automatically on each `<template component>` instance — set it manually on a regular element to create your own boundary.',
772
+ description: 'Host attribute that bounds `^var` lookup. `dom-scope="isolated"` on a component instance prevents descendants\' `^var` reads from walking past it into the parent scope. Set automatically on each `<template component>` instance \u2014 set it manually on a regular element to create your own boundary.',
773
773
  example: '<my-counter dom-scope="isolated"></my-counter>\n<div dom-scope="isolated">...</div>',
774
774
  category: 'component',
775
775
  since: '2.1',
776
776
  },
777
777
  '^': {
778
778
  title: '^var',
779
- description: 'Reactive prefix — `^name` reads from (or writes to) the nearest ancestor that has `name` set. `set ^name to value` writes through to the owner; if no owner is found, the write lands at the current `dom-scope` boundary. Tracked: any reactive effect that reads `^name` re-runs when it changes.',
779
+ description: 'Reactive prefix \u2014 `^name` reads from (or writes to) the nearest ancestor that has `name` set. `set ^name to value` writes through to the owner; if no owner is found, the write lands at the current `dom-scope` boundary. Tracked: any reactive effect that reads `^name` re-runs when it changes.',
780
780
  example: 'set ^count to 0\nincrement ^count\nlog ^count\n-- target a specific element\nset ^user to attrs.data on closest .root',
781
781
  category: 'reactive',
782
782
  since: '2.0',
@@ -401,7 +401,7 @@ const HOVER_DOCS = {
401
401
  },
402
402
  breakpoint: {
403
403
  title: 'breakpoint',
404
- description: 'Emits a `debugger;` statement — pauses in DevTools when attached.',
404
+ description: 'Emits a `debugger;` statement \u2014 pauses in DevTools when attached.',
405
405
  example: 'breakpoint\non click breakpoint',
406
406
  category: 'command',
407
407
  },
@@ -725,7 +725,7 @@ const HOVER_DOCS = {
725
725
  },
726
726
  '#if': {
727
727
  title: '#if',
728
- description: 'Template directive — conditionally render a block. The condition is evaluated against the component scope (with `attrs` and `^var` available). Pair with `#end`; optional `#else` branch.',
728
+ description: 'Template directive \u2014 conditionally render a block. The condition is evaluated against the component scope (with `attrs` and `^var` available). Pair with `#end`; optional `#else` branch.',
729
729
  example: '<template component="my-greet">\n #if attrs.name\n <p>Hello, ${attrs.name}!</p>\n #else\n <p>Hello, stranger.</p>\n #end\n</template>',
730
730
  category: 'directive',
731
731
  since: '2.0',
@@ -746,7 +746,7 @@ const HOVER_DOCS = {
746
746
  },
747
747
  '#for': {
748
748
  title: '#for',
749
- description: 'Template directive — iterate over an iterable. The bound name is visible inside the block. Provide an optional `#else` branch that renders when the collection is empty.',
749
+ description: 'Template directive \u2014 iterate over an iterable. The bound name is visible inside the block. Provide an optional `#else` branch that renders when the collection is empty.',
750
750
  example: '#for user in attrs.users\n <li>${user.name}</li>\n#else\n <li>No users yet.</li>\n#end',
751
751
  category: 'directive',
752
752
  since: '2.0',
@@ -767,14 +767,14 @@ const HOVER_DOCS = {
767
767
  },
768
768
  'dom-scope': {
769
769
  title: 'dom-scope',
770
- description: 'Host attribute that bounds `^var` lookup. `dom-scope="isolated"` on a component instance prevents descendants\' `^var` reads from walking past it into the parent scope. Set automatically on each `<template component>` instance — set it manually on a regular element to create your own boundary.',
770
+ description: 'Host attribute that bounds `^var` lookup. `dom-scope="isolated"` on a component instance prevents descendants\' `^var` reads from walking past it into the parent scope. Set automatically on each `<template component>` instance \u2014 set it manually on a regular element to create your own boundary.',
771
771
  example: '<my-counter dom-scope="isolated"></my-counter>\n<div dom-scope="isolated">...</div>',
772
772
  category: 'component',
773
773
  since: '2.1',
774
774
  },
775
775
  '^': {
776
776
  title: '^var',
777
- description: 'Reactive prefix — `^name` reads from (or writes to) the nearest ancestor that has `name` set. `set ^name to value` writes through to the owner; if no owner is found, the write lands at the current `dom-scope` boundary. Tracked: any reactive effect that reads `^name` re-runs when it changes.',
777
+ description: 'Reactive prefix \u2014 `^name` reads from (or writes to) the nearest ancestor that has `name` set. `set ^name to value` writes through to the owner; if no owner is found, the write lands at the current `dom-scope` boundary. Tracked: any reactive effect that reads `^name` re-runs when it changes.',
778
778
  example: 'set ^count to 0\nincrement ^count\nlog ^count\n-- target a specific element\nset ^user to attrs.data on closest .root',
779
779
  category: 'reactive',
780
780
  since: '2.0',
package/dist/metadata.js CHANGED
@@ -83,8 +83,8 @@ const bundleInfo = [
83
83
  id: 'hybrid-hx-v4',
84
84
  name: 'Hybrid HX v4',
85
85
  filename: 'hyperfixi-hx-v4.js',
86
- gzipSize: '320.6 KB',
87
- rawSize: '1424 KB',
86
+ gzipSize: '323.7 KB',
87
+ rawSize: '1507 KB',
88
88
  commandCount: 58,
89
89
  parser: 'full',
90
90
  hasBlocks: true,
@@ -100,8 +100,8 @@ const bundleInfo = [
100
100
  id: 'minimal',
101
101
  name: 'Minimal',
102
102
  filename: 'hyperfixi-minimal.js',
103
- gzipSize: '76.2 KB',
104
- rawSize: '314 KB',
103
+ gzipSize: '76.6 KB',
104
+ rawSize: '315 KB',
105
105
  commandCount: 30,
106
106
  parser: 'full',
107
107
  hasBlocks: true,
@@ -117,8 +117,8 @@ const bundleInfo = [
117
117
  id: 'standard',
118
118
  name: 'Standard',
119
119
  filename: 'hyperfixi-standard.js',
120
- gzipSize: '82.7 KB',
121
- rawSize: '341 KB',
120
+ gzipSize: '83.1 KB',
121
+ rawSize: '343 KB',
122
122
  commandCount: 35,
123
123
  parser: 'full',
124
124
  hasBlocks: true,
@@ -134,8 +134,8 @@ const bundleInfo = [
134
134
  id: 'browser',
135
135
  name: 'Full Browser',
136
136
  filename: 'hyperfixi.js',
137
- gzipSize: '309.0 KB',
138
- rawSize: '1388 KB',
137
+ gzipSize: '312.2 KB',
138
+ rawSize: '1470 KB',
139
139
  commandCount: 58,
140
140
  parser: 'full',
141
141
  hasBlocks: true,
@@ -151,8 +151,8 @@ const bundleInfo = [
151
151
  id: 'multilingual',
152
152
  name: 'Multilingual',
153
153
  filename: 'hyperfixi-multilingual.js',
154
- gzipSize: '97.1 KB',
155
- rawSize: '401 KB',
154
+ gzipSize: '97.5 KB',
155
+ rawSize: '403 KB',
156
156
  commandCount: 58,
157
157
  parser: 'full',
158
158
  hasBlocks: true,
@@ -358,29 +358,29 @@ const ecosystem = {
358
358
  };
359
359
  const supportedLanguages = [
360
360
  { code: 'en', name: 'English', native: 'English', wordOrder: 'SVO' },
361
- { code: 'es', name: 'Spanish', native: 'Español', wordOrder: 'SVO' },
362
- { code: 'fr', name: 'French', native: 'Français', wordOrder: 'SVO' },
363
- { code: 'pt', name: 'Portuguese', native: 'Português', wordOrder: 'SVO' },
361
+ { code: 'es', name: 'Spanish', native: 'Espa\u00f1ol', wordOrder: 'SVO' },
362
+ { code: 'fr', name: 'French', native: 'Fran\u00e7ais', wordOrder: 'SVO' },
363
+ { code: 'pt', name: 'Portuguese', native: 'Portugu\u00eas', wordOrder: 'SVO' },
364
364
  { code: 'de', name: 'German', native: 'Deutsch', wordOrder: 'V2' },
365
365
  { code: 'it', name: 'Italian', native: 'Italiano', wordOrder: 'SVO' },
366
- { code: 'ja', name: 'Japanese', native: '日本語', wordOrder: 'SOV' },
367
- { code: 'ko', name: 'Korean', native: '한국어', wordOrder: 'SOV' },
368
- { code: 'zh', name: 'Chinese', native: '中文', wordOrder: 'SVO' },
369
- { code: 'ar', name: 'Arabic', native: 'العربية', wordOrder: 'VSO' },
370
- { code: 'tr', name: 'Turkish', native: 'Türkçe', wordOrder: 'SOV' },
371
- { code: 'ru', name: 'Russian', native: 'Русский', wordOrder: 'SVO' },
372
- { code: 'uk', name: 'Ukrainian', native: 'Українська', wordOrder: 'SVO' },
366
+ { code: 'ja', name: 'Japanese', native: '\u65e5\u672c\u8a9e', wordOrder: 'SOV' },
367
+ { code: 'ko', name: 'Korean', native: '\ud55c\uad6d\uc5b4', wordOrder: 'SOV' },
368
+ { code: 'zh', name: 'Chinese', native: '\u4e2d\u6587', wordOrder: 'SVO' },
369
+ { code: 'ar', name: 'Arabic', native: '\u0627\u0644\u0639\u0631\u0628\u064a\u0629', wordOrder: 'VSO' },
370
+ { code: 'tr', name: 'Turkish', native: 'T\u00fcrk\u00e7e', wordOrder: 'SOV' },
371
+ { code: 'ru', name: 'Russian', native: '\u0420\u0443\u0441\u0441\u043a\u0438\u0439', wordOrder: 'SVO' },
372
+ { code: 'uk', name: 'Ukrainian', native: '\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430', wordOrder: 'SVO' },
373
373
  { code: 'pl', name: 'Polish', native: 'Polski', wordOrder: 'SVO' },
374
374
  { code: 'id', name: 'Indonesian', native: 'Bahasa Indonesia', wordOrder: 'SVO' },
375
375
  { code: 'ms', name: 'Malay', native: 'Bahasa Melayu', wordOrder: 'SVO' },
376
- { code: 'th', name: 'Thai', native: 'ไทย', wordOrder: 'SVO' },
377
- { code: 'vi', name: 'Vietnamese', native: 'Tiếng Việt', wordOrder: 'SVO' },
376
+ { code: 'th', name: 'Thai', native: '\u0e44\u0e17\u0e22', wordOrder: 'SVO' },
377
+ { code: 'vi', name: 'Vietnamese', native: 'Ti\u1ebfng Vi\u1ec7t', wordOrder: 'SVO' },
378
378
  { code: 'tl', name: 'Tagalog', native: 'Tagalog', wordOrder: 'VSO' },
379
- { code: 'hi', name: 'Hindi', native: 'हिन्दी', wordOrder: 'SOV' },
380
- { code: 'bn', name: 'Bengali', native: 'বাংলা', wordOrder: 'SOV' },
379
+ { code: 'hi', name: 'Hindi', native: '\u0939\u093f\u0928\u094d\u0926\u0940', wordOrder: 'SOV' },
380
+ { code: 'bn', name: 'Bengali', native: '\u09ac\u09be\u0982\u09b2\u09be', wordOrder: 'SOV' },
381
381
  { code: 'sw', name: 'Swahili', native: 'Kiswahili', wordOrder: 'SVO' },
382
382
  { code: 'qu', name: 'Quechua', native: 'Runasimi', wordOrder: 'SOV' },
383
- { code: 'he', name: 'Hebrew', native: 'עברית', wordOrder: 'SVO' },
383
+ { code: 'he', name: 'Hebrew', native: '\u05e2\u05d1\u05e8\u05d9\u05ea', wordOrder: 'SVO' },
384
384
  ];
385
385
 
386
386
  exports.bundleInfo = bundleInfo;
package/dist/metadata.mjs CHANGED
@@ -81,8 +81,8 @@ const bundleInfo = [
81
81
  id: 'hybrid-hx-v4',
82
82
  name: 'Hybrid HX v4',
83
83
  filename: 'hyperfixi-hx-v4.js',
84
- gzipSize: '320.6 KB',
85
- rawSize: '1424 KB',
84
+ gzipSize: '323.7 KB',
85
+ rawSize: '1507 KB',
86
86
  commandCount: 58,
87
87
  parser: 'full',
88
88
  hasBlocks: true,
@@ -98,8 +98,8 @@ const bundleInfo = [
98
98
  id: 'minimal',
99
99
  name: 'Minimal',
100
100
  filename: 'hyperfixi-minimal.js',
101
- gzipSize: '76.2 KB',
102
- rawSize: '314 KB',
101
+ gzipSize: '76.6 KB',
102
+ rawSize: '315 KB',
103
103
  commandCount: 30,
104
104
  parser: 'full',
105
105
  hasBlocks: true,
@@ -115,8 +115,8 @@ const bundleInfo = [
115
115
  id: 'standard',
116
116
  name: 'Standard',
117
117
  filename: 'hyperfixi-standard.js',
118
- gzipSize: '82.7 KB',
119
- rawSize: '341 KB',
118
+ gzipSize: '83.1 KB',
119
+ rawSize: '343 KB',
120
120
  commandCount: 35,
121
121
  parser: 'full',
122
122
  hasBlocks: true,
@@ -132,8 +132,8 @@ const bundleInfo = [
132
132
  id: 'browser',
133
133
  name: 'Full Browser',
134
134
  filename: 'hyperfixi.js',
135
- gzipSize: '309.0 KB',
136
- rawSize: '1388 KB',
135
+ gzipSize: '312.2 KB',
136
+ rawSize: '1470 KB',
137
137
  commandCount: 58,
138
138
  parser: 'full',
139
139
  hasBlocks: true,
@@ -149,8 +149,8 @@ const bundleInfo = [
149
149
  id: 'multilingual',
150
150
  name: 'Multilingual',
151
151
  filename: 'hyperfixi-multilingual.js',
152
- gzipSize: '97.1 KB',
153
- rawSize: '401 KB',
152
+ gzipSize: '97.5 KB',
153
+ rawSize: '403 KB',
154
154
  commandCount: 58,
155
155
  parser: 'full',
156
156
  hasBlocks: true,
@@ -356,29 +356,29 @@ const ecosystem = {
356
356
  };
357
357
  const supportedLanguages = [
358
358
  { code: 'en', name: 'English', native: 'English', wordOrder: 'SVO' },
359
- { code: 'es', name: 'Spanish', native: 'Español', wordOrder: 'SVO' },
360
- { code: 'fr', name: 'French', native: 'Français', wordOrder: 'SVO' },
361
- { code: 'pt', name: 'Portuguese', native: 'Português', wordOrder: 'SVO' },
359
+ { code: 'es', name: 'Spanish', native: 'Espa\u00f1ol', wordOrder: 'SVO' },
360
+ { code: 'fr', name: 'French', native: 'Fran\u00e7ais', wordOrder: 'SVO' },
361
+ { code: 'pt', name: 'Portuguese', native: 'Portugu\u00eas', wordOrder: 'SVO' },
362
362
  { code: 'de', name: 'German', native: 'Deutsch', wordOrder: 'V2' },
363
363
  { code: 'it', name: 'Italian', native: 'Italiano', wordOrder: 'SVO' },
364
- { code: 'ja', name: 'Japanese', native: '日本語', wordOrder: 'SOV' },
365
- { code: 'ko', name: 'Korean', native: '한국어', wordOrder: 'SOV' },
366
- { code: 'zh', name: 'Chinese', native: '中文', wordOrder: 'SVO' },
367
- { code: 'ar', name: 'Arabic', native: 'العربية', wordOrder: 'VSO' },
368
- { code: 'tr', name: 'Turkish', native: 'Türkçe', wordOrder: 'SOV' },
369
- { code: 'ru', name: 'Russian', native: 'Русский', wordOrder: 'SVO' },
370
- { code: 'uk', name: 'Ukrainian', native: 'Українська', wordOrder: 'SVO' },
364
+ { code: 'ja', name: 'Japanese', native: '\u65e5\u672c\u8a9e', wordOrder: 'SOV' },
365
+ { code: 'ko', name: 'Korean', native: '\ud55c\uad6d\uc5b4', wordOrder: 'SOV' },
366
+ { code: 'zh', name: 'Chinese', native: '\u4e2d\u6587', wordOrder: 'SVO' },
367
+ { code: 'ar', name: 'Arabic', native: '\u0627\u0644\u0639\u0631\u0628\u064a\u0629', wordOrder: 'VSO' },
368
+ { code: 'tr', name: 'Turkish', native: 'T\u00fcrk\u00e7e', wordOrder: 'SOV' },
369
+ { code: 'ru', name: 'Russian', native: '\u0420\u0443\u0441\u0441\u043a\u0438\u0439', wordOrder: 'SVO' },
370
+ { code: 'uk', name: 'Ukrainian', native: '\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430', wordOrder: 'SVO' },
371
371
  { code: 'pl', name: 'Polish', native: 'Polski', wordOrder: 'SVO' },
372
372
  { code: 'id', name: 'Indonesian', native: 'Bahasa Indonesia', wordOrder: 'SVO' },
373
373
  { code: 'ms', name: 'Malay', native: 'Bahasa Melayu', wordOrder: 'SVO' },
374
- { code: 'th', name: 'Thai', native: 'ไทย', wordOrder: 'SVO' },
375
- { code: 'vi', name: 'Vietnamese', native: 'Tiếng Việt', wordOrder: 'SVO' },
374
+ { code: 'th', name: 'Thai', native: '\u0e44\u0e17\u0e22', wordOrder: 'SVO' },
375
+ { code: 'vi', name: 'Vietnamese', native: 'Ti\u1ebfng Vi\u1ec7t', wordOrder: 'SVO' },
376
376
  { code: 'tl', name: 'Tagalog', native: 'Tagalog', wordOrder: 'VSO' },
377
- { code: 'hi', name: 'Hindi', native: 'हिन्दी', wordOrder: 'SOV' },
378
- { code: 'bn', name: 'Bengali', native: 'বাংলা', wordOrder: 'SOV' },
377
+ { code: 'hi', name: 'Hindi', native: '\u0939\u093f\u0928\u094d\u0926\u0940', wordOrder: 'SOV' },
378
+ { code: 'bn', name: 'Bengali', native: '\u09ac\u09be\u0982\u09b2\u09be', wordOrder: 'SOV' },
379
379
  { code: 'sw', name: 'Swahili', native: 'Kiswahili', wordOrder: 'SVO' },
380
380
  { code: 'qu', name: 'Quechua', native: 'Runasimi', wordOrder: 'SOV' },
381
- { code: 'he', name: 'Hebrew', native: 'עברית', wordOrder: 'SVO' },
381
+ { code: 'he', name: 'Hebrew', native: '\u05e2\u05d1\u05e8\u05d9\u05ea', wordOrder: 'SVO' },
382
382
  ];
383
383
 
384
384
  export { bundleInfo, compareBundles, ecosystem, featureMatrix, getBundleById, getBundlesWithFeature, getSmallestBundle, packageInfo, supportedLanguages };
@@ -35,39 +35,39 @@ const DEBUG = {
35
35
  const debug = {
36
36
  command: (...args) => {
37
37
  if (DEBUG.commands)
38
- console.log('🔧', ...args);
38
+ console.log('\ud83d\udd27', ...args);
39
39
  },
40
40
  event: (...args) => {
41
41
  if (DEBUG.events)
42
- console.log('🎯', ...args);
42
+ console.log('\ud83c\udfaf', ...args);
43
43
  },
44
44
  parse: (...args) => {
45
45
  if (DEBUG.parsing)
46
- console.log('📝', ...args);
46
+ console.log('\ud83d\udcdd', ...args);
47
47
  },
48
48
  expr: (...args) => {
49
49
  if (DEBUG.expressions)
50
- console.log('🔍', ...args);
50
+ console.log('\ud83d\udd0d', ...args);
51
51
  },
52
52
  expressions: (...args) => {
53
53
  if (DEBUG.expressions)
54
- console.log('🔍', ...args);
54
+ console.log('\ud83d\udd0d', ...args);
55
55
  },
56
56
  style: (...args) => {
57
57
  if (DEBUG.styles)
58
- console.log('🎨', ...args);
58
+ console.log('\ud83c\udfa8', ...args);
59
59
  },
60
60
  runtime: (...args) => {
61
61
  if (DEBUG.runtime)
62
- console.log('🚀', ...args);
62
+ console.log('\ud83d\ude80', ...args);
63
63
  },
64
64
  loop: (...args) => {
65
65
  if (DEBUG.loops)
66
- console.log('🔁', ...args);
66
+ console.log('\ud83d\udd01', ...args);
67
67
  },
68
68
  async: (...args) => {
69
69
  if (DEBUG.async)
70
- console.log('⏳', ...args);
70
+ console.log('\u23f3', ...args);
71
71
  },
72
72
  };
73
73
 
@@ -307,20 +307,20 @@ class MultilingualHyperscript {
307
307
  }
308
308
  const LANGUAGE_INFO = {
309
309
  en: { code: 'en', name: 'English', nativeName: 'English', direction: 'ltr', wordOrder: 'SVO' },
310
- ja: { code: 'ja', name: 'Japanese', nativeName: '日本語', direction: 'ltr', wordOrder: 'SOV' },
311
- ar: { code: 'ar', name: 'Arabic', nativeName: 'العربية', direction: 'rtl', wordOrder: 'VSO' },
312
- es: { code: 'es', name: 'Spanish', nativeName: 'Español', direction: 'ltr', wordOrder: 'SVO' },
313
- ko: { code: 'ko', name: 'Korean', nativeName: '한국어', direction: 'ltr', wordOrder: 'SOV' },
314
- zh: { code: 'zh', name: 'Chinese', nativeName: '中文', direction: 'ltr', wordOrder: 'SVO' },
315
- tr: { code: 'tr', name: 'Turkish', nativeName: 'Türkçe', direction: 'ltr', wordOrder: 'SOV' },
310
+ ja: { code: 'ja', name: 'Japanese', nativeName: '\u65e5\u672c\u8a9e', direction: 'ltr', wordOrder: 'SOV' },
311
+ ar: { code: 'ar', name: 'Arabic', nativeName: '\u0627\u0644\u0639\u0631\u0628\u064a\u0629', direction: 'rtl', wordOrder: 'VSO' },
312
+ es: { code: 'es', name: 'Spanish', nativeName: 'Espa\u00f1ol', direction: 'ltr', wordOrder: 'SVO' },
313
+ ko: { code: 'ko', name: 'Korean', nativeName: '\ud55c\uad6d\uc5b4', direction: 'ltr', wordOrder: 'SOV' },
314
+ zh: { code: 'zh', name: 'Chinese', nativeName: '\u4e2d\u6587', direction: 'ltr', wordOrder: 'SVO' },
315
+ tr: { code: 'tr', name: 'Turkish', nativeName: 'T\u00fcrk\u00e7e', direction: 'ltr', wordOrder: 'SOV' },
316
316
  pt: {
317
317
  code: 'pt',
318
318
  name: 'Portuguese',
319
- nativeName: 'Português',
319
+ nativeName: 'Portugu\u00eas',
320
320
  direction: 'ltr',
321
321
  wordOrder: 'SVO',
322
322
  },
323
- fr: { code: 'fr', name: 'French', nativeName: 'Français', direction: 'ltr', wordOrder: 'SVO' },
323
+ fr: { code: 'fr', name: 'French', nativeName: 'Fran\u00e7ais', direction: 'ltr', wordOrder: 'SVO' },
324
324
  de: { code: 'de', name: 'German', nativeName: 'Deutsch', direction: 'ltr', wordOrder: 'SVO' },
325
325
  id: {
326
326
  code: 'id',
@@ -33,39 +33,39 @@ const DEBUG = {
33
33
  const debug = {
34
34
  command: (...args) => {
35
35
  if (DEBUG.commands)
36
- console.log('🔧', ...args);
36
+ console.log('\ud83d\udd27', ...args);
37
37
  },
38
38
  event: (...args) => {
39
39
  if (DEBUG.events)
40
- console.log('🎯', ...args);
40
+ console.log('\ud83c\udfaf', ...args);
41
41
  },
42
42
  parse: (...args) => {
43
43
  if (DEBUG.parsing)
44
- console.log('📝', ...args);
44
+ console.log('\ud83d\udcdd', ...args);
45
45
  },
46
46
  expr: (...args) => {
47
47
  if (DEBUG.expressions)
48
- console.log('🔍', ...args);
48
+ console.log('\ud83d\udd0d', ...args);
49
49
  },
50
50
  expressions: (...args) => {
51
51
  if (DEBUG.expressions)
52
- console.log('🔍', ...args);
52
+ console.log('\ud83d\udd0d', ...args);
53
53
  },
54
54
  style: (...args) => {
55
55
  if (DEBUG.styles)
56
- console.log('🎨', ...args);
56
+ console.log('\ud83c\udfa8', ...args);
57
57
  },
58
58
  runtime: (...args) => {
59
59
  if (DEBUG.runtime)
60
- console.log('🚀', ...args);
60
+ console.log('\ud83d\ude80', ...args);
61
61
  },
62
62
  loop: (...args) => {
63
63
  if (DEBUG.loops)
64
- console.log('🔁', ...args);
64
+ console.log('\ud83d\udd01', ...args);
65
65
  },
66
66
  async: (...args) => {
67
67
  if (DEBUG.async)
68
- console.log('⏳', ...args);
68
+ console.log('\u23f3', ...args);
69
69
  },
70
70
  };
71
71
 
@@ -305,20 +305,20 @@ class MultilingualHyperscript {
305
305
  }
306
306
  const LANGUAGE_INFO = {
307
307
  en: { code: 'en', name: 'English', nativeName: 'English', direction: 'ltr', wordOrder: 'SVO' },
308
- ja: { code: 'ja', name: 'Japanese', nativeName: '日本語', direction: 'ltr', wordOrder: 'SOV' },
309
- ar: { code: 'ar', name: 'Arabic', nativeName: 'العربية', direction: 'rtl', wordOrder: 'VSO' },
310
- es: { code: 'es', name: 'Spanish', nativeName: 'Español', direction: 'ltr', wordOrder: 'SVO' },
311
- ko: { code: 'ko', name: 'Korean', nativeName: '한국어', direction: 'ltr', wordOrder: 'SOV' },
312
- zh: { code: 'zh', name: 'Chinese', nativeName: '中文', direction: 'ltr', wordOrder: 'SVO' },
313
- tr: { code: 'tr', name: 'Turkish', nativeName: 'Türkçe', direction: 'ltr', wordOrder: 'SOV' },
308
+ ja: { code: 'ja', name: 'Japanese', nativeName: '\u65e5\u672c\u8a9e', direction: 'ltr', wordOrder: 'SOV' },
309
+ ar: { code: 'ar', name: 'Arabic', nativeName: '\u0627\u0644\u0639\u0631\u0628\u064a\u0629', direction: 'rtl', wordOrder: 'VSO' },
310
+ es: { code: 'es', name: 'Spanish', nativeName: 'Espa\u00f1ol', direction: 'ltr', wordOrder: 'SVO' },
311
+ ko: { code: 'ko', name: 'Korean', nativeName: '\ud55c\uad6d\uc5b4', direction: 'ltr', wordOrder: 'SOV' },
312
+ zh: { code: 'zh', name: 'Chinese', nativeName: '\u4e2d\u6587', direction: 'ltr', wordOrder: 'SVO' },
313
+ tr: { code: 'tr', name: 'Turkish', nativeName: 'T\u00fcrk\u00e7e', direction: 'ltr', wordOrder: 'SOV' },
314
314
  pt: {
315
315
  code: 'pt',
316
316
  name: 'Portuguese',
317
- nativeName: 'Português',
317
+ nativeName: 'Portugu\u00eas',
318
318
  direction: 'ltr',
319
319
  wordOrder: 'SVO',
320
320
  },
321
- fr: { code: 'fr', name: 'French', nativeName: 'Français', direction: 'ltr', wordOrder: 'SVO' },
321
+ fr: { code: 'fr', name: 'French', nativeName: 'Fran\u00e7ais', direction: 'ltr', wordOrder: 'SVO' },
322
322
  de: { code: 'de', name: 'German', nativeName: 'Deutsch', direction: 'ltr', wordOrder: 'SVO' },
323
323
  id: {
324
324
  code: 'id',
@@ -3,6 +3,7 @@ import type { ASTNode, Token, CommandNode } from '../../types/core';
3
3
  export declare function parseCompoundCommand(ctx: ParserContext, identifierNode: IdentifierNode): CommandNode | null;
4
4
  export declare function parseRegularCommand(ctx: ParserContext, identifierNode: IdentifierNode): CommandNode;
5
5
  export declare function parseMultiWordCommand(ctx: ParserContext, commandToken: Token, commandName: string): CommandNode | null;
6
+ export declare function isNakedURLStart(ctx: ParserContext): boolean;
6
7
  export declare function parseBareURLPath(ctx: ParserContext, isTerminator?: (ctx: ParserContext) => boolean): ASTNode | null;
7
8
  export declare function parseFetchCommand(ctx: ParserContext, commandToken: Token): CommandNode;
8
9
  export declare function parseJsCommand(ctx: ParserContext, identifierNode: IdentifierNode): CommandNode;