@xuda.io/runtime-bundle 1.0.497 → 1.0.499
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 +11 -5
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +11 -5
- package/js/xuda-runtime-slim.min.es.js +11 -5
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +11 -5
- package/js/xuda-worker-bundle.js +11 -5
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -35663,13 +35663,19 @@ func.expression.remove_quotes = function (valP) {
|
|
|
35663
35663
|
else return valP;
|
|
35664
35664
|
};
|
|
35665
35665
|
|
|
35666
|
-
func.expression.
|
|
35666
|
+
// func.expression.validate_constant = function (valP) {
|
|
35667
|
+
// typeof valP === 'string' && /^["'].*["']$/.test(valP);
|
|
35668
|
+
// };
|
|
35667
35669
|
|
|
35668
|
-
func.expression.
|
|
35670
|
+
// func.expression.validate_variables = function (valP) {
|
|
35671
|
+
// typeof valP === 'string' && valP.includes('@');
|
|
35672
|
+
// };
|
|
35669
35673
|
|
|
35670
|
-
func.expression.
|
|
35674
|
+
// func.expression.remove_quotes = function (valP) {
|
|
35675
|
+
// func.expression.validate_constant(valP) && typeof valP === 'string' ? valP.slice(1, -1) : valP;
|
|
35676
|
+
// };
|
|
35671
35677
|
|
|
35672
|
-
func.expression.
|
|
35678
|
+
func.expression.secure_eval_org = async function (SESSION_ID, sourceP, val, job_id, dsSessionP, js_script_callback, evt) {
|
|
35673
35679
|
const api_utils = await func.common.get_module(SESSION_ID, 'xuda-api-library.mjs', {
|
|
35674
35680
|
func,
|
|
35675
35681
|
glb,
|
|
@@ -35771,7 +35777,7 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
|
|
|
35771
35777
|
}
|
|
35772
35778
|
};
|
|
35773
35779
|
|
|
35774
|
-
func.expression.
|
|
35780
|
+
func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id, dsSessionP, js_script_callback, evt) {
|
|
35775
35781
|
if (typeof val !== 'string') return val;
|
|
35776
35782
|
|
|
35777
35783
|
const xu = await func.common.get_module(SESSION_ID, 'xuda-api-library.mjs', {
|