Socket
Socket
Sign inDemoInstall

lingui-react

Package Overview
Dependencies
Maintainers
1
Versions
50
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 1.0.0-4 to 1.0.0-5

6

package.json
{
"name": "lingui-react",
"version": "1.0.0-4",
"version": "1.0.0-5",
"description": "React components for translations",

@@ -37,4 +37,4 @@ "main": "index.js",

"babel-runtime": "^6.23.0",
"lingui-formats": "^1.0.0-4",
"lingui-i18n": "^1.0.0-4",
"lingui-formats": "^1.0.0-5",
"lingui-i18n": "^1.0.0-5",
"prop-types": "^15.5.10"

@@ -41,0 +41,0 @@ },

@@ -37,3 +37,3 @@ // @flow

mount(<I18nProvider language="xyz" messages={{}}><div/></I18nProvider>)
expect(console.warn).toBeCalledWith(expect.stringContaining('Unknown local'))
expect(console.warn).toBeCalledWith('Message catalog for locale "xyz" not loaded.')
})

@@ -40,0 +40,0 @@ })

@@ -25,3 +25,3 @@ /* @flow */

},
development: linguiDev,
development: linguiDev
})

@@ -74,2 +74,5 @@

.toEqual('Not translated yet')
expect(text(<Trans id="unknown" defaults="Not translated yet, {name}" values={{ name: 'Dave' }}/>))
.toEqual('Not translated yet, Dave')
})

@@ -76,0 +79,0 @@

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