kaitai-struct-compiler 0.10.0-SNAPSHOT20220312.201918.860afd0c → 0.10.0-SNAPSHOT20220317.110343.7ff2eda3

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.
@@ -4415,9 +4415,9 @@ function $h_Lio_kaitai_struct_Version$() {
4415
4415
  $h_Lio_kaitai_struct_Version$.prototype = $c_Lio_kaitai_struct_Version$.prototype;
4416
4416
  $c_Lio_kaitai_struct_Version$.prototype.init___ = (function() {
4417
4417
  this.name$1 = "kaitai-struct-compiler-js";
4418
- this.version$1 = "0.10-SNAPSHOT20220312.201918.860afd0c";
4419
- this.gitCommit$1 = "860afd0c";
4420
- this.gitTime$1 = "2022-03-12T20:19:18+00:00";
4418
+ this.version$1 = "0.10-SNAPSHOT20220317.110343.7ff2eda3";
4419
+ this.gitCommit$1 = "7ff2eda3";
4420
+ this.gitTime$1 = "2022-03-17T11:03:43+00:00";
4421
4421
  return this
4422
4422
  });
4423
4423
  var $d_Lio_kaitai_struct_Version$ = new $TypeData().initClass({
@@ -66952,6 +66952,9 @@ $c_Lio_kaitai_struct_translators_PerlTranslator.prototype.floatToInt__Lio_kaitai
66952
66952
  $c_Lio_kaitai_struct_translators_PerlTranslator.prototype.arrayLast__Lio_kaitai_struct_exprlang_Ast$expr__T = (function(a) {
66953
66953
  return (("@{" + this.translate__Lio_kaitai_struct_exprlang_Ast$expr__T(a)) + "}[-1]")
66954
66954
  });
66955
+ $c_Lio_kaitai_struct_translators_PerlTranslator.prototype.bytesLength__Lio_kaitai_struct_exprlang_Ast$expr__O = (function(b) {
66956
+ return this.strLength__Lio_kaitai_struct_exprlang_Ast$expr__T(b)
66957
+ });
66955
66958
  $c_Lio_kaitai_struct_translators_PerlTranslator.prototype.arrayMax__Lio_kaitai_struct_exprlang_Ast$expr__O = (function(a) {
66956
66959
  return this.arrayMax__Lio_kaitai_struct_exprlang_Ast$expr__T(a)
66957
66960
  });
@@ -67030,7 +67033,7 @@ $c_Lio_kaitai_struct_translators_PerlTranslator.prototype.doArrayLiteral__Lio_ka
67030
67033
  })
67031
67034
  })(this));
67032
67035
  var this$1 = $m_sc_Seq$();
67033
- return (("(" + $as_sc_TraversableOnce(value.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).mkString__T__T(", ")) + ")")
67036
+ return (("[" + $as_sc_TraversableOnce(value.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).mkString__T__T(", ")) + "]")
67034
67037
  });
67035
67038
  $c_Lio_kaitai_struct_translators_PerlTranslator.prototype.boolToInt__Lio_kaitai_struct_exprlang_Ast$expr__T = (function(v) {
67036
67039
  return this.translate__Lio_kaitai_struct_exprlang_Ast$expr__T(v)
@@ -80186,11 +80189,11 @@ $c_Lio_kaitai_struct_languages_LuaCompiler.prototype.getRawIdExpr__Lio_kaitai_st
80186
80189
  $c_Lio_kaitai_struct_languages_LuaCompiler.prototype.runReadCalc__V = (function() {
80187
80190
  var this$1 = this.out$2;
80188
80191
  this$1.sb$2.append__T__scm_StringBuilder("\n");
80189
- this.out$2.puts__T__V("if self._is_le then");
80192
+ this.out$2.puts__T__V("if self._is_le == true then");
80190
80193
  this.out$2.inc__V();
80191
80194
  this.out$2.puts__T__V("self:_read_le()");
80192
80195
  this.out$2.dec__V();
80193
- this.out$2.puts__T__V("elseif not self._is_le then");
80196
+ this.out$2.puts__T__V("elseif self._is_le == false then");
80194
80197
  this.out$2.inc__V();
80195
80198
  this.out$2.puts__T__V("self:_read_be()");
80196
80199
  this.out$2.dec__V();
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "scripts": {
36
36
  "test": "echo \"Error: no test specified\" && exit 1"
37
37
  },
38
- "version": "0.10.0-SNAPSHOT20220312.201918.860afd0c"
38
+ "version": "0.10.0-SNAPSHOT20220317.110343.7ff2eda3"
39
39
  }