Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lingui/react

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lingui/react - npm Package Compare versions

Comparing version 3.10.0 to 3.10.1

13

esm/index.js

@@ -1,1 +0,12 @@

export * from "./react.production.min";
import {
I18nProvider as devI18nProvider, Trans as devTrans, useLingui as devuseLingui, withI18n as devwithI18n
} from "./react.development.js"
import {
I18nProvider as I18nProviderProd, Trans as TransProd, useLingui as useLinguiProd, withI18n as withI18nProd
} from "./react.production.min.js"
export const I18nProvider = process.env.NODE_ENV === "production" ? I18nProviderProd : devI18nProvider;
export const Trans = process.env.NODE_ENV === "production" ? TransProd : devTrans;
export const useLingui = process.env.NODE_ENV === "production" ? useLinguiProd : devuseLingui;
export const withI18n = process.env.NODE_ENV === "production" ? withI18nProd : devwithI18n;

4

package.json
{
"name": "@lingui/react",
"version": "3.10.0",
"version": "3.10.1",
"description": "React components for translations",

@@ -45,3 +45,3 @@ "main": "index.js",

"@babel/runtime": "^7.11.2",
"@lingui/core": "^3.10.0"
"@lingui/core": "^3.10.1"
},

@@ -48,0 +48,0 @@ "devDependencies": {

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