@xuda.io/xuda-worker-bundle-min 1.3.709 → 1.3.710

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.
Files changed (2) hide show
  1. package/index.js +19 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -9227,8 +9227,6 @@ func.expression.get = async function (
9227
9227
  }
9228
9228
  }
9229
9229
 
9230
- const is_email = glb.emailRegex.test(valP);
9231
-
9232
9230
  ret = ret.replace(/\&/g, "&");
9233
9231
  ret = func.utils.replace_studio_drive_url(SESSION_ID, ret);
9234
9232
 
@@ -9313,9 +9311,27 @@ func.expression.get = async function (
9313
9311
  return end_results();
9314
9312
  }
9315
9313
  };
9316
- if (!func.expression.validate_variables(valP) || is_email) {
9314
+ if (!func.expression.validate_variables(valP)) {
9315
+ return await variable_not_exist();
9316
+ }
9317
+
9318
+ const validate_email = async function () {
9319
+ const ret = await func.expression.secure_eval(
9320
+ SESSION_ID,
9321
+ sourceP,
9322
+ valP,
9323
+ jobNo,
9324
+ dsSessionP,
9325
+ js_script_callback
9326
+ );
9327
+
9328
+ return glb.emailRegex.test(ret);
9329
+ };
9330
+
9331
+ if (await validate_email()) {
9317
9332
  return await variable_not_exist();
9318
9333
  }
9334
+
9319
9335
  var split = [];
9320
9336
  var var_Arr = [];
9321
9337
  split = func.expression.parse(ret);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.709",
3
+ "version": "1.3.710",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {