@modern-js/upgrade 2.58.2 → 2.58.3
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/locale/index.d.ts +2 -2
 - package/dist/locale/index.js +1 -1
 - package/package.json +6 -6
 
    
        package/dist/locale/index.d.ts
    CHANGED
    
    | 
         @@ -6,8 +6,8 @@ declare const localeKeys: { 
     | 
|
| 
       6 
6 
     | 
    
         
             
                    distTag: string;
         
     | 
| 
       7 
7 
     | 
    
         
             
                    registry: string;
         
     | 
| 
       8 
8 
     | 
    
         
             
                    debug: string;
         
     | 
| 
       9 
     | 
    
         
            -
                    noNeedInstall: string;
         
     | 
| 
       10 
9 
     | 
    
         
             
                    cwd: string;
         
     | 
| 
      
 10 
     | 
    
         
            +
                    noNeedInstall: string;
         
     | 
| 
       11 
11 
     | 
    
         
             
                    config: string;
         
     | 
| 
       12 
12 
     | 
    
         
             
                };
         
     | 
| 
       13 
13 
     | 
    
         
             
            } | {
         
     | 
| 
         @@ -16,8 +16,8 @@ declare const localeKeys: { 
     | 
|
| 
       16 
16 
     | 
    
         
             
                    distTag: string;
         
     | 
| 
       17 
17 
     | 
    
         
             
                    registry: string;
         
     | 
| 
       18 
18 
     | 
    
         
             
                    debug: string;
         
     | 
| 
       19 
     | 
    
         
            -
                    cwd: string;
         
     | 
| 
       20 
19 
     | 
    
         
             
                    noNeedInstall: string;
         
     | 
| 
      
 20 
     | 
    
         
            +
                    cwd: string;
         
     | 
| 
       21 
21 
     | 
    
         
             
                    config: string;
         
     | 
| 
       22 
22 
     | 
    
         
             
                };
         
     | 
| 
       23 
23 
     | 
    
         
             
            };
         
     | 
    
        package/dist/locale/index.js
    CHANGED
    
    | 
         @@ -23,8 +23,8 @@ __export(locale_exports, { 
     | 
|
| 
       23 
23 
     | 
    
         
             
            });
         
     | 
| 
       24 
24 
     | 
    
         
             
            module.exports = __toCommonJS(locale_exports);
         
     | 
| 
       25 
25 
     | 
    
         
             
            var import_plugin_i18n = require("@modern-js/plugin-i18n");
         
     | 
| 
       26 
     | 
    
         
            -
            var import_zh = require("./zh");
         
     | 
| 
       27 
26 
     | 
    
         
             
            var import_en = require("./en");
         
     | 
| 
      
 27 
     | 
    
         
            +
            var import_zh = require("./zh");
         
     | 
| 
       28 
28 
     | 
    
         
             
            const i18n = new import_plugin_i18n.I18n();
         
     | 
| 
       29 
29 
     | 
    
         
             
            const localeKeys = i18n.init("en", {
         
     | 
| 
       30 
30 
     | 
    
         
             
              zh: import_zh.ZH_LOCALE,
         
     | 
    
        package/package.json
    CHANGED
    
    | 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                "modern",
         
     | 
| 
       16 
16 
     | 
    
         
             
                "modern.js"
         
     | 
| 
       17 
17 
     | 
    
         
             
              ],
         
     | 
| 
       18 
     | 
    
         
            -
              "version": "2.58. 
     | 
| 
      
 18 
     | 
    
         
            +
              "version": "2.58.3",
         
     | 
| 
       19 
19 
     | 
    
         
             
              "jsnext:source": "./src/index.ts",
         
     | 
| 
       20 
20 
     | 
    
         
             
              "types": "./dist/index.d.ts",
         
     | 
| 
       21 
21 
     | 
    
         
             
              "main": "./dist/index.js",
         
     | 
| 
         @@ -39,8 +39,8 @@ 
     | 
|
| 
       39 
39 
     | 
    
         
             
              "dependencies": {
         
     | 
| 
       40 
40 
     | 
    
         
             
                "@modern-js/codesmith": "2.4.1",
         
     | 
| 
       41 
41 
     | 
    
         
             
                "@swc/helpers": "0.5.3",
         
     | 
| 
       42 
     | 
    
         
            -
                "@modern-js/plugin-i18n": "2.58. 
     | 
| 
       43 
     | 
    
         
            -
                "@modern-js/utils": "2.58. 
     | 
| 
      
 42 
     | 
    
         
            +
                "@modern-js/plugin-i18n": "2.58.3",
         
     | 
| 
      
 43 
     | 
    
         
            +
                "@modern-js/utils": "2.58.3"
         
     | 
| 
       44 
44 
     | 
    
         
             
              },
         
     | 
| 
       45 
45 
     | 
    
         
             
              "devDependencies": {
         
     | 
| 
       46 
46 
     | 
    
         
             
                "@types/jest": "^29",
         
     | 
| 
         @@ -48,9 +48,9 @@ 
     | 
|
| 
       48 
48 
     | 
    
         
             
                "jest": "^29",
         
     | 
| 
       49 
49 
     | 
    
         
             
                "ts-node": "^10.9.1",
         
     | 
| 
       50 
50 
     | 
    
         
             
                "typescript": "^5",
         
     | 
| 
       51 
     | 
    
         
            -
                "@scripts/build": "2.58. 
     | 
| 
       52 
     | 
    
         
            -
                "@scripts/jest-config": "2.58. 
     | 
| 
       53 
     | 
    
         
            -
                "@modern-js/upgrade-generator": "3.4. 
     | 
| 
      
 51 
     | 
    
         
            +
                "@scripts/build": "2.58.3",
         
     | 
| 
      
 52 
     | 
    
         
            +
                "@scripts/jest-config": "2.58.3",
         
     | 
| 
      
 53 
     | 
    
         
            +
                "@modern-js/upgrade-generator": "3.4.17"
         
     | 
| 
       54 
54 
     | 
    
         
             
              },
         
     | 
| 
       55 
55 
     | 
    
         
             
              "sideEffects": false,
         
     | 
| 
       56 
56 
     | 
    
         
             
              "publishConfig": {
         
     |