From 3c280c8c2f2ac302dfe7a9371f24f3cc16ed1854 Mon Sep 17 00:00:00 2001 From: Dependency_Bot <bot@grandlinex.com> Date: Mon, 29 Jul 2024 23:06:05 +0000 Subject: [PATCH 1/3] Dependency_Bot: auto-update b34018d6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c1f4736..98a3f64 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "license": "BSD-3-Clause", "dependencies": { - "@grandlinex/core": "0.32.0" + "@grandlinex/core": "1.0.0" }, "devDependencies": { "@types/jest": "^29.5.0", From 82620c13d3d5bc906e8df5e0f70b7f63c42e1b98 Mon Sep 17 00:00:00 2001 From: Dependency_Bot <bot@grandlinex.com> Date: Mon, 29 Jul 2024 23:06:06 +0000 Subject: [PATCH 2/3] 1.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 98a3f64..5262bed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@grandlinex/bundle-multilang", - "version": "0.32.2", + "version": "1.0.0", "description": "", "type": "module", "exports": { From ce702f73ab165acfbd66457056243d0f57804a38 Mon Sep 17 00:00:00 2001 From: David Nagy <david.nagy@quinto.io> Date: Tue, 30 Jul 2024 02:59:56 +0200 Subject: [PATCH 3/3] 1.0.0 --- package.json | 44 ++++++++++++++++++++++---------------------- src/LangModule.ts | 2 +- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 5262bed..e29e46f 100644 --- a/package.json +++ b/package.json @@ -48,28 +48,28 @@ "@grandlinex/core": "1.0.0" }, "devDependencies": { - "@types/jest": "^29.5.0", - "@types/node": "^18.15.11", - "@typescript-eslint/eslint-plugin": "^5.57.1", - "@typescript-eslint/parser": "^5.57.1", - "eslint": "^8.37.0", - "eslint-config-airbnb": "^19.0.4", - "eslint-config-airbnb-typescript": "^17.0.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-jest": "^27.2.1", - "eslint-plugin-jsx-a11y": "^6.7.1", - "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-react": "^7.32.2", - "eslint-plugin-react-hooks": "^4.6.0", - "jest": "^29.5.0", - "jest-junit": "^15.0.0", - "prettier": "^2.8.7", - "ts-jest": "^29.1.0", - "ts-loader": "^9.4.2", - "ts-node": "^10.9.1", - "typedoc": "^0.23.28", - "typescript": "^5.0.3" + "@types/jest": "29.5.12", + "@types/node": "22.0.0", + "@typescript-eslint/eslint-plugin": "7.18.0", + "@typescript-eslint/parser": "7.18.0", + "eslint": "8.57.0", + "eslint-config-airbnb": "19.0.4", + "eslint-config-airbnb-typescript": "18.0.0", + "eslint-config-prettier": "9.1.0", + "eslint-plugin-import": "2.29.1", + "eslint-plugin-jest": "28.6.0", + "eslint-plugin-jsx-a11y": "6.9.0", + "eslint-plugin-prettier": "5.2.1", + "eslint-plugin-react": "7.35.0", + "eslint-plugin-react-hooks": "4.6.2", + "jest": "29.7.0", + "jest-junit": "16.0.0", + "prettier": "3.3.3", + "ts-jest": "29.1.5", + "ts-loader": "9.5.1", + "ts-node": "10.9.2", + "typedoc": "0.26.5", + "typescript": "5.5.4" }, "repository": { "type": "git", diff --git a/src/LangModule.ts b/src/LangModule.ts index 6138bd1..19533bf 100644 --- a/src/LangModule.ts +++ b/src/LangModule.ts @@ -41,7 +41,7 @@ export default class LangModule extends CoreBundleModule< await client.setDbLang(this.defaultLang); await this.getDb().setConfig('init', 'true'); } - await this.getKernel().triggerFunction('lang-loaded'); + await this.getKernel().triggerEvent('lang-loaded'); } initBundleModule(): Promise<void> {