@wvlet/wvlet 2025.1.17 → 2025.1.18

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/lib/main.js CHANGED
@@ -17576,14 +17576,14 @@ $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.compile__T__T__T = (function(query, opt
17576
17576
  }
17577
17577
  }
17578
17578
  });
17579
- $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.getVersion = (function() {
17580
- return $m_Lwvlet_lang_BuildInfo$().Lwvlet_lang_BuildInfo$__f_version;
17581
- });
17582
17579
  $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.compile = (function(arg, ...rest) {
17583
17580
  var prep0 = $as_T(arg);
17584
17581
  var prep1 = ((rest[0] === (void 0)) ? "{}" : $as_T(rest[0]));
17585
17582
  return this.compile__T__T__T(prep0, prep1);
17586
17583
  });
17584
+ $c_Lwvlet_lang_sdk_js_WvletJS$.prototype.getVersion = (function() {
17585
+ return $m_Lwvlet_lang_BuildInfo$().Lwvlet_lang_BuildInfo$__f_version;
17586
+ });
17587
17587
  var $d_Lwvlet_lang_sdk_js_WvletJS$ = new $TypeData().initClass($c_Lwvlet_lang_sdk_js_WvletJS$, "wvlet.lang.sdk.js.WvletJS$", ({
17588
17588
  Lwvlet_lang_sdk_js_WvletJS$: 1
17589
17589
  }));
@@ -51668,76 +51668,77 @@ $c_Lwvlet_lang_catalog_StaticCatalogProvider$.prototype.loadCatalog__T__Lwvlet_l
51668
51668
  $n(LoggingMethods_this.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$WARN$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 27, 51), ("Invalid catalog name: " + catalogName));
51669
51669
  }
51670
51670
  return $m_s_None$();
51671
- }
51672
- $m_Lwvlet_lang_compiler_SourceIO$();
51673
- var $x_3 = $m_sr_ScalaRunTime$();
51674
- var this$6 = $n($n(dbType).toString__T());
51675
- $x_3.wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)([$as_T(this$6.toLowerCase()), catalogName]));
51676
- if (($m_Lwvlet_lang_compiler_SourceIO$(), false)) {
51677
- try {
51678
- var LoggingMethods_this$2 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
51679
- var this$9 = $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger());
51680
- var level$1 = $m_Lwvlet_log_LogLevel$DEBUG$();
51681
- if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$9)).isLoggable__ju_logging_Level__Z(level$1.Lwvlet_log_LogLevel__f_jlLevel)) {
51682
- $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 34, 61), ("Loading static catalog from: " + basePath));
51683
- }
51684
- $m_Lwvlet_lang_compiler_SourceIO$();
51685
- $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["schemas.json"]));
51686
- matchResult1: {
51687
- var schemas;
51671
+ } else {
51672
+ $m_Lwvlet_lang_compiler_SourceIO$();
51673
+ var $x_3 = $m_sr_ScalaRunTime$();
51674
+ var this$6 = $n($n(dbType).toString__T());
51675
+ $x_3.wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)([$as_T(this$6.toLowerCase()), catalogName]));
51676
+ if (($m_Lwvlet_lang_compiler_SourceIO$(), false)) {
51677
+ try {
51678
+ var LoggingMethods_this$2 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
51679
+ var this$9 = $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger());
51680
+ var level$1 = $m_Lwvlet_log_LogLevel$DEBUG$();
51681
+ if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$9)).isLoggable__ju_logging_Level__Z(level$1.Lwvlet_log_LogLevel__f_jlLevel)) {
51682
+ $n(LoggingMethods_this$2.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 34, 63), ("Loading static catalog from: " + basePath));
51683
+ }
51688
51684
  $m_Lwvlet_lang_compiler_SourceIO$();
51689
- var x1 = $m_s_None$();
51690
- var x = $m_s_None$();
51691
- if ((x === x1)) {
51692
- var schemas = $m_sci_Nil$();
51693
- break matchResult1;
51685
+ $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["schemas.json"]));
51686
+ matchResult1: {
51687
+ var schemas;
51688
+ $m_Lwvlet_lang_compiler_SourceIO$();
51689
+ var x1 = $m_s_None$();
51690
+ var x = $m_s_None$();
51691
+ if ((x === x1)) {
51692
+ var schemas = $m_sci_Nil$();
51693
+ break matchResult1;
51694
+ }
51695
+ throw new $c_s_MatchError(x1);
51694
51696
  }
51695
- throw new $c_s_MatchError(x1);
51696
- }
51697
- if ((schemas !== $m_sci_Nil$())) {
51698
- new $c_sci_$colon$colon(schemas.head__E(), $m_sci_Nil$());
51699
- schemas.tail__E();
51700
- }
51701
- var this$15 = $m_sci_Nil$();
51702
- var tables = $m_sci_Map$().from__sc_IterableOnce__sci_Map(this$15);
51703
- $m_Lwvlet_lang_compiler_SourceIO$();
51704
- $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["functions.json"]));
51705
- matchResult3: {
51706
- var functions;
51697
+ if ((schemas !== $m_sci_Nil$())) {
51698
+ new $c_sci_$colon$colon(schemas.head__E(), $m_sci_Nil$());
51699
+ schemas.tail__E();
51700
+ }
51701
+ var this$15 = $m_sci_Nil$();
51702
+ var tables = $m_sci_Map$().from__sc_IterableOnce__sci_Map(this$15);
51707
51703
  $m_Lwvlet_lang_compiler_SourceIO$();
51708
- var x7 = $m_s_None$();
51709
- var x$3 = $m_s_None$();
51710
- if ((x$3 === x7)) {
51711
- var functions = $m_sci_Nil$();
51712
- break matchResult3;
51704
+ $m_sr_ScalaRunTime$().wrapRefArray__AO__sci_ArraySeq(new ($d_T.getArrayOf().constr)(["functions.json"]));
51705
+ matchResult3: {
51706
+ var functions;
51707
+ $m_Lwvlet_lang_compiler_SourceIO$();
51708
+ var x7 = $m_s_None$();
51709
+ var x$3 = $m_s_None$();
51710
+ if ((x$3 === x7)) {
51711
+ var functions = $m_sci_Nil$();
51712
+ break matchResult3;
51713
+ }
51714
+ throw new $c_s_MatchError(x7);
51713
51715
  }
51714
- throw new $c_s_MatchError(x7);
51715
- }
51716
- var value = new $c_Lwvlet_lang_catalog_StaticCatalog(catalogName, dbType, schemas, tables, functions);
51717
- return new $c_s_Some(value);
51718
- } catch (e$7) {
51719
- var e$8 = ((e$7 instanceof $c_jl_Throwable) ? e$7 : new $c_sjs_js_JavaScriptException(e$7));
51720
- if ((e$8 instanceof $c_jl_Exception)) {
51721
- var e$9 = $as_jl_Exception(e$8);
51722
- var LoggingMethods_this$5 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
51723
- var this$21 = $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger());
51724
- var level$2 = $m_Lwvlet_log_LogLevel$ERROR$();
51725
- if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$21)).isLoggable__ju_logging_Level__Z(level$2.Lwvlet_log_LogLevel__f_jlLevel)) {
51726
- $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger()).logWithCause__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__jl_Throwable__V($m_Lwvlet_log_LogLevel$ERROR$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 95, 11), ((((("Failed to load static catalog '" + catalogName) + "' from ") + basePath) + ": ") + $n(e$9).getMessage__T()), e$9);
51716
+ var value = new $c_Lwvlet_lang_catalog_StaticCatalog(catalogName, dbType, schemas, tables, functions);
51717
+ return new $c_s_Some(value);
51718
+ } catch (e$7) {
51719
+ var e$8 = ((e$7 instanceof $c_jl_Throwable) ? e$7 : new $c_sjs_js_JavaScriptException(e$7));
51720
+ if ((e$8 instanceof $c_jl_Exception)) {
51721
+ var e$9 = $as_jl_Exception(e$8);
51722
+ var LoggingMethods_this$5 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
51723
+ var this$21 = $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger());
51724
+ var level$2 = $m_Lwvlet_log_LogLevel$ERROR$();
51725
+ if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$21)).isLoggable__ju_logging_Level__Z(level$2.Lwvlet_log_LogLevel__f_jlLevel)) {
51726
+ $n(LoggingMethods_this$5.logger__Lwvlet_log_Logger()).logWithCause__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__jl_Throwable__V($m_Lwvlet_log_LogLevel$ERROR$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 95, 13), ((((("Failed to load static catalog '" + catalogName) + "' from ") + basePath) + ": ") + $n(e$9).getMessage__T()), e$9);
51727
+ }
51728
+ return $m_s_None$();
51729
+ } else {
51730
+ throw e$7;
51727
51731
  }
51728
- return $m_s_None$();
51729
- } else {
51730
- throw e$7;
51731
51732
  }
51733
+ } else {
51734
+ var LoggingMethods_this$6 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
51735
+ var this$23 = $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger());
51736
+ var level$3 = $m_Lwvlet_log_LogLevel$DEBUG$();
51737
+ if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$23)).isLoggable__ju_logging_Level__Z(level$3.Lwvlet_log_LogLevel__f_jlLevel)) {
51738
+ $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 102, 68), ("Static catalog path does not exist: " + basePath));
51739
+ }
51740
+ return $m_s_None$();
51732
51741
  }
51733
- } else {
51734
- var LoggingMethods_this$6 = $m_Lwvlet_lang_catalog_StaticCatalogProvider$();
51735
- var this$23 = $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger());
51736
- var level$3 = $m_Lwvlet_log_LogLevel$DEBUG$();
51737
- if ($n($p_Lwvlet_log_Logger___log__ju_logging_Logger(this$23)).isLoggable__ju_logging_Level__Z(level$3.Lwvlet_log_LogLevel__f_jlLevel)) {
51738
- $n(LoggingMethods_this$6.logger__Lwvlet_log_Logger()).log__Lwvlet_log_LogLevel__Lwvlet_log_LogSource__O__V($m_Lwvlet_log_LogLevel$DEBUG$(), new $c_Lwvlet_log_LogSource("", "StaticCatalogProvider.scala", 101, 66), ("Static catalog path does not exist: " + basePath));
51739
- }
51740
- return $m_s_None$();
51741
51742
  }
51742
51743
  });
51743
51744
  var $d_Lwvlet_lang_catalog_StaticCatalogProvider$ = new $TypeData().initClass($c_Lwvlet_lang_catalog_StaticCatalogProvider$, "wvlet.lang.catalog.StaticCatalogProvider$", ({
@@ -94959,11 +94960,11 @@ function $c_Lwvlet_lang_BuildInfo$() {
94959
94960
  this.Lwvlet_lang_BuildInfo$__f_toString = null;
94960
94961
  $n_Lwvlet_lang_BuildInfo$ = this;
94961
94962
  this.Lwvlet_lang_BuildInfo$__f_name = "wvlet-api";
94962
- this.Lwvlet_lang_BuildInfo$__f_version = "2025.1.17+0-f0dc063a+20250902-1840";
94963
+ this.Lwvlet_lang_BuildInfo$__f_version = "2025.1.18+0-a4f1271e+20250903-0344";
94963
94964
  this.Lwvlet_lang_BuildInfo$__f_scalaVersion = "3.3.5";
94964
94965
  this.Lwvlet_lang_BuildInfo$__f_sbtVersion = "1.11.5";
94965
- this.Lwvlet_lang_BuildInfo$__f_builtAtString = "2025-09-02 18:40:17.765+0000";
94966
- this.Lwvlet_lang_BuildInfo$__f_builtAtMillis = new $c_RTLong(196793701, 409);
94966
+ this.Lwvlet_lang_BuildInfo$__f_builtAtString = "2025-09-03 03:44:15.840+0000";
94967
+ this.Lwvlet_lang_BuildInfo$__f_builtAtMillis = new $c_RTLong(229431776, 409);
94967
94968
  this.Lwvlet_lang_BuildInfo$__f_toString = $m_sc_StringOps$().format$extension__T__sci_Seq__T("name: %s, version: %s, scalaVersion: %s, sbtVersion: %s, builtAtString: %s, builtAtMillis: %s", $m_sr_ScalaRunTime$().genericWrapArray__O__sci_ArraySeq(new $ac_O([this.Lwvlet_lang_BuildInfo$__f_name, this.Lwvlet_lang_BuildInfo$__f_version, this.Lwvlet_lang_BuildInfo$__f_scalaVersion, this.Lwvlet_lang_BuildInfo$__f_sbtVersion, this.Lwvlet_lang_BuildInfo$__f_builtAtString, this.Lwvlet_lang_BuildInfo$__f_builtAtMillis])));
94968
94969
  }
94969
94970
  $c_Lwvlet_lang_BuildInfo$.prototype = new $h_O();