Skip to content

Commit

Permalink
build: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hfdem committed Sep 19, 2024
1 parent 7bc6154 commit a29407b
Show file tree
Hide file tree
Showing 8 changed files with 2,776 additions and 893 deletions.
2,503 changes: 2,144 additions & 359 deletions client/package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"private": true,
"dependencies": {
"@chat-e2ee/service": "file:../service",
"@types/jest": "^29.5.2",
"@types/node": "^20.2.5",
"@types/react": "^18.2.9",
"@types/react-dom": "^18.2.4",
"qrcode.react": "^3.1.0",
"react": "^16.13.1",
"react-bootstrap": "^1.5.2",
"react-dom": "^16.13.1",
"react-icons": "^3.10.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^5.0.1",
"typescript-plugin-css-modules": "^5.0.1"
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"react-scripts": "^5.0.1",
"typescript-plugin-css-modules": "^5.0.1",
"@types/jest": "^29.5.2",
"@types/node": "^20.2.5",
"@types/react": "^18.2.9",
"@types/react-dom": "^18.2.4",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
Expand Down
645 changes: 370 additions & 275 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,35 @@
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express": "^4.21.0",
"form-data": "^4.0.0",
"mongodb": "^6.8.0",
"node-fetch": "^2.7.0",
"mongodb": "^6.9.0",
"node-fetch": "^2.6.7",
"socket.io": "^4.7.5",
"uuid": "^10.0.0"
},
"devDependencies": {
"react-bootstrap": "^2.10.4",
"ts-node": "^10.9.2",
"typescript": "5.5.4",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"typescript": "5.6.2",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^22.2.0",
"@types/jest": "^29.5.13",
"@types/node": "^22.5.5",
"@types/node-fetch": "^2.6.11",
"concurrently": "^8.2.2",
"eslint": "^9.9.0",
"concurrently": "^9.0.1",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "28.8.0",
"husky": "^9.1.4",
"eslint-plugin-jest": "28.8.3",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^15.2.8",
"nodemon": "^3.1.4",
"lint-staged": "^15.2.10",
"nodemon": "^3.1.6",
"prettier": "^3.3.3",
"supertest": "^7.0.0",
"ts-jest": "^29.2.4"
"ts-jest": "^29.2.5"
},
"husky": {
"hooks": {
Expand Down
458 changes: 230 additions & 228 deletions service/package-lock.json

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,21 @@
"main": "dist/bundle.js",
"author": "Mukesh",
"license": "ISC",
"types": "dist/types.d.ts",
"types": "dist/types/sdk.d.ts",
"devDependencies": {
"ts-loader": "^9.4.2",
"webpack": "^5.82.0",
"webpack-cli": "^5.0.2",
"ts-loader": "^9.5.1",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-remove-debug": "^0.1.0"
},
"scripts": {
"build": "webpack --mode production && npm run dts",
"build": "webpack --mode production",
"watch": "concurrently \"webpack --watch\" \"npm run watch-dts\"",
"dts": "../node_modules/typescript/bin/tsc src/public/types.ts --declaration --emitDeclarationOnly --declarationDir ./dist",
"publish-sdk": "npm publish",
"test": "jest",
"watch-dts": "../node_modules/.bin/nodemon --watch src/public/types.ts --exec \"npm run dts\""
},
"dependencies": {
"socket.io-client": "^4.6.1"
"socket.io-client": "^4.7.5"
}
}
3 changes: 2 additions & 1 deletion service/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { generateUUID } from './utils/uuid';
export const utils = {
decryptMessage: (ciphertext: string, privateKey: string) => _cryptoUtils.decryptMessage(ciphertext, privateKey),
generateUUID

}

const logger = new Logger();
Expand Down Expand Up @@ -179,3 +178,5 @@ class ChatE2EE implements IChatE2EE {
}
}
}

export * from './public/types';
3 changes: 2 additions & 1 deletion service/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"compilerOptions": {
"outDir": "dist/types",
"target": "ES5",
"strict": true,
"esModuleInterop": true,
"sourceMap": true,
"noImplicitAny": false,
"declaration": false, // generating separately, npm run dts
"declaration": true,
"strictNullChecks": false,
"downlevelIteration": true,
"lib": ["es5", "es6", "dom"],
Expand Down

0 comments on commit a29407b

Please sign in to comment.