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

@lingui/babel-plugin-extract-messages

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lingui/babel-plugin-extract-messages - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

8

index.js

@@ -107,3 +107,9 @@ "use strict";

var key = item.name.name;
if (key === "id" || key === "defaults") acc[key] = item.value.value;
if (key === "id" || key === "defaults") {
if (item.value.value) {
acc[key] = item.value.value;
} else if (item.value.expression && t.isStringLiteral(item.value.expression)) {
acc[key] = item.value.expression.value;
}
}
return acc;

@@ -110,0 +116,0 @@ }, {});

8

package.json
{
"name": "@lingui/babel-plugin-extract-messages",
"version": "2.1.1",
"version": "2.1.2",
"description": "Extract messages for translation",

@@ -31,9 +31,9 @@ "main": "index.js",

"dependencies": {
"@lingui/conf": "2.1.1",
"@lingui/conf": "2.1.2",
"babel-generator": "^6.26.1"
},
"devDependencies": {
"@lingui/babel-plugin-transform-js": "2.1.1",
"@lingui/babel-plugin-transform-react": "2.1.1"
"@lingui/babel-plugin-transform-js": "2.1.2",
"@lingui/babel-plugin-transform-react": "2.1.2"
}
}
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