diff --git a/formulus/package-lock.json b/formulus/package-lock.json index b22625e77..5f40f4118 100644 --- a/formulus/package-lock.json +++ b/formulus/package-lock.json @@ -26,8 +26,10 @@ "@react-navigation/native": "^7.1.26", "@react-navigation/stack": "^7.6.13", "@testing-library/react-native": "^13.3.3", + "i18next": "^26.3.4", "lucide-react-native": "^0.577.0", "react": "19.2.4", + "react-i18next": "^17.0.8", "react-native": "0.83.1", "react-native-camera-kit-no-google": "^17.0.1", "react-native-device-info": "^15.0.1", @@ -35,6 +37,7 @@ "react-native-gesture-handler": "^2.30.0", "react-native-image-picker": "^8.2.1", "react-native-keychain": "^10.0.0", + "react-native-localize": "^3.7.0", "react-native-nitro-modules": "^0.35.4", "react-native-nitro-sound": "^0.2.10", "react-native-permissions": "^5.4.4", @@ -67,7 +70,7 @@ "@types/node": "^24.10.4", "@types/react": "^19.2.7", "@types/react-test-renderer": "^19.1.0", - "baseline-browser-mapping": "^2.9.11", + "baseline-browser-mapping": "^2.10.40", "eslint": "^9.39.2", "eslint-config-prettier": "10.1.8", "eslint-plugin-prettier": "^5.5.4", @@ -6376,9 +6379,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.10.38", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.38.tgz", - "integrity": "sha512-31/02mVB4yuQU6adKk5SlY6m+mxDwUq5KZkyYgnLrrKl7TEm1+3PyDtDBz2kOv/wxZz41GHsvV1A/u6RmiyBvw==", + "version": "2.10.40", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.40.tgz", + "integrity": "sha512-BSSLZ9/Cjjv7Gtj5B68ZzXcXUg8iOf3fme+FCuh8rC/Go+Kmh8cox7M3A8dolou16s64QjLPOSdngh7GxXvkSw==", "license": "Apache-2.0", "bin": { "baseline-browser-mapping": "dist/cli.cjs" @@ -8856,6 +8859,15 @@ "devOptional": true, "license": "MIT" }, + "node_modules/html-parse-stringify": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz", + "integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==", + "license": "MIT", + "dependencies": { + "void-elements": "3.1.0" + } + }, "node_modules/http-errors": { "version": "2.0.1", "license": "MIT", @@ -8905,6 +8917,34 @@ "node": ">=10.17.0" } }, + "node_modules/i18next": { + "version": "26.3.4", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.3.4.tgz", + "integrity": "sha512-pa7m0d7pBDqGHZxljT+WPFeyFgQ7P7SciPPo1tTqYuO0z4sqADYhwnBESmmGp/wEof1inwdls/k8ZgTg8rxFHA==", + "funding": [ + { + "type": "individual", + "url": "https://www.locize.com/i18next" + }, + { + "type": "individual", + "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" + }, + { + "type": "individual", + "url": "https://www.locize.com" + } + ], + "license": "MIT", + "peerDependencies": { + "typescript": "^5 || ^6" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/iconv-lite": { "version": "0.7.2", "devOptional": true, @@ -12289,6 +12329,33 @@ "react": ">=17.0.0" } }, + "node_modules/react-i18next": { + "version": "17.0.8", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.0.8.tgz", + "integrity": "sha512-0ooKbGLU8JXhe1zwpQUWIeXSgLPOfwJmgheWRIUpcoA0CpyabpGhayjdG+/eA5esC1AQ8h2jWpXjJfzQzeDOCw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.29.2", + "html-parse-stringify": "^3.0.1", + "use-sync-external-store": "^1.6.0" + }, + "peerDependencies": { + "i18next": ">= 26.2.0", + "react": ">= 16.8.0", + "typescript": "^5 || ^6" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, "node_modules/react-is": { "version": "16.13.1", "license": "MIT" @@ -12427,6 +12494,26 @@ "node": ">=16" } }, + "node_modules/react-native-localize": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/react-native-localize/-/react-native-localize-3.7.0.tgz", + "integrity": "sha512-6Ohx+zZzycC6zhNVBGM/u1U+O6Ww29YIFseeyXqsKcO/pTfjLcdE40IUJF4SVVwrdh00IMJwy90HjLGUaeqK7Q==", + "license": "MIT", + "peerDependencies": { + "@expo/config-plugins": "*", + "react": "*", + "react-native": "*", + "react-native-macos": "*" + }, + "peerDependenciesMeta": { + "@expo/config-plugins": { + "optional": true + }, + "react-native-macos": { + "optional": true + } + } + }, "node_modules/react-native-nitro-modules": { "version": "0.35.7", "license": "MIT", @@ -14260,6 +14347,15 @@ "version": "1.0.1", "license": "MIT" }, + "node_modules/void-elements": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", + "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/walker": { "version": "1.0.8", "license": "Apache-2.0", diff --git a/formulus/package.json b/formulus/package.json index b2349a1ea..417e1c937 100644 --- a/formulus/package.json +++ b/formulus/package.json @@ -85,7 +85,7 @@ "@types/node": "^24.10.4", "@types/react": "^19.2.7", "@types/react-test-renderer": "^19.1.0", - "baseline-browser-mapping": "^2.9.11", + "baseline-browser-mapping": "^2.10.40", "eslint": "^9.39.2", "eslint-config-prettier": "10.1.8", "eslint-plugin-prettier": "^5.5.4", diff --git a/formulus/pnpm-lock.yaml b/formulus/pnpm-lock.yaml index 3dfdbf483..fc78975d7 100644 --- a/formulus/pnpm-lock.yaml +++ b/formulus/pnpm-lock.yaml @@ -194,8 +194,8 @@ importers: specifier: ^19.1.0 version: 19.1.0 baseline-browser-mapping: - specifier: ^2.9.11 - version: 2.10.38 + specifier: ^2.10.40 + version: 2.10.40 eslint: specifier: ^9.39.2 version: 9.39.4 @@ -2458,8 +2458,8 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseline-browser-mapping@2.10.38: - resolution: {integrity: sha512-31/02mVB4yuQU6adKk5SlY6m+mxDwUq5KZkyYgnLrrKl7TEm1+3PyDtDBz2kOv/wxZz41GHsvV1A/u6RmiyBvw==} + baseline-browser-mapping@2.10.40: + resolution: {integrity: sha512-BSSLZ9/Cjjv7Gtj5B68ZzXcXUg8iOf3fme+FCuh8rC/Go+Kmh8cox7M3A8dolou16s64QjLPOSdngh7GxXvkSw==} engines: {node: '>=6.0.0'} hasBin: true @@ -8134,7 +8134,7 @@ snapshots: base64-js@1.5.1: {} - baseline-browser-mapping@2.10.38: {} + baseline-browser-mapping@2.10.40: {} basic-ftp@5.3.1: {} @@ -8179,7 +8179,7 @@ snapshots: browserslist@4.28.2: dependencies: - baseline-browser-mapping: 2.10.38 + baseline-browser-mapping: 2.10.40 caniuse-lite: 1.0.30001792 electron-to-chromium: 1.5.357 node-releases: 2.0.44