echoapi-converter 0.0.57 → 0.0.58
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.
- package/dist/index.js +16 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -313,6 +313,21 @@ const RULE_TYPES_ICON = {
|
|
|
313
313
|
8: '(\\r)',
|
|
314
314
|
9: '(\\r\\n)',
|
|
315
315
|
};
|
|
316
|
+
// 分隔符豹纹
|
|
317
|
+
const RULE_TYPES = {
|
|
318
|
+
1: '(space)',
|
|
319
|
+
2: '(0)',
|
|
320
|
+
3: '(#)',
|
|
321
|
+
4: '(+)',
|
|
322
|
+
5: '(,)',
|
|
323
|
+
6: '(|)',
|
|
324
|
+
7: '(;)',
|
|
325
|
+
8: '(\\t)',
|
|
326
|
+
9: '(:)',
|
|
327
|
+
10: '(\\n)',
|
|
328
|
+
11: '(\\r)',
|
|
329
|
+
12: '(\\r\\n)',
|
|
330
|
+
};
|
|
316
331
|
|
|
317
332
|
var securityConnectionMessageNoPath$4 = "When connecting via a secure connection, {{enable}} server certificate validation, and use client version {{version}} with no specified handshake path.";
|
|
318
333
|
var notNeedEnable$4 = "do not enable";
|
|
@@ -967,7 +982,7 @@ const handleSocketMethodParameterDescription = (item, mode) => {
|
|
|
967
982
|
return `${description}\n${t('tcpMethodMessage', {
|
|
968
983
|
direction: (rules === null || rules === void 0 ? void 0 : rules.fill_type) == 'left' ? t('left') : (rules === null || rules === void 0 ? void 0 : rules.fill_type) == 'right' ? t('right') : '',
|
|
969
984
|
size: rules === null || rules === void 0 ? void 0 : rules.length,
|
|
970
|
-
str: rules === null || rules === void 0 ? void 0 : rules.custom
|
|
985
|
+
str: (rules === null || rules === void 0 ? void 0 : rules.content_type) == 'common' ? RULE_TYPES[rules === null || rules === void 0 ? void 0 : rules.common] : rules === null || rules === void 0 ? void 0 : rules.custom
|
|
971
986
|
})}`;
|
|
972
987
|
}
|
|
973
988
|
else if (mode == 'delimiter_message') {
|