@lingui/macro
Advanced tools
Comparing version 3.8.7 to 3.8.8
@@ -212,3 +212,4 @@ "use strict"; | ||
// Don't output tokens without text. | ||
var value = text.value.raw; | ||
// if it's an unicode we keep the cooked value because it's the parsed value by babel (without unicode chars) | ||
var value = /\\u[a-fA-F0-9]{4}/g.test(text.value.raw) ? text.value.cooked : text.value.raw; | ||
if (value === "") return null; | ||
@@ -215,0 +216,0 @@ return { |
@@ -197,3 +197,3 @@ "use strict"; | ||
// Don"t output tokens without text. | ||
var value = text.value.raw; | ||
var value = /\\u[a-fA-F0-9]{4}/g.test(text.value.raw) ? text.value.cooked : text.value.raw; | ||
if (value === "") return null; | ||
@@ -200,0 +200,0 @@ return _this.tokenizeText(_this.clearBackslashes(value)); |
{ | ||
"name": "@lingui/macro", | ||
"version": "3.8.7", | ||
"version": "3.8.8", | ||
"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.7", | ||
"@lingui/conf": "^3.8.8", | ||
"ramda": "^0.27.1" | ||
@@ -36,0 +36,0 @@ }, |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
46927
967
5
Updated@lingui/conf@^3.8.8