@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.
@@ -12423,10 +12423,7 @@ var functionExecutors = {
12423
12423
  NativeJsFunction: function (fn, params, sourceCodeInfo) {
12424
12424
  var _a;
12425
12425
  try {
12426
- // eslint-disable-next-line ts/no-unsafe-assignment
12427
- var clonedParams = JSON.parse(JSON.stringify(params));
12428
- // eslint-disable-next-line ts/no-unsafe-argument
12429
- return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(clonedParams), false)));
12426
+ return toAny((_a = fn.nativeFn).fn.apply(_a, __spreadArray([], __read(params), false)));
12430
12427
  }
12431
12428
  catch (error) {
12432
12429
  var message = typeof error === 'string'