@modern-js/plugin-swc 2.40.0 → 2.42.0

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.d.ts +1 -1
  2. package/package.json +9 -9
package/dist/index.d.ts CHANGED
@@ -4,4 +4,4 @@ import type { ToolsUserConfig } from '@modern-js/app-tools/src/types/config/tool
4
4
  export declare function factory(name: string, modifySwcOptions: (options: PluginSwcOptions) => PluginSwcOptions): () => CliPlugin<AppTools>;
5
5
  export declare function applyBuilderSwcConfig(swc: PluginSwcOptions, esbuild: ToolsUserConfig['esbuild'] | undefined, isSSR: boolean): PluginSwcOptions;
6
6
  export declare const swcPlugin: () => CliPlugin<AppTools>;
7
- export default swcPlugin;
7
+ export default swcPlugin;
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "modern",
15
15
  "modern.js"
16
16
  ],
17
- "version": "2.40.0",
17
+ "version": "2.42.0",
18
18
  "jsnext:source": "./src/index.ts",
19
19
  "types": "./dist/index.d.ts",
20
20
  "main": "./dist/index.js",
@@ -30,19 +30,19 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@swc/helpers": "0.5.1",
34
- "@modern-js/builder-plugin-swc": "2.40.0",
35
- "@modern-js/utils": "2.40.0"
33
+ "@swc/helpers": "0.5.3",
34
+ "@modern-js/builder-plugin-swc": "2.42.0",
35
+ "@modern-js/utils": "2.42.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^14",
39
39
  "@types/jest": "^29",
40
40
  "typescript": "^5",
41
- "@modern-js/app-tools": "2.40.0",
42
- "@modern-js/builder-shared": "2.40.0",
43
- "@modern-js/types": "2.40.0",
44
- "@scripts/build": "2.40.0",
45
- "@scripts/jest-config": "2.40.0"
41
+ "@modern-js/app-tools": "2.42.0",
42
+ "@modern-js/types": "2.42.0",
43
+ "@modern-js/builder-shared": "2.42.0",
44
+ "@scripts/jest-config": "2.42.0",
45
+ "@scripts/build": "2.42.0"
46
46
  },
47
47
  "publishConfig": {
48
48
  "registry": "https://registry.npmjs.org/",