@lingui/react
Advanced tools
Comparing version 4.10.0 to 4.10.1
@@ -1,4 +0,3 @@ | ||
import { T as TransProps } from './shared/react.a673be03.js'; | ||
export { b as TransRenderCallbackOrComponent, a as TransRenderProps } from './shared/react.a673be03.js'; | ||
import { b as I18nContext } from './shared/react.80f80298.js'; | ||
import { T as TransProps, b as I18nContext } from './shared/react.e5f95de8.js'; | ||
export { d as TransRenderCallbackOrComponent, c as TransRenderProps } from './shared/react.e5f95de8.js'; | ||
import React from 'react'; | ||
@@ -5,0 +4,0 @@ import '@lingui/core'; |
@@ -1,5 +0,4 @@ | ||
export { b as I18nContext, I as I18nProvider, a as I18nProviderProps, L as LinguiContext, u as useLingui } from './shared/react.80f80298.js'; | ||
import { T as TransProps } from './shared/react.e5f95de8.js'; | ||
export { b as I18nContext, I as I18nProvider, a as I18nProviderProps, L as LinguiContext, d as TransRenderCallbackOrComponent, c as TransRenderProps, u as useLingui } from './shared/react.e5f95de8.js'; | ||
import React from 'react'; | ||
import { T as TransProps } from './shared/react.a673be03.js'; | ||
export { b as TransRenderCallbackOrComponent, a as TransRenderProps } from './shared/react.a673be03.js'; | ||
import '@lingui/core'; | ||
@@ -6,0 +5,0 @@ |
@@ -1,2 +0,3 @@ | ||
export { c as TransNoContext, T as TransProps, b as TransRenderCallbackOrComponent, a as TransRenderProps } from './shared/react.a673be03.js'; | ||
import { b as I18nContext } from './shared/react.e5f95de8.js'; | ||
export { e as TransNoContext, T as TransProps, d as TransRenderCallbackOrComponent, c as TransRenderProps } from './shared/react.e5f95de8.js'; | ||
import { I18n } from '@lingui/core'; | ||
@@ -8,4 +9,4 @@ import 'react'; | ||
* | ||
* The RSC uses a static analysis to find any non-valid function calls in the import graph. | ||
* That means this entry point and it's children should not have any Provider/Context calls. | ||
* RSC uses static analysis to find any non-valid function calls in the import graph. | ||
* That means this entry point and its children must not have any Provider/Context calls. | ||
*/ | ||
@@ -29,3 +30,3 @@ | ||
*/ | ||
declare function setI18n(i18n: I18n): void; | ||
declare function setI18n(i18n: I18n, defaultComponent?: I18nContext["defaultComponent"]): void; | ||
/** | ||
@@ -44,4 +45,4 @@ * Get Lingui's i18n instance saved for RSC | ||
*/ | ||
declare function getI18n(): I18n | null; | ||
declare function getI18n(): I18nContext | null; | ||
export { getI18n, setI18n }; |
{ | ||
"name": "@lingui/react", | ||
"version": "4.10.0", | ||
"version": "4.10.1", | ||
"sideEffects": false, | ||
@@ -78,3 +78,3 @@ "description": "React components for translations", | ||
"@babel/runtime": "^7.20.13", | ||
"@lingui/core": "4.10.0" | ||
"@lingui/core": "4.10.1" | ||
}, | ||
@@ -91,3 +91,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "5088feb92de2a669659e85067c2849331122e830" | ||
"gitHead": "fbea0ab14b43a5ef7d31931cb76c263fd78f0481" | ||
} |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
671
0
35025
24
+ Added@lingui/core@4.10.1(transitive)
+ Added@lingui/message-utils@4.10.1(transitive)
- Removed@lingui/core@4.10.0(transitive)
- Removed@lingui/message-utils@4.10.0(transitive)
Updated@lingui/core@4.10.1