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,8 +1,8 @@
import { START } from '@langchain/langgraph'
import { NodeVM } from '@flowiseai/nodevm'
import { DataSource } from 'typeorm'
import { ICommonObject, IDatabaseEntity, INode, INodeData, INodeParams, ISeqAgentNode } from '../../../src/Interface'
import { availableDependencies, defaultAllowBuiltInDep, getVars, prepareSandboxVars } from '../../../src/utils'
import { NodeVM } from 'vm2'
import { DataSource } from 'typeorm'
const defaultFunc = `{
aggregate: {