scancscode 1.0.50 → 1.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CmdExecutor = void 0;
7
- const CsvAutoTranslator_1 = require("./CsvAutoTranslator");
8
7
  const CSVUtils_1 = require("./CSVUtils");
9
8
  const LiteralCollector_1 = require("./LiteralCollector");
10
9
  const command_line_args_1 = __importDefault(require("command-line-args"));
@@ -149,7 +148,7 @@ class CmdExecutor {
149
148
  console.error(`appId missing:`, argv);
150
149
  return;
151
150
  }
152
- await CsvAutoTranslator_1.CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
151
+ // await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
153
152
  console.log("translate csv with cmd options done.");
154
153
  }
155
154
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scancscode",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -21,7 +21,7 @@
21
21
  "command-line-args": "^6.0.1",
22
22
  "fast-csv": "^5.0.5",
23
23
  "glob": "^13.0.0",
24
- "scancscode": "^1.0.48"
24
+ "scancscode": "^1.0.50"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/command-line-args": "^5.2.3",
@@ -149,8 +149,8 @@ export class CmdExecutor {
149
149
  if (appId == null) {
150
150
  console.error(`appId missing:`, argv);
151
151
  return;
152
- }
153
- await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
152
+ }
153
+ // await CsvAutoTranslator.translateCsvWithLangs(appId, apiKey, incsv, outcsv, fromLang, toLangs);
154
154
  console.log("translate csv with cmd options done.");
155
155
  }
156
156
  }