Socket
Socket
Sign inDemoInstall

lingui-react

Package Overview
Dependencies
4
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.0 to 0.12.1

3

lib/format.js

@@ -13,2 +13,3 @@ 'use strict';

var tagRe = /<(\d+)>(.*)<\/\1>|<(\d+)\/>/;
var nlRe = /(?:\r\n|\r|\n)/g;

@@ -19,3 +20,3 @@ function formatElements(value) {

var parts = value.split(tagRe);
var parts = value.replace(nlRe, '').split(tagRe);

@@ -22,0 +23,0 @@ if (parts.length === 1) return value;

{
"name": "lingui-react",
"version": "0.12.0",
"version": "0.12.1",
"description": "React components for translations",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc