Fix dependencies in IsolatedVM package.json and package-lock.json

This commit is contained in:
Simon Larsen
2024-04-05 18:59:43 +01:00
parent acf35e1c4c
commit 1991977af1
5 changed files with 6 additions and 5 deletions

0
IsolatedVM/API/VM.ts Normal file
View File

View File

@@ -1,21 +1,17 @@
import Express, { ExpressApplication } from 'CommonServer/Utils/Express';
import logger from 'CommonServer/Utils/Logger';
import App from 'CommonServer/Utils/StartServer';
import process from 'process';
import { PromiseVoidFunction } from 'Common/Types/FunctionTypes';
const app: ExpressApplication = Express.getExpressApp();
const APP_NAME: string = 'isolated-vm';
const init: PromiseVoidFunction = async (): Promise<void> => {
try {
// init the app
await App(APP_NAME);
} catch (err) {
logger.error('App Init Failed:');
logger.error(err);

0
IsolatedVM/Utils/VM.ts Normal file
View File

View File

@@ -10,6 +10,7 @@
"license": "Apache-2.0",
"dependencies": {
"Common": "file:../Common",
"CommonServer": "file:../CommonServer",
"ts-node": "^10.9.1"
},
"devDependencies": {
@@ -49,7 +50,6 @@
"../CommonServer": {
"name": "@oneuptime/common-server",
"version": "1.0.0",
"extraneous": true,
"license": "Apache-2.0",
"dependencies": {
"@clickhouse/client": "^0.2.10",
@@ -1755,6 +1755,10 @@
"resolved": "../Common",
"link": true
},
"node_modules/CommonServer": {
"resolved": "../CommonServer",
"link": true
},
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",

View File

@@ -16,6 +16,7 @@
"license": "Apache-2.0",
"dependencies": {
"Common": "file:../Common",
"CommonServer": "file:../CommonServer",
"ts-node": "^10.9.1"
},
"devDependencies": {