vue3-gettext
Advanced tools
Comparing version 2.3.4 to 2.4.0
@@ -94,5 +94,3 @@ #!/usr/bin/env node | ||
var moduleName = "gettext"; | ||
var explorer = cosmiconfig.cosmiconfigSync(moduleName, { | ||
searchPlaces: ["".concat(moduleName, ".config.js"), "".concat(moduleName, ".config.json")], | ||
}); | ||
var explorer = cosmiconfig.cosmiconfigSync(moduleName); | ||
var configRes; | ||
@@ -99,0 +97,0 @@ if (cliArgs === null || cliArgs === void 0 ? void 0 : cliArgs.config) { |
@@ -18,3 +18,2 @@ #!/usr/bin/env node | ||
var treeAdapter = require('parse5-htmlparser2-tree-adapter'); | ||
var typescript = require('typescript'); | ||
var child_process = require('child_process'); | ||
@@ -34,5 +33,3 @@ | ||
var moduleName = "gettext"; | ||
var explorer = cosmiconfig.cosmiconfigSync(moduleName, { | ||
searchPlaces: ["".concat(moduleName, ".config.js"), "".concat(moduleName, ".config.json")], | ||
}); | ||
var explorer = cosmiconfig.cosmiconfigSync(moduleName); | ||
var configRes; | ||
@@ -123,3 +120,3 @@ if (cliArgs === null || cliArgs === void 0 ? void 0 : cliArgs.config) { | ||
jsParser.parseString(source, fileName, { | ||
scriptKind: typescript.ScriptKind.Deferred, | ||
scriptKind: 1, | ||
lineNumberStart: (element.sourceCodeLocation && element.sourceCodeLocation.startLine) || 0, | ||
@@ -126,0 +123,0 @@ }); |
{ | ||
"name": "vue3-gettext", | ||
"version": "2.3.4", | ||
"version": "2.4.0", | ||
"description": "Translate Vue 3 applications with gettext", | ||
@@ -5,0 +5,0 @@ "homepage": "https://jshmrtn.github.io/vue3-gettext/", |
@@ -0,0 +0,0 @@ <p align="center"> |
Sorry, the diff of this file is not supported yet
98197
2056