New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

remix-i18next

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-i18next - npm Package Compare versions

Comparing version 6.4.1 to 7.0.0

6

build/client.d.ts

@@ -0,1 +1,7 @@

import type { UNSAFE_RouteModules } from "react-router";
declare global {
interface Window {
__reactRouterRouteModules: UNSAFE_RouteModules;
}
}
/**

@@ -2,0 +8,0 @@ * Get the list of namespaces used by the application server-side so you could

2

build/client.js

@@ -11,3 +11,3 @@ /**

export function getInitialNamespaces() {
let namespaces = Object.values(window.__remixRouteModules).flatMap((route) => {
let namespaces = Object.values(window.__reactRouterRouteModules).flatMap((route) => {
if (typeof route?.handle !== "object")

@@ -14,0 +14,0 @@ return [];

@@ -1,4 +0,4 @@

import { useMatches } from "@remix-run/react";
import * as React from "react";
import { useTranslation } from "react-i18next";
import { useMatches } from "react-router";
/**

@@ -5,0 +5,0 @@ * Get the locale returned by the root route loader under the `locale` key.

@@ -1,3 +0,3 @@

import type { Cookie, EntryContext, SessionStorage } from "@remix-run/server-runtime";
import { type BackendModule, type DefaultNamespace, type FlatNamespace, type InitOptions, type KeyPrefix, type Module, type Namespace, type NewableModule, type TFunction } from "i18next";
import type { Cookie, EntryContext, SessionStorage } from "react-router";
type FallbackNs<Ns> = Ns extends undefined ? DefaultNamespace : Ns extends Namespace ? Ns : DefaultNamespace;

@@ -4,0 +4,0 @@ export interface LanguageDetectorOption {

{
"name": "remix-i18next",
"version": "6.4.1",
"version": "7.0.0",
"author": {

@@ -14,10 +14,4 @@ "name": "Sergio Xalambrí",

"devDependencies": {
"@arethetypeswrong/cli": "^0.16.1",
"@arethetypeswrong/cli": "^0.17.0",
"@biomejs/biome": "^1.9.2",
"@remix-run/cloudflare": "^2.0.0",
"@remix-run/deno": "^2.0.0",
"@remix-run/dev": "^2.12.1",
"@remix-run/node": "^2.0.0",
"@remix-run/react": "^2.0.0",
"@remix-run/server-runtime": "^2.12.1",
"@total-typescript/tsconfig": "^1.0.4",

@@ -31,2 +25,3 @@ "@types/accept-language-parser": "^1.5.6",

"react-i18next": "^13.0.0 || ^14.0.0 || ^15.0.0",
"react-router": "^7.0.0",
"typedoc": "^0.26.7",

@@ -37,6 +32,3 @@ "typedoc-plugin-mdn-links": "^3.3.0",

"peerDependencies": {
"@remix-run/cloudflare": "^2.0.0",
"@remix-run/deno": "^2.0.0",
"@remix-run/node": "^2.0.0",
"@remix-run/react": "^2.0.0",
"react-router": "^7.0.0",
"i18next": "^23.1.0",

@@ -55,3 +47,3 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0",

},
"description": "The easiest way to translate your Remix apps",
"description": "The easiest way to translate your FullStack React Router apps",
"engines": {

@@ -70,13 +62,2 @@ "node": ">=20.0.0"

"license": "MIT",
"peerDependenciesMeta": {
"@remix-run/cloudflare": {
"optional": true
},
"@remix-run/deno": {
"optional": true
},
"@remix-run/node": {
"optional": true
}
},
"scripts": {

@@ -83,0 +64,0 @@ "build": "tsc",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc