@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/lits.iife.js CHANGED
@@ -12483,10 +12483,7 @@ var Lits = (function (exports) {
12483
12483
  NativeJsFunction: function (fn, params, sourceCodeInfo) {
12484
12484
  var _a;
12485
12485
  try {
12486
- // eslint-disable-next-line ts/no-unsafe-assignment
12487
- var clonedParams = JSON.parse(JSON.stringify(params));
12488
- // eslint-disable-next-line ts/no-unsafe-argument
12489
- return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(clonedParams), false)));
12486
+ return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(params), false)));
12490
12487
  }
12491
12488
  catch (error) {
12492
12489
  var message = typeof error === 'string'