@xuda.io/xuda-worker-bundle-min 1.3.707 → 1.3.709
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 +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -85,6 +85,7 @@ glb.FUNCTION_NODES_ARR = [
|
|
|
85
85
|
"javascript",
|
|
86
86
|
"SQL",
|
|
87
87
|
];
|
|
88
|
+
glb.emailRegex = /^[\w\.-]+@[a-zA-Z\d\.-]+\.[a-zA-Z]{2,}$/;
|
|
88
89
|
|
|
89
90
|
const FIREBASE_AUTH_PROPERTIES_ARR = [
|
|
90
91
|
"provider",
|
|
@@ -9226,6 +9227,8 @@ func.expression.get = async function (
|
|
|
9226
9227
|
}
|
|
9227
9228
|
}
|
|
9228
9229
|
|
|
9230
|
+
const is_email = glb.emailRegex.test(valP);
|
|
9231
|
+
|
|
9229
9232
|
ret = ret.replace(/\&/g, "&");
|
|
9230
9233
|
ret = func.utils.replace_studio_drive_url(SESSION_ID, ret);
|
|
9231
9234
|
|
|
@@ -9310,7 +9313,7 @@ func.expression.get = async function (
|
|
|
9310
9313
|
return end_results();
|
|
9311
9314
|
}
|
|
9312
9315
|
};
|
|
9313
|
-
if (!func.expression.validate_variables(valP)) {
|
|
9316
|
+
if (!func.expression.validate_variables(valP) || is_email) {
|
|
9314
9317
|
return await variable_not_exist();
|
|
9315
9318
|
}
|
|
9316
9319
|
var split = [];
|