diff --git a/monkey/monkey_island/cc/ui/package.json b/monkey/monkey_island/cc/ui/package.json index 7a8142d12..540fe32ec 100644 --- a/monkey/monkey_island/cc/ui/package.json +++ b/monkey/monkey_island/cc/ui/package.json @@ -34,6 +34,8 @@ "@babel/preset-env": "^7.12.1", "@babel/preset-react": "^7.12.5", "@babel/runtime": "^7.12.5", + "@types/node": "^14.14.11", + "@types/react": "^16.14.2", "babel-eslint": "^10.1.0", "babel-loader": "^8.2.1", "copyfiles": "^2.4.0", @@ -51,8 +53,11 @@ "react-addons-test-utils": "^15.6.2", "rimraf": "^2.7.1", "sass-loader": "^7.3.1", + "snyk": "^1.434.4", "style-loader": "^0.22.1", "stylelint": "^13.7.2", + "ts-loader": "^8.0.11", + "typescript": "^4.1.2", "url-loader": "^1.1.2", "webpack": "^4.44.2", "webpack-cli": "^3.3.12", @@ -66,8 +71,6 @@ "@fortawesome/react-fontawesome": "^0.1.12", "@kunukn/react-collapse": "^1.2.7", "@types/jest": "^26.0.15", - "@types/node": "^14.14.9", - "@types/react": "^16.9.56", "@types/react-dom": "^16.9.9", "bootstrap": "^4.5.3", "classnames": "^2.2.6", @@ -110,10 +113,7 @@ "react-tooltip-lite": "^1.12.0", "redux": "^4.0.4", "sha3": "^2.1.3", - "snyk": "^1.427.0", - "source-map-loader": "^1.1.2", - "ts-loader": "^8.0.11", - "typescript": "^4.1.2" + "source-map-loader": "^1.1.2" }, "snyk": true } diff --git a/monkey/monkey_island/cc/ui/tsconfig.json b/monkey/monkey_island/cc/ui/tsconfig.json index a49d5fb4d..80b20886e 100644 --- a/monkey/monkey_island/cc/ui/tsconfig.json +++ b/monkey/monkey_island/cc/ui/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "sourceMap": true, "module": "commonjs", - "target": "es5", + "target": "es6", "jsx": "react", "esModuleInterop": true },