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.7.0 to 2.7.1

8

index.js

@@ -84,5 +84,5 @@ "use strict";

if (importDeclarations["Trans"]) {
localTransComponentName = importDeclarations["Trans"];
}
// Trans import might be missing if there's just Plural or similar macro.
// If there's no alias, consider it was imported as Trans.
localTransComponentName = importDeclarations["Trans"] || "Trans";
}

@@ -196,3 +196,3 @@

var comment = path.node.leadingComments && path.node.leadingComments.filter(function (node) {
return node.value.startsWith("i18n");
return node.value.match(/^\s*i18n/);
})[0];

@@ -199,0 +199,0 @@

{
"name": "@lingui/babel-plugin-extract-messages",
"version": "2.7.0",
"version": "2.7.1",
"description": "Extract messages for translation",

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

"dependencies": {
"@lingui/conf": "2.7.0",
"@lingui/conf": "2.7.1",
"babel-generator": "^6.26.1"
},
"devDependencies": {
"@lingui/babel-plugin-transform-js": "2.7.0",
"@lingui/babel-plugin-transform-react": "2.7.0"
"@lingui/babel-plugin-transform-js": "2.7.1",
"@lingui/babel-plugin-transform-react": "2.7.1"
}
}

Sorry, the diff of this file is not supported yet

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