scancscode 1.0.29 → 1.0.31

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.
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ describe('TestCmdExecutor', () => {
4
+ test("test convert", async () => {
5
+ // await CmdExecutor.testConvert();
6
+ expect(true).toBe(true);
7
+ }, 50000);
8
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scancscode",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -1,271 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CSCodeScanner = void 0;
4
- /**
5
- * 扫描C#代码, 扫描出其中所有形如 uictrl.text = 其他内容; 的代码片段, 其他内容可以是: $"<font color={colorStr}>{itemConfig.Name}</ font>"; 等等, 其他内容中形如 {变量} 的部分需要提取出来, 转换成 string.Format("<font color={0}>{1}</ font>", colorStr, itemConfig.Name); 的格式
6
- */
7
- class CSCodeScanner {
8
- // 正则表达式匹配 uictrl.text = $"..."; 的模式
9
- static assignmentPattern = /(^\s*[\.a-zA-Z0-9_\u4e00-\u9fff]+\s*\+?=(?![=>])\s*|return\s+)([^;]+)\s*;/mg;
10
- // 正则表达式匹配 匹配每个字符串
11
- static stringPattern = /\$?"([^"]*)"/mg;
12
- // 正则表达式匹配 匹配获取成员值的表达式
13
- static getMemberValuePattern(trMethodName) {
14
- return new RegExp(`^(\\s*)([\\w\\.\\u4e00-\\u9fff\\[\\]]+)(\\.${trMethodName}\\(\\))?(\\s*)$`, "m");
15
- }
16
- static memberSplit = /^[\s\+;]/;
17
- // 正则表达式匹配插值表达式 {...}
18
- static interpolationPattern = /\{([^}]+?)(\:[a-zA-Z\d-\.\#(?:\\\\:)\u4e00-\u9fff]+)?\}/mg;
19
- static stringFormatPattern = /(?<![a-zA-Z_\u4e00-\u9fff])([sS]tring\.Format)(?=\(.*?\))/mg;
20
- static interpolationHeadPattern = /^[\$\@]*(.+)$/m;
21
- static isNativeString2(s) {
22
- return s == '""';
23
- }
24
- static isNativeString(s) {
25
- let m = s.match(this.interpolationHeadPattern);
26
- if (m != null) {
27
- let stringContent = m[1];
28
- return this.isNativeString2(stringContent);
29
- }
30
- return this.isNativeString2(s);
31
- }
32
- static getLineIndexFromIndex(content, index) {
33
- let lineIndex = 0;
34
- // 从第0个字符开始遍历到index位置, 计算换行符数量
35
- for (let i = 0; i < index && i < content.length; i++) {
36
- if (content[i] === '\n') {
37
- lineIndex++;
38
- }
39
- }
40
- let lineColumn = content.lastIndexOf('\n', index);
41
- return [lineIndex + 1, index - lineColumn];
42
- }
43
- static scanFile(filePath, content, trmethod) {
44
- let trmethodParts = trmethod.split(".");
45
- let trclassname = "Tr";
46
- let trmethodname = "TR";
47
- if (trmethodParts.length == 2) {
48
- trclassname = trmethodParts[0];
49
- trmethodname = trmethodParts[1];
50
- }
51
- const snippets = [];
52
- const assignMatches = [...content.matchAll(CSCodeScanner.assignmentPattern)];
53
- for (let j = 0; j < assignMatches.length; j++) {
54
- const assignMatch = assignMatches[j];
55
- // let assignLine = assignMatch[0];
56
- // let assignHead = assignMatch[1];
57
- // let bodyLine = assignMatch[2];
58
- let [assignLine, assignHead, bodyLine] = assignMatch;
59
- let convertedAssignLine;
60
- /**
61
- * 需要翻译的文本
62
- */
63
- let literals = [];
64
- let unexpects = [];
65
- const stringMatchs = [...bodyLine.matchAll(CSCodeScanner.stringPattern)];
66
- if (stringMatchs.length > 0) {
67
- // 通过是否单行字符串并以 ".TR(); 结尾和判断是否内插字符串来判断是否需要在结尾附加 .TR()
68
- let isSingleString = false;
69
- if (stringMatchs.length == 1 && stringMatchs[0][0] == bodyLine) {
70
- let stringMatchFirst = stringMatchs[0];
71
- let stringLine = stringMatchFirst[0];
72
- if (stringLine.startsWith("$") || stringLine.startsWith("@$")) {
73
- let stringContent = stringMatchFirst[1];
74
- const variableMatches0 = [...stringContent.matchAll(CSCodeScanner.interpolationPattern)];
75
- isSingleString = variableMatches0.length == 0;
76
- }
77
- else {
78
- isSingleString = true;
79
- }
80
- }
81
- if (isSingleString) {
82
- let stringMatchFirst = stringMatchs[0];
83
- let stringLineIndex = stringMatchFirst.index;
84
- let prefix = bodyLine.substring(0, stringLineIndex);
85
- let stringLineFirst = stringMatchFirst[0];
86
- if (this.isNativeString(stringLineFirst)) {
87
- convertedAssignLine = assignHead + prefix + stringMatchFirst[0] + ";";
88
- }
89
- else {
90
- convertedAssignLine = assignHead + prefix + stringMatchFirst[0] + `.${trmethodname}();`;
91
- }
92
- }
93
- else {
94
- let stringLines = [];
95
- stringLines.push(assignHead);
96
- let lastIndex = 0;
97
- for (let i = 0; i < stringMatchs.length; i++) {
98
- let stringMatch = stringMatchs[i];
99
- let stringLine = stringMatch[0];
100
- let stringContent = stringMatch[1];
101
- let stringLineIndex = stringMatch.index;
102
- let stringStartIndexInContent = assignMatch.index + assignHead.length + stringMatch.index;
103
- /**
104
- * 转换后的字符串
105
- */
106
- let convertedString;
107
- if (stringLine.startsWith("$") || stringLine.startsWith("@$")) {
108
- // 开始转换插值
109
- // 提取插值表达式中的变量
110
- const variableMatches0 = [...stringContent.matchAll(CSCodeScanner.interpolationPattern)];
111
- if (variableMatches0.length > 0) {
112
- let variableMatches = [];
113
- let map = new Map();
114
- for (const variableMatche of variableMatches0) {
115
- if (!map.has(variableMatche[1])) {
116
- map.set(variableMatche[1], variableMatche);
117
- variableMatches.push(variableMatche);
118
- }
119
- }
120
- // 构建格式化字符串
121
- let formatString = stringContent;
122
- variableMatches.forEach((variableMatche, index) => {
123
- let varName = variableMatche[1];
124
- let suffix = variableMatche[2] ?? "";
125
- let replaced = formatString.replaceAll(`{${varName}${suffix}}`, `{${index}${suffix}}`);
126
- if (replaced == formatString) {
127
- let [lineNum, colNum] = CSCodeScanner.getLineIndexFromIndex(content, stringStartIndexInContent);
128
- let tip = `可能无法处理的复杂情形1(${filePath}:${lineNum}:${colNum}): ${stringContent}`;
129
- console.error(tip);
130
- unexpects.push(tip);
131
- }
132
- else {
133
- formatString = replaced;
134
- }
135
- });
136
- // 构建string.Format调用
137
- let formatCall = `string.Format("${formatString}"`;
138
- for (const variableMatche of variableMatches) {
139
- let varName = variableMatche[1];
140
- formatCall += `, ${varName}`;
141
- }
142
- formatCall += ")";
143
- convertedString = formatCall;
144
- literals.push(formatString);
145
- }
146
- else {
147
- // throw new Error("暂不支持插值字符串转换为 string.Format, 请手动处理");
148
- let isValidFormat = true;
149
- if (stringContent.indexOf("{") != -1 || stringContent.indexOf("}") != -1) {
150
- if (bodyLine.indexOf("{") != -1 && bodyLine.indexOf("}") != -1) {
151
- let [lineNum, colNum] = CSCodeScanner.getLineIndexFromIndex(content, stringStartIndexInContent);
152
- let tip = `可能无法处理的复杂情形2(${filePath}:${lineNum}:${colNum}): ${stringContent}`;
153
- console.error(tip);
154
- unexpects.push(tip);
155
- isValidFormat = false;
156
- }
157
- }
158
- let formattedStringLine = stringLine;
159
- if (isValidFormat) {
160
- // let stringStartIndex = stringMatch.index
161
- // let stringEndIndex = stringStartIndex + stringLine.length
162
- // let prefix = bodyLine.substring(stringStartIndex - 2, stringStartIndex)
163
- // let suffix = bodyLine.substring(stringEndIndex, stringEndIndex + ".TR()".length)
164
- // if ((stringStartIndex == 0 || prefix == "+ ") && suffix != ".TR()") {
165
- // formattedStringLine = formattedStringLine + ".TR()"
166
- // }
167
- formattedStringLine = this.replaceStringsTR(stringMatch, stringLine, bodyLine, trmethodname);
168
- literals.push(stringContent);
169
- }
170
- convertedString = formattedStringLine;
171
- }
172
- }
173
- else {
174
- literals.push(stringContent);
175
- convertedString = this.replaceStringsTR(stringMatch, stringLine, bodyLine, trmethodname);
176
- }
177
- // 串联字符串列表
178
- let prefix = bodyLine.substring(lastIndex, stringLineIndex);
179
- lastIndex = stringLineIndex + stringLine.length;
180
- stringLines.push(prefix);
181
- stringLines.push(convertedString);
182
- }
183
- let matchEnd = stringMatchs[stringMatchs.length - 1];
184
- let endIndex = matchEnd.index + matchEnd[0].length;
185
- stringLines.push(bodyLine.substring(endIndex));
186
- stringLines.push(";");
187
- convertedAssignLine = stringLines.join("");
188
- }
189
- }
190
- else {
191
- let convertBodyLine = CSCodeScanner.handleMembersConvert(bodyLine, assignHead, trmethodname);
192
- if (convertBodyLine != null) {
193
- convertedAssignLine = (assignHead ?? "") + convertBodyLine;
194
- }
195
- else {
196
- convertedAssignLine = assignLine;
197
- }
198
- }
199
- let convertedAssignLine2 = convertedAssignLine.replaceAll(this.stringFormatPattern, `${trclassname}.Format`);
200
- snippets.push({
201
- originalIndex: assignMatch.index,
202
- originalCode: assignLine,
203
- convertedCode: convertedAssignLine2,
204
- literals,
205
- unexpects,
206
- });
207
- }
208
- return snippets;
209
- }
210
- static handleMembersConvert(bodyLine, assignHead, trmethodname) {
211
- let convertedAssignLine;
212
- let memberLines = bodyLine.split("+");
213
- if (assignHead != 'return ' && memberLines.length > 0) {
214
- for (let i = 0; i < memberLines.length; i++) {
215
- let memberLine = memberLines[i];
216
- let regex = this.getMemberValuePattern(trmethodname);
217
- let match = memberLine.match(regex);
218
- if (match != null) {
219
- let value = match[2];
220
- if (value != 'null' && value != 'true' && value != 'false' && !this.isNumericString(value)) {
221
- memberLines[i] = match[1] + match[2] + `.${trmethodname}()` + match[4];
222
- }
223
- }
224
- }
225
- convertedAssignLine = memberLines.join("+") + ";";
226
- }
227
- else {
228
- convertedAssignLine = null;
229
- }
230
- return convertedAssignLine;
231
- }
232
- static isNumericString(str) {
233
- if (typeof str !== 'string')
234
- return false;
235
- const num = Number(str);
236
- return Number.isFinite(num) && String(num) === str.trim(); // 防止 ' 123 ' → 误判(可选严格匹配)
237
- }
238
- static replaceStringsTR(stringMatch, stringLine, bodyLine, trmethodname) {
239
- if (this.isNativeString(stringLine)) {
240
- return stringLine;
241
- }
242
- let trmethodcall = `.${trmethodname}()`;
243
- let formattedStringLine = stringLine;
244
- let stringStartIndex = stringMatch.index;
245
- let stringEndIndex = stringStartIndex + stringLine.length;
246
- let prefix = bodyLine.substring(stringStartIndex - 2, stringStartIndex);
247
- let suffix = bodyLine.substring(stringEndIndex, stringEndIndex + trmethodcall.length);
248
- if ((stringStartIndex == 0 || prefix == "+ " || prefix == ": ") && suffix != trmethodcall) {
249
- formattedStringLine = formattedStringLine + trmethodcall;
250
- }
251
- return formattedStringLine;
252
- }
253
- static replaceInFile(content, snippets) {
254
- let parts = [];
255
- if (snippets.length > 0) {
256
- let lastIndex = 0;
257
- for (const snippet of snippets) {
258
- let part = content.substring(lastIndex, snippet.originalIndex);
259
- lastIndex = snippet.originalIndex + snippet.originalCode.length;
260
- parts.push(part);
261
- parts.push(snippet.convertedCode);
262
- }
263
- let endSnippet = snippets[snippets.length - 1];
264
- let partEnd = content.substring(endSnippet.originalIndex + endSnippet.originalCode.length);
265
- parts.push(partEnd);
266
- }
267
- let convertedContent = parts.join("");
268
- return convertedContent;
269
- }
270
- }
271
- exports.CSCodeScanner = CSCodeScanner;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,124 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.LiteralCollector = void 0;
37
- const fs = __importStar(require("fs"));
38
- const glob_1 = require("glob");
39
- const CSCodeScanner_1 = require("./CSCodeScanner");
40
- const CSVUtils_1 = require("./CSVUtils");
41
- const TableScanner_1 = require("./TableScanner");
42
- class LiteralCollector {
43
- scanCodeInFolder(folder, literals, unexpects, trmethod, scanonly, verbose) {
44
- if (fs.existsSync(folder) == false) {
45
- console.warn(`代码目录不存在: ${folder}`);
46
- return;
47
- }
48
- let files = glob_1.glob.sync("**/*.cs", { cwd: folder });
49
- // let testFullPath = "@";
50
- let testFullPath = "E:/DATA/Projects/ZhiYou/ProjectFClient/GameClient/Assets/Bundles/FGUI/SutraUI_Detail/MainSutraDetailDialog.cs";
51
- for (const filePath of files) {
52
- let fullPath = folder + filePath;
53
- if (testFullPath != "@") {
54
- fullPath = testFullPath;
55
- }
56
- if (verbose) {
57
- console.log(`处理文件: ${filePath}`);
58
- }
59
- const content = fs.readFileSync(fullPath, "utf-8");
60
- const snippets = CSCodeScanner_1.CSCodeScanner.scanFile(fullPath, content, trmethod);
61
- if (snippets.length > 0) {
62
- if (!scanonly) {
63
- let convertedContent = CSCodeScanner_1.CSCodeScanner.replaceInFile(content, snippets);
64
- if (convertedContent != content) {
65
- fs.writeFileSync(fullPath, convertedContent, "utf-8");
66
- }
67
- }
68
- for (const snippet of snippets) {
69
- literals.push(...snippet.literals);
70
- unexpects.push(...snippet.unexpects);
71
- }
72
- }
73
- if (fullPath == testFullPath) {
74
- break;
75
- }
76
- }
77
- unexpects = [...new Set(unexpects)];
78
- }
79
- scanTablesInFolder(folder, literals, verbose) {
80
- if (fs.existsSync(folder) == false) {
81
- console.warn(`表格目录不存在: ${folder}`);
82
- return;
83
- }
84
- let scanner = new TableScanner_1.TableScanner();
85
- scanner.scanTablesLiterals(folder + "Main/", literals, verbose);
86
- }
87
- /**
88
- * 去重
89
- * @param literals
90
- */
91
- filterLiterals(literals) {
92
- let literalsSet = new Set(literals);
93
- literalsSet.delete("");
94
- for (let literal of literals) {
95
- let match = literal.match(/^[\da-zA-Z!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]+$/m);
96
- if (match != null) {
97
- literalsSet.delete(literal);
98
- }
99
- }
100
- literals.length = 0;
101
- literals.push(...literalsSet);
102
- }
103
- async convert(cscodeFolders, gameConfigFolders, outCsvFile, langs, trmethod = "Tr.TR", scanonly = false, verbose = false) {
104
- let literals = [];
105
- let unexpects = [];
106
- for (const cscodeFolder of cscodeFolders) {
107
- this.scanCodeInFolder(cscodeFolder, literals, unexpects, trmethod, scanonly, verbose);
108
- }
109
- for (const gameConfigFolder of gameConfigFolders) {
110
- this.scanTablesInFolder(gameConfigFolder, literals, verbose);
111
- }
112
- this.filterLiterals(literals);
113
- if (verbose) {
114
- console.log("扫描合并结果:", literals);
115
- }
116
- if (!scanonly) {
117
- await CSVUtils_1.CSVUtils.updateToFile(outCsvFile, literals, langs);
118
- }
119
- for (const unexpect of unexpects) {
120
- console.error(unexpect);
121
- }
122
- }
123
- }
124
- exports.LiteralCollector = LiteralCollector;
@@ -1,107 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.TableScanner = void 0;
37
- const fs = __importStar(require("fs"));
38
- const glob_1 = require("glob");
39
- class TableScanner {
40
- parseTrStrFields(content) {
41
- let m = content.match(/\/\/ NeedTranslateFields\: \[([a-zA-Z_,\s0-9]*)\]$/m);
42
- if (m != null) {
43
- let wordsContent = m[1];
44
- let words = wordsContent.split(", ");
45
- return words;
46
- }
47
- else {
48
- return [];
49
- }
50
- }
51
- scanJsonWords(jsonContent, fields, literals) {
52
- let arr = JSON.parse(jsonContent);
53
- for (const jsonRow of arr) {
54
- for (const key of fields) {
55
- let value = jsonRow[key];
56
- if (typeof (value) == "string") {
57
- literals.push(value);
58
- }
59
- else if (Array.isArray(value)) {
60
- literals.push(...value);
61
- }
62
- }
63
- }
64
- }
65
- scanTableLiterals(csFullPath, literals, verbose) {
66
- // csFullPath = "E:/DATA/Projects/ZhiYou/ProjectFClient/GameClient/Assets/Bundles/GameConfigs/Main/RefinerTable-RefinerEventTable.cs";
67
- let jsonFullPath = csFullPath.replace("/Main/", "/Auto/").replace(/\.cs$/, ".json");
68
- if (fs.existsSync(jsonFullPath) && fs.existsSync(csFullPath)) {
69
- let csContent = fs.readFileSync(csFullPath, "utf-8");
70
- let trstrFields = this.parseTrStrFields(csContent);
71
- if (trstrFields.length > 0) {
72
- if (verbose) {
73
- console.log(`扫描表格: ${csFullPath} , 需要翻译字段: ${trstrFields}`);
74
- }
75
- let jsonContent = fs.readFileSync(jsonFullPath, "utf-8");
76
- this.scanJsonWords(jsonContent, trstrFields, literals);
77
- }
78
- else {
79
- if (verbose) {
80
- console.log(`跳过表格: ${csFullPath}`);
81
- }
82
- }
83
- }
84
- else {
85
- if (verbose) {
86
- if (fs.existsSync(csFullPath) == false) {
87
- console.warn(`表格 CS 文件不存在: ${jsonFullPath}`);
88
- }
89
- if (fs.existsSync(jsonFullPath) == false) {
90
- console.warn(`表格 JSON 文件不存在: ${csFullPath}`);
91
- }
92
- }
93
- }
94
- }
95
- /**
96
- * 扫描
97
- */
98
- scanTablesLiterals(folder, literals, verbose) {
99
- let dir = folder;
100
- let files = glob_1.glob.sync("*.cs", { cwd: dir });
101
- for (const filePath of files.reverse()) {
102
- let csFullPath = folder + filePath;
103
- this.scanTableLiterals(csFullPath, literals, verbose);
104
- }
105
- }
106
- }
107
- exports.TableScanner = TableScanner;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const node_test_1 = __importDefault(require("node:test"));
7
- const CmdExecutor_1 = require("./CmdExecutor");
8
- (0, node_test_1.default)("test convert", () => {
9
- CmdExecutor_1.CmdExecutor.testConvert();
10
- });
@@ -1,10 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const node_test_1 = __importDefault(require("node:test"));
7
- const CmdExecutor_1 = require("./CmdExecutor");
8
- (0, node_test_1.default)("test slim csv", () => {
9
- CmdExecutor_1.CmdExecutor.testSlimCsv();
10
- });
package/dist/index.js DELETED
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const CmdExecutor_1 = require("./CmdExecutor");
4
- CmdExecutor_1.CmdExecutor.testConvert();
File without changes
File without changes