From 644df250b24d655bef77101179827299afb086f7 Mon Sep 17 00:00:00 2001 From: Adhiyotvel Date: Tue, 30 Jun 2026 16:19:47 +0530 Subject: [PATCH] fix: bugs and vulnerabilities --- mobile/package.json | 14 ++++-- mobile/src/composables/index.js | 1 - mobile/src/pages/AllocateEmployees.vue | 32 +++++++++----- mobile/src/pages/EditInstructions.vue | 32 +++++++------- mobile/yarn.lock | 60 ++++++++++++++------------ 5 files changed, 82 insertions(+), 57 deletions(-) diff --git a/mobile/package.json b/mobile/package.json index 0bfa2c2..d13c5e6 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -22,10 +22,18 @@ "workbox-precaching": "^7.3.0" }, "resolutions": { - "@babel/plugin-transform-modules-systemjs": "^7.29.4" + "@babel/plugin-transform-modules-systemjs": "^7.29.4", + "ws": ">=8.21.0", + "dompurify": ">=3.4.11", + "protobufjs": "^7.6.3", + "js-yaml": "^4.2.0" }, "overrides": { - "@babel/plugin-transform-modules-systemjs": "^7.29.4" + "@babel/plugin-transform-modules-systemjs": "^7.29.4", + "ws": ">=8.21.0", + "dompurify": ">=3.4.11", + "protobufjs": "^7.6.3", + "js-yaml": "^4.2.0" }, "devDependencies": { "@vitejs/plugin-vue": "^5.1.4", @@ -34,6 +42,6 @@ "eslint-plugin-vue": "^9.30.0", "postcss": "^8.4.5", "tailwindcss": "^3.4.14", - "vite": "^6.0.0" + "vite": "^6.4.3" } } diff --git a/mobile/src/composables/index.js b/mobile/src/composables/index.js index 40c24ce..0b4a86b 100644 --- a/mobile/src/composables/index.js +++ b/mobile/src/composables/index.js @@ -29,7 +29,6 @@ export class FileAttachment { }) reader.onload = () => { - console.log('Loaded successfully ✅') this.fileContents = reader.result.toString().split(',')[1] uploader.submit({ diff --git a/mobile/src/pages/AllocateEmployees.vue b/mobile/src/pages/AllocateEmployees.vue index 8355743..9ebad03 100644 --- a/mobile/src/pages/AllocateEmployees.vue +++ b/mobile/src/pages/AllocateEmployees.vue @@ -9,7 +9,7 @@
@@ -17,18 +17,19 @@

Select Employee

- +
@@ -77,7 +78,7 @@ />