akhaliq HF Staff commited on
Commit
b0f2990
·
1 Parent(s): 0748f9d

fix security issue

Browse files
frontend/package-lock.json CHANGED
The diff for this file is too large to render. See raw diff
 
frontend/package.json CHANGED
@@ -9,26 +9,25 @@
9
  "lint": "next lint"
10
  },
11
  "dependencies": {
12
- "next": "14.2.5",
13
- "react": "^18.3.1",
14
- "react-dom": "^18.3.1",
15
- "axios": "^1.7.2",
16
  "@monaco-editor/react": "^4.6.0",
 
 
17
  "prismjs": "^1.29.0",
 
 
18
  "react-markdown": "^9.0.1",
19
  "remark-gfm": "^4.0.0"
20
  },
21
  "devDependencies": {
22
  "@types/node": "^20",
 
23
  "@types/react": "^18",
24
  "@types/react-dom": "^18",
25
- "@types/prismjs": "^1.26.4",
26
- "typescript": "^5",
27
- "eslint": "^8",
28
- "eslint-config-next": "14.2.5",
29
  "autoprefixer": "^10.4.19",
 
 
30
  "postcss": "^8.4.39",
31
- "tailwindcss": "^3.4.4"
 
32
  }
33
  }
34
-
 
9
  "lint": "next lint"
10
  },
11
  "dependencies": {
 
 
 
 
12
  "@monaco-editor/react": "^4.6.0",
13
+ "axios": "^1.7.2",
14
+ "next": "^16.0.10",
15
  "prismjs": "^1.29.0",
16
+ "react": "^19.2.3",
17
+ "react-dom": "^19.2.3",
18
  "react-markdown": "^9.0.1",
19
  "remark-gfm": "^4.0.0"
20
  },
21
  "devDependencies": {
22
  "@types/node": "^20",
23
+ "@types/prismjs": "^1.26.4",
24
  "@types/react": "^18",
25
  "@types/react-dom": "^18",
 
 
 
 
26
  "autoprefixer": "^10.4.19",
27
+ "eslint": "^9.39.2",
28
+ "eslint-config-next": "^16.0.10",
29
  "postcss": "^8.4.39",
30
+ "tailwindcss": "^3.4.4",
31
+ "typescript": "^5"
32
  }
33
  }
 
frontend/tsconfig.json CHANGED
@@ -1,6 +1,10 @@
1
  {
2
  "compilerOptions": {
3
- "lib": ["dom", "dom.iterable", "esnext"],
 
 
 
 
4
  "allowJs": true,
5
  "skipLibCheck": true,
6
  "strict": true,
@@ -10,7 +14,7 @@
10
  "moduleResolution": "bundler",
11
  "resolveJsonModule": true,
12
  "isolatedModules": true,
13
- "jsx": "preserve",
14
  "incremental": true,
15
  "plugins": [
16
  {
@@ -18,10 +22,20 @@
18
  }
19
  ],
20
  "paths": {
21
- "@/*": ["./src/*"]
22
- }
 
 
 
23
  },
24
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25
- "exclude": ["node_modules"]
 
 
 
 
 
 
 
 
26
  }
27
-
 
1
  {
2
  "compilerOptions": {
3
+ "lib": [
4
+ "dom",
5
+ "dom.iterable",
6
+ "esnext"
7
+ ],
8
  "allowJs": true,
9
  "skipLibCheck": true,
10
  "strict": true,
 
14
  "moduleResolution": "bundler",
15
  "resolveJsonModule": true,
16
  "isolatedModules": true,
17
+ "jsx": "react-jsx",
18
  "incremental": true,
19
  "plugins": [
20
  {
 
22
  }
23
  ],
24
  "paths": {
25
+ "@/*": [
26
+ "./src/*"
27
+ ]
28
+ },
29
+ "target": "ES2017"
30
  },
31
+ "include": [
32
+ "next-env.d.ts",
33
+ "**/*.ts",
34
+ "**/*.tsx",
35
+ ".next/types/**/*.ts",
36
+ ".next/dev/types/**/*.ts"
37
+ ],
38
+ "exclude": [
39
+ "node_modules"
40
+ ]
41
  }