Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/compat/plugin-webpack-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@modern-js/swc-plugins": "0.6.11",
"@swc/helpers": "^0.5.17",
"core-js": "~3.42.0",
"core-js": "~3.43.0",
"deepmerge": "^4.3.1",
"lodash": "^4.17.21",
"picocolors": "^1.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`plugin-webpack-swc > output.sourceMap config for swcMinimizerPlugin 1`]
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -70,7 +70,7 @@ exports[`plugin-webpack-swc > output.sourceMap config for swcMinimizerPlugin 1`]
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -166,7 +166,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -223,7 +223,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -283,7 +283,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -338,7 +338,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -400,7 +400,7 @@ exports[`plugin-webpack-swc > should apply source.include and source.exclude cor
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -457,7 +457,7 @@ exports[`plugin-webpack-swc > should apply source.include and source.exclude cor
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -519,7 +519,7 @@ exports[`plugin-webpack-swc > should disable react refresh when dev.hmr is false
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -576,7 +576,7 @@ exports[`plugin-webpack-swc > should disable react refresh when dev.hmr is false
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -632,7 +632,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -686,7 +686,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -739,7 +739,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -796,7 +796,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -852,7 +852,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -909,7 +909,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1068,7 +1068,7 @@ exports[`plugin-webpack-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1118,7 +1118,7 @@ exports[`plugin-webpack-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1176,7 +1176,7 @@ exports[`plugin-webpack-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1233,7 +1233,7 @@ exports[`plugin-webpack-swc > should set swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1290,7 +1290,7 @@ exports[`plugin-webpack-swc > should set swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1354,7 +1354,7 @@ exports[`plugin-webpack-swc > should use output config 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1411,7 +1411,7 @@ exports[`plugin-webpack-swc > should use output config 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@rspack/core": "1.3.15",
"@rspack/lite-tapable": "~1.0.1",
"@swc/helpers": "^0.5.17",
"core-js": "~3.42.0",
"core-js": "~3.43.0",
"jiti": "^2.4.2"
},
"devDependencies": {
Expand Down
16 changes: 8 additions & 8 deletions packages/core/tests/__snapshots__/swc.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ exports[`plugin-swc > should apply environment config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -497,7 +497,7 @@ exports[`plugin-swc > should apply environment config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1174,7 +1174,7 @@ exports[`plugin-swc > should enable entry mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1227,7 +1227,7 @@ exports[`plugin-swc > should enable entry mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1303,7 +1303,7 @@ exports[`plugin-swc > should enable usage mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1357,7 +1357,7 @@ exports[`plugin-swc > should enable usage mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1435,7 +1435,7 @@ exports[`plugin-swc > should has correct core-js 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1488,7 +1488,7 @@ exports[`plugin-swc > should has correct core-js 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.42",
"coreJs": "3.43",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down
Loading
Loading