@xuda.io/xuda-worker-bundle-min 1.3.2004 → 1.3.2005
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -8300,10 +8300,10 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
|
|
|
8300
8300
|
return eval(val);
|
|
8301
8301
|
} catch (err) {
|
|
8302
8302
|
try {
|
|
8303
|
-
if (glb.DEBUG_MODE) console.
|
|
8303
|
+
if (glb.DEBUG_MODE) console.warn(err);
|
|
8304
8304
|
return JSON5.parse(val);
|
|
8305
8305
|
} catch (err) {
|
|
8306
|
-
if (glb.DEBUG_MODE) console.
|
|
8306
|
+
if (glb.DEBUG_MODE) console.warn(err);
|
|
8307
8307
|
return val;
|
|
8308
8308
|
}
|
|
8309
8309
|
}
|