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

react-native-l20n

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-l20n - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

index.js

@@ -75,2 +75,3 @@ // L20n depends upon the ECMAScript Internationalization API,

// Also removes explicit newlines from piped, multi-line translations.
// Lines with two or more trailing spaces will receive an explicit newline.
export function ftl(strings, ...values) {

@@ -80,4 +81,5 @@ return strings

.join('')
.replace(/^\s*/mg, '')
.replace(/\s*\n\|\s*/mg, ' ');
.replace(/^[ ]*/mg, '')
.replace(/[ ]{2,}$/mg, '\n|')
.replace(/[ ]*\n\|[ ]*(?!$)/mg, ' ');
};
{
"name": "react-native-l20n",
"version": "0.0.1",
"version": "0.0.2",
"description": "Mozilla's L20n localization framework for React Native",

@@ -5,0 +5,0 @@ "license": "MIT",

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