@kezh/my-custom-js-converter 0.0.31 → 0.0.32

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.
@@ -11,7 +11,6 @@ export declare namespace Config {
11
11
  }
12
12
  interface SubConfig {
13
13
  mod: Array<Mod>;
14
- version: string;
15
14
  }
16
15
  interface EncodeConfig {
17
16
  file: string;
package/core/decode.js CHANGED
@@ -105,7 +105,6 @@ function loadCustomConfig(inPath, workDir = WORK_DIR, config = CUSTOM_CONFIG) {
105
105
  const configPath = path_1.default.join(inPath, workDir, config);
106
106
  let configObj = {
107
107
  mod: [],
108
- version: ""
109
108
  };
110
109
  try {
111
110
  fs_1.default.accessSync(configPath, fs_1.default.constants.F_OK);
package/core/encode.js CHANGED
@@ -351,8 +351,7 @@ function modifyModMethods(mod, methodNames, modAst) {
351
351
  function refreshCustomConfig(modPathByName, inPath, workDir = WORK_DIR, custConfig = CUSTOM_CONFIG) {
352
352
  const configPath = path_1.default.join(inPath, workDir, custConfig);
353
353
  let configObj = {
354
- mod: [],
355
- version: ""
354
+ mod: []
356
355
  };
357
356
  try {
358
357
  mkWorkDir(inPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kezh/my-custom-js-converter",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "description": "自定义代码转换器",
5
5
  "main": "index.js",
6
6
  "bin": {