@mojir/lits 2.1.13 → 2.1.14

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/dist/cli/cli.js CHANGED
@@ -92,7 +92,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
92
92
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
93
93
  };
94
94
 
95
- var version = "2.1.13";
95
+ var version = "2.1.14";
96
96
 
97
97
  function getCodeMarker(sourceCodeInfo) {
98
98
  if (!sourceCodeInfo.position || !sourceCodeInfo.code)
@@ -12443,10 +12443,7 @@ var functionExecutors = {
12443
12443
  NativeJsFunction: function (fn, params, sourceCodeInfo) {
12444
12444
  var _a;
12445
12445
  try {
12446
- // eslint-disable-next-line ts/no-unsafe-assignment
12447
- var clonedParams = JSON.parse(JSON.stringify(params));
12448
- // eslint-disable-next-line ts/no-unsafe-argument
12449
- return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(clonedParams), false)));
12446
+ return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(params), false)));
12450
12447
  }
12451
12448
  catch (error) {
12452
12449
  var message = typeof error === 'string'
package/dist/index.esm.js CHANGED
@@ -12480,10 +12480,7 @@ var functionExecutors = {
12480
12480
  NativeJsFunction: function (fn, params, sourceCodeInfo) {
12481
12481
  var _a;
12482
12482
  try {
12483
- // eslint-disable-next-line ts/no-unsafe-assignment
12484
- var clonedParams = JSON.parse(JSON.stringify(params));
12485
- // eslint-disable-next-line ts/no-unsafe-argument
12486
- return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(clonedParams), false)));
12483
+ return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(params), false)));
12487
12484
  }
12488
12485
  catch (error) {
12489
12486
  var message = typeof error === 'string'