Chore/changed vm2 to @flowiseai/nodevm (#3200)

* changed vm2 to @flowiseai/nodevm

* update set-value and lunary version
This commit is contained in:
Henry Heng
2024-09-17 01:57:02 +01:00
committed by GitHub
parent 1ceea81100
commit 7a4c7efcab
11 changed files with 43 additions and 3340 deletions
@@ -1,5 +1,5 @@
import { ICommonObject, IDatabaseEntity, INode, INodeData, INodeOutputsValue, INodeParams } from '../../../src/Interface'
import { NodeVM } from 'vm2'
import { NodeVM } from '@flowiseai/nodevm'
import { DataSource } from 'typeorm'
import { availableDependencies, defaultAllowBuiltInDep, getVars, handleEscapeCharacters, prepareSandboxVars } from '../../../src/utils'