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

@skroutz/i18n-webpack-plugin

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skroutz/i18n-webpack-plugin - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

12

lib/index.js

@@ -35,12 +35,12 @@ const ConstDependency = require('webpack/lib/dependencies/ConstDependency');

.tap('I18nPlugin', function(parser, options) {
parser.plugin('call __', function(expr) {
return _this.translate(this, expr);
parser.hooks.call.for('__').tap('I18nPlugin', function(expr) {
return _this.translate(parser, expr);
});
parser.plugin('call s__', function(expr) {
return _this.translate(this, expr);
parser.hooks.call.for('s__').tap('I18nPlugin', function(expr) {
return _this.translate(parser, expr);
});
parser.plugin('call n__', function(expr) {
return _this.translate(this, expr);
parser.hooks.call.for('n__').tap('I18nPlugin', function(expr) {
return _this.translate(parser, expr);
});

@@ -47,0 +47,0 @@ });

{
"name": "@skroutz/i18n-webpack-plugin",
"version": "1.0.0",
"version": "1.0.1",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "contributors": [

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