Socket
Socket
Sign inDemoInstall

@lingui/macro

Package Overview
Dependencies
94
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.8.7 to 3.8.8

3

macroJs.js

@@ -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 @@ },

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