@xuda.io/runtime-bundle 1.0.980 → 1.0.982
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/js/xuda-runtime-bundle.js +6 -6
- package/js/xuda-runtime-bundle.min.js +3 -3
- package/js/xuda-runtime-slim.js +6 -6
- package/js/xuda-runtime-slim.min.es.js +6 -6
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +2 -2
- package/js/xuda-server-bundle.mjs +6 -6
- package/js/xuda-worker-bundle.js +6 -6
- package/js/xuda-worker-bundle.min.js +2 -2
- package/package.json +1 -1
|
@@ -35161,7 +35161,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
35161
35161
|
}
|
|
35162
35162
|
|
|
35163
35163
|
const validate_email = async function () {
|
|
35164
|
-
const ret = await func.expression.secure_eval(SESSION_ID, sourceP, valP, jobNo, dsSessionP, js_script_callback);
|
|
35164
|
+
const ret = await func.expression.secure_eval(SESSION_ID, sourceP, valP, jobNo, dsSessionP, js_script_callback, null, true);
|
|
35165
35165
|
|
|
35166
35166
|
return glb.emailRegex.test(ret);
|
|
35167
35167
|
};
|
|
@@ -35913,7 +35913,7 @@ func.expression.remove_quotes = function (valP) {
|
|
|
35913
35913
|
// }
|
|
35914
35914
|
// };
|
|
35915
35915
|
|
|
35916
|
-
func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id, dsSessionP, js_script_callback, evt) {
|
|
35916
|
+
func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id, dsSessionP, js_script_callback, evt, ignore_errors) {
|
|
35917
35917
|
if (typeof val !== 'string') return val;
|
|
35918
35918
|
|
|
35919
35919
|
const xu = await func.common.get_module(SESSION_ID, 'xuda-api-library.mjs', {
|
|
@@ -35934,10 +35934,10 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
|
|
|
35934
35934
|
return eval(val);
|
|
35935
35935
|
} catch (err) {
|
|
35936
35936
|
try {
|
|
35937
|
-
if (
|
|
35937
|
+
if (sourceP === 'javascript' && !ignore_errors) console.error(err);
|
|
35938
35938
|
return JSON5.parse(val);
|
|
35939
35939
|
} catch (err) {
|
|
35940
|
-
if (
|
|
35940
|
+
if (sourceP === 'javascript' && !ignore_errors) console.error(err);
|
|
35941
35941
|
return val;
|
|
35942
35942
|
}
|
|
35943
35943
|
}
|
|
@@ -36761,7 +36761,7 @@ func.events.execute = async function (
|
|
|
36761
36761
|
dsSession,
|
|
36762
36762
|
`(async function(el,evt) {
|
|
36763
36763
|
${refIdP.value}
|
|
36764
|
-
})(document.querySelector(\`[xu-ui-id
|
|
36764
|
+
})(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
|
|
36765
36765
|
null,
|
|
36766
36766
|
null,
|
|
36767
36767
|
null,
|
|
@@ -36781,7 +36781,7 @@ func.events.execute = async function (
|
|
|
36781
36781
|
dsSession,
|
|
36782
36782
|
`(async function(el,evt) {
|
|
36783
36783
|
${refIdP.value}
|
|
36784
|
-
})(document.querySelector(\`[xu-ui-id
|
|
36784
|
+
})(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
|
|
36785
36785
|
true,
|
|
36786
36786
|
null,
|
|
36787
36787
|
null,
|