@xuda.io/xuda-worker-bundle 1.3.2526 → 1.3.2529

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -8202,7 +8202,7 @@ func.expression.get_property = async function (valP) {
8202
8202
  }
8203
8203
 
8204
8204
  try {
8205
- let vm = new NodeVM({
8205
+ let vm = new VM({
8206
8206
  sandbox: {
8207
8207
  func: func,
8208
8208
  SESSION_ID: SESSION_ID,
@@ -8473,7 +8473,7 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
8473
8473
  }
8474
8474
 
8475
8475
  try {
8476
- const vm = new NodeVM({
8476
+ const vm = new VM({
8477
8477
  sandbox,
8478
8478
  timeout: 1000,
8479
8479
  allowAsync: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.2526",
3
+ "version": "1.3.2529",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {