Socket
Socket
Sign inDemoInstall

@lingui/macro

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lingui/macro - npm Package Compare versions

Comparing version 3.8.5 to 3.8.6

2

macroJs.js

@@ -330,3 +330,3 @@ "use strict";

// it's an unicode char so we should keep them
if (value.includes("\\u")) return value; // if not we replace the extra scaped literals
if (value.includes("\\u")) return value.replace(removeExtraScapedLiterals, "\/u"); // if not we replace the extra scaped literals

@@ -333,0 +333,0 @@ return value.replace(removeExtraScapedLiterals, "`");

@@ -35,3 +35,3 @@ "use strict";

var pluralRuleRe = /(_[\d\w]+|zero|one|two|few|many|other)/;
var removeExtraScapedLiterals = /(?:\\(.))/;
var removeExtraScapedLiterals = /(?:\\(.))/g;

@@ -339,3 +339,3 @@ var jsx2icuExactChoice = function jsx2icuExactChoice(value) {

// it's an unicode char so we should keep them
if (value.includes("\\u")) return value; // if not we replace the extra scaped literals
if (value.includes("\\u")) return value.replace(removeExtraScapedLiterals, "\/u"); // if not we replace the extra scaped literals

@@ -342,0 +342,0 @@ return value.replace(removeExtraScapedLiterals, "`");

{
"name": "@lingui/macro",
"version": "3.8.5",
"version": "3.8.6",
"description": "Macro for generating messages in ICU MessageFormat syntax",

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

"@babel/runtime": "^7.11.2",
"@lingui/conf": "^3.8.5",
"@lingui/conf": "^3.8.6",
"ramda": "^0.27.1"

@@ -36,0 +36,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