Socket
Socket
Sign inDemoInstall

@lingui/macro

Package Overview
Dependencies
4
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-21 to 3.0.0-23

8

macroJsx.js

@@ -217,9 +217,5 @@ "use strict";

} else if (_this.types.isJSXText(node)) {
// node.value has HTML entities converted to characters, but we need original
// HTML entities.
return _this.tokenizeText(node.extra.raw);
return _this.tokenizeText(node.value);
} else {
// Same as above, but this time node.extra.raw also includes surrounding
// quotes. We need to strip them first.
return _this.tokenizeText(node.extra.raw.replace(/(["'])(.*)\1/, "$2"));
return _this.tokenizeText(node.value);
}

@@ -226,0 +222,0 @@ });

{
"name": "@lingui/macro",
"version": "3.0.0-21",
"version": "3.0.0-23",
"description": "Macro for generating messages in ICU MessageFormat syntax",

@@ -32,3 +32,3 @@ "main": "index.ts",

"@babel/runtime": "^7.11.2",
"@lingui/conf": "3.0.0-21",
"@lingui/conf": "3.0.0-23",
"ramda": "^0.27.1"

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