New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webpack-extract-translation-keys-plugin

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-extract-translation-keys-plugin - npm Package Compare versions

Comparing version 6.1.0 to 6.2.0

8

index.js

@@ -117,4 +117,4 @@ /*!

key = parser.evaluateExpression(expr.arguments[0]);
if (!key.isString()) {
key = parser.evaluateExpression(expr.arguments[0]).string;
if (key === undefined) {
parser.state.module.errors.push(

@@ -129,6 +129,4 @@ new DynamicTranslationKeyError(

key = key.string;
let value = key;
let value = expr.arguments[0].value;
const entry =

@@ -135,0 +133,0 @@ reverseEntryPoints[

{
"name": "webpack-extract-translation-keys-plugin",
"version": "6.1.0",
"version": "6.2.0",
"description": "Webpack plugin to extract list of used translation keys from included modules.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -131,2 +131,10 @@ # Webpack Extract Translation Keys Plugin

### 6.2.0
Support concatenated strings as keys: `__("a" + "b" + "c")`.
### 6.1.0
Fix a deprecation warning.
### 6.0.0

@@ -133,0 +141,0 @@

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