@pitcher/easygettext
Advanced tools
Comparing version 2.10.0 to 2.10.1
{ | ||
"name": "@pitcher/easygettext", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"description": "Simple tools to extract gettext strings", | ||
@@ -5,0 +5,0 @@ "main": "src/extract-cli.js", |
@@ -13,2 +13,3 @@ exports.DEFAULT_ATTRIBUTES = [ | ||
exports.DEFAULT_VUE_GETTEXT_FUNCTIONS = { | ||
'_': ['msgid'], | ||
'$gettext': ['msgid'], | ||
@@ -15,0 +16,0 @@ '$ngettext': ['msgid', 'plural', null], |
@@ -57,2 +57,5 @@ const cheerio = require('cheerio'); | ||
switch (type) { | ||
case 'js': | ||
scriptData = data; | ||
break; | ||
case 'vue': | ||
@@ -59,0 +62,0 @@ const vueFile = vueCompiler.parse({ compiler, source: data, needMap: false }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92221
2200