remix-i18next
Advanced tools
Comparing version 5.3.0 to 5.4.0
@@ -20,3 +20,3 @@ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime"; | ||
.filter((route) => { var _a; return ((_a = route.handle) === null || _a === void 0 ? void 0 : _a.i18n) !== undefined; }) | ||
.flatMap((route) => { var _a; return (_a = route.handle) === null || _a === void 0 ? void 0 : _a.i18n; })), | ||
.flatMap((route) => route.handle.i18n)), | ||
]; | ||
@@ -23,0 +23,0 @@ let lang = i18n.language; |
@@ -23,3 +23,3 @@ "use strict"; | ||
.filter((route) => { var _a; return ((_a = route.handle) === null || _a === void 0 ? void 0 : _a.i18n) !== undefined; }) | ||
.flatMap((route) => { var _a; return (_a = route.handle) === null || _a === void 0 ? void 0 : _a.i18n; })), | ||
.flatMap((route) => route.handle.i18n)), | ||
]; | ||
@@ -26,0 +26,0 @@ let lang = i18n.language; |
{ | ||
"name": "remix-i18next", | ||
"version": "5.3.0", | ||
"version": "5.4.0", | ||
"description": "The easiest way to translate your Remix apps", | ||
@@ -53,4 +53,4 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@remix-run/react": "^1.0.0", | ||
"@remix-run/server-runtime": "^1.0.0", | ||
"@remix-run/react": "^1.0.0 || ^2.0.0", | ||
"@remix-run/server-runtime": "^1.0.0 || ^2.0.0", | ||
"i18next": "^23.1.0", | ||
@@ -67,6 +67,6 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0", | ||
"devDependencies": { | ||
"@remix-run/dev": "^1.7.6", | ||
"@remix-run/node": "^1.7.6", | ||
"@remix-run/react": "^1.7.6", | ||
"@remix-run/server-runtime": "^1.7.6", | ||
"@remix-run/dev": "^2.0.0", | ||
"@remix-run/node": "^2.0.0", | ||
"@remix-run/react": "^2.0.0", | ||
"@remix-run/server-runtime": "^2.0.0", | ||
"@types/accept-language-parser": "^1.5.3", | ||
@@ -76,4 +76,4 @@ "@types/node": "^18.11.9", | ||
"@types/react": "^18.0.25", | ||
"@typescript-eslint/eslint-plugin": "^5.44.0", | ||
"@typescript-eslint/parser": "^5.44.0", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"eslint": "^8.28.0", | ||
@@ -93,5 +93,5 @@ "eslint-config-prettier": "^8.5.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.1.0", | ||
"vitest": "^0.25.3" | ||
} | ||
} |
52913