echoapi-converter 0.0.80 → 0.0.82

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -67,7 +67,7 @@ const DEFAULT_FIELD_TYPE$2 = [
67
67
  "undefined",
68
68
  "null",
69
69
  ];
70
- const OLD_FIELD_TYPES$1 = {
70
+ const OLD_FIELD_TYPES = {
71
71
  'function': { type: 'string', format: 'function-expression' },
72
72
  'nan': { type: 'string', format: 'nan' },
73
73
  'float': { type: 'number', format: 'float' },
@@ -944,7 +944,7 @@ const completionParameter = (parameter) => {
944
944
  param_id: apipostTools.snowflakeId(),
945
945
  schema: (p === null || p === void 0 ? void 0 : p.schema) || {}
946
946
  };
947
- const oldFiledObj = OLD_FIELD_TYPES$1 === null || OLD_FIELD_TYPES$1 === void 0 ? void 0 : OLD_FIELD_TYPES$1[lodash.toLower(param.field_type)];
947
+ const oldFiledObj = OLD_FIELD_TYPES === null || OLD_FIELD_TYPES === void 0 ? void 0 : OLD_FIELD_TYPES[lodash.toLower(param.field_type)];
948
948
  if (oldFiledObj) {
949
949
  param.field_type = oldFiledObj.type;
950
950
  param.schema.type = oldFiledObj.type;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoapi-converter",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
4
4
  "description": "echoapi to swagger",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "@rollup/plugin-json": "^6.1.0",
35
35
  "@types/lodash": "^4.14.202",
36
36
  "apipost-mock-schema": "^0.0.37",
37
- "apipost-tools": "0.0.40",
37
+ "apipost-tools": "0.0.41",
38
38
  "axios": "^1.6.7",
39
39
  "fs": "^0.0.1-security",
40
40
  "i18next": "^24.2.3",