Skip to content

Commit

Permalink
Upgrade remix-i18next
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Mar 16, 2024
1 parent c927a34 commit 1e24d30
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 38 deletions.
58 changes: 24 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"peerDependencies": {
"@remix-run/cloudflare": "^2.0.0",
"i18next": "^23.0.0",
"remix-i18next": "^5.0.0",
"remix-i18next": "^6.0.0",
"zod": "^3.0.0"
},
"peerDependenciesMeta": {
Expand Down Expand Up @@ -113,7 +113,7 @@
"eslint-plugin-unicorn": "^51.0.1",
"i18next": "^23.7.16",
"prettier": "^3.2.4",
"remix-i18next": "^5.5.0",
"remix-i18next": "^6.0.0",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vite-tsconfig-paths": "^4.3.1",
Expand Down
4 changes: 2 additions & 2 deletions src/i18next.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Context } from "hono";
import type { RemixI18NextOption } from "remix-i18next";
import type { RemixI18NextOption } from "remix-i18next/server";

import { createMiddleware } from "hono/factory";
import { Namespace, TFunction } from "i18next";
import { RemixI18Next } from "remix-i18next";
import { RemixI18Next } from "remix-i18next/server";

const i18nSymbol = Symbol();
const LocaleSymbol = Symbol();
Expand Down

0 comments on commit 1e24d30

Please sign in to comment.