rip-lang 3.13.119 → 3.13.120

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 CHANGED
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
 
11
11
  <p align="center">
12
- <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-3.13.119-blue.svg" alt="Version"></a>
12
+ <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-3.13.120-blue.svg" alt="Version"></a>
13
13
  <a href="#zero-dependencies"><img src="https://img.shields.io/badge/dependencies-ZERO-brightgreen.svg" alt="Dependencies"></a>
14
14
  <a href="#"><img src="https://img.shields.io/badge/tests-1%2C436%2F1%2C436-brightgreen.svg" alt="Tests"></a>
15
15
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License"></a>
package/docs/dist/rip.js CHANGED
@@ -3420,9 +3420,9 @@
3420
3420
  case 331:
3421
3421
  return ["import", $[$0 - 4], $[$0]];
3422
3422
  case 332:
3423
- return ["import", [$[$0 - 4], $[$0 - 2]], $[$0]];
3423
+ return ["import", $[$0 - 4], $[$0 - 2], $[$0]];
3424
3424
  case 333:
3425
- return ["import", [$[$0 - 7], $[$0 - 4]], $[$0]];
3425
+ return ["import", $[$0 - 7], $[$0 - 4], $[$0]];
3426
3426
  case 344:
3427
3427
  return ["*", $[$0]];
3428
3428
  case 345:
@@ -8218,6 +8218,14 @@ ${this.indent()}}`;
8218
8218
  }
8219
8219
  if (this.options.skipImports)
8220
8220
  return "";
8221
+ if (rest.length === 3) {
8222
+ let [def, named, source2] = rest;
8223
+ let fixedSource2 = this.addJsExtensionAndAssertions(source2);
8224
+ if (named[0] === "*" && named.length === 2)
8225
+ return `import ${def}, * as ${named[1]} from ${fixedSource2}`;
8226
+ let names = named.map((i) => Array.isArray(i) && i.length === 2 ? `${i[0]} as ${i[1]}` : i).join(", ");
8227
+ return `import ${def}, { ${names} } from ${fixedSource2}`;
8228
+ }
8221
8229
  let [specifier, source] = rest;
8222
8230
  let fixedSource = this.addJsExtensionAndAssertions(source);
8223
8231
  if (typeof specifier === "string")
@@ -8225,13 +8233,6 @@ ${this.indent()}}`;
8225
8233
  if (Array.isArray(specifier)) {
8226
8234
  if (specifier[0] === "*" && specifier.length === 2)
8227
8235
  return `import * as ${specifier[1]} from ${fixedSource}`;
8228
- if (typeof specifier[0] === "string" && Array.isArray(specifier[1])) {
8229
- let def = specifier[0], second = specifier[1];
8230
- if (second[0] === "*" && second.length === 2)
8231
- return `import ${def}, * as ${second[1]} from ${fixedSource}`;
8232
- let names2 = (Array.isArray(second) ? second : [second]).map((i) => Array.isArray(i) && i.length === 2 ? `${i[0]} as ${i[1]}` : i).join(", ");
8233
- return `import ${def}, { ${names2} } from ${fixedSource}`;
8234
- }
8235
8236
  let names = specifier.map((i) => Array.isArray(i) && i.length === 2 ? `${i[0]} as ${i[1]}` : i).join(", ");
8236
8237
  return `import { ${names} } from ${fixedSource}`;
8237
8238
  }
@@ -9663,8 +9664,8 @@ globalThis.zip ??= (...a) => a[0].map((_, i) => a.map(b => b[i]));
9663
9664
  return new CodeGenerator({}).getComponentRuntime();
9664
9665
  }
9665
9666
  // src/browser.js
9666
- var VERSION = "3.13.119";
9667
- var BUILD_DATE = "2026-03-14@11:16:29GMT";
9667
+ var VERSION = "3.13.120";
9668
+ var BUILD_DATE = "2026-03-14@11:34:17GMT";
9668
9669
  if (typeof globalThis !== "undefined") {
9669
9670
  if (!globalThis.__rip)
9670
9671
  new Function(getReactiveRuntime())();