diff --git a/sample/package.json b/sample/package.json index f4930fce..ff1431df 100644 --- a/sample/package.json +++ b/sample/package.json @@ -21,8 +21,7 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@types/babel__core": "^7.20.0", - "@vitejs/plugin-react": "^3.0.0", + "@vitejs/plugin-react": "^4.1.0", "typescript": "^5.0.0", "vite": "^4.0.0" } diff --git a/sample/yarn.lock b/sample/yarn.lock index aadc196b..b699acac 100644 --- a/sample/yarn.lock +++ b/sample/yarn.lock @@ -32,7 +32,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.20.12": +"@babel/core@npm:^7.22.20": version: 7.23.0 resolution: "@babel/core@npm:7.23.0" dependencies: @@ -207,7 +207,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-self@npm:^7.18.6": +"@babel/plugin-transform-react-jsx-self@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-react-jsx-self@npm:7.22.5" dependencies: @@ -218,7 +218,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-source@npm:^7.19.6": +"@babel/plugin-transform-react-jsx-source@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-react-jsx-source@npm:7.22.5" dependencies: @@ -465,7 +465,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13": +"@jridgewell/sourcemap-codec@npm:1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.10": version: 1.4.14 resolution: "@jridgewell/sourcemap-codec@npm:1.4.14" checksum: 61100637b6d173d3ba786a5dff019e1a74b1f394f323c1fee337ff390239f053b87266c7a948777f4b1ee68c01a8ad0ab61e5ff4abb5a012a0b091bec391ab97 @@ -509,16 +509,16 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.20.0": - version: 7.20.0 - resolution: "@types/babel__core@npm:7.20.0" +"@types/babel__core@npm:^7.20.2": + version: 7.20.2 + resolution: "@types/babel__core@npm:7.20.2" dependencies: "@babel/parser": ^7.20.7 "@babel/types": ^7.20.7 "@types/babel__generator": "*" "@types/babel__template": "*" "@types/babel__traverse": "*" - checksum: 49b601a0a7637f1f387442c8156bd086cfd10ff4b82b0e1994e73a6396643b5435366fb33d6b604eade8467cca594ef97adcbc412aede90bb112ebe88d0ad6df + checksum: 564fbaa8ff1305d50807ada0ec227c3e7528bebb2f8fe6b2ed88db0735a31511a74ad18729679c43eeed8025ed29d408f53059289719e95ab1352ed559a100bd languageName: node linkType: hard @@ -591,18 +591,18 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-react@npm:^3.0.0": - version: 3.1.0 - resolution: "@vitejs/plugin-react@npm:3.1.0" +"@vitejs/plugin-react@npm:^4.1.0": + version: 4.1.0 + resolution: "@vitejs/plugin-react@npm:4.1.0" dependencies: - "@babel/core": ^7.20.12 - "@babel/plugin-transform-react-jsx-self": ^7.18.6 - "@babel/plugin-transform-react-jsx-source": ^7.19.6 - magic-string: ^0.27.0 + "@babel/core": ^7.22.20 + "@babel/plugin-transform-react-jsx-self": ^7.22.5 + "@babel/plugin-transform-react-jsx-source": ^7.22.5 + "@types/babel__core": ^7.20.2 react-refresh: ^0.14.0 peerDependencies: - vite: ^4.1.0-beta.0 - checksum: 450fac79e67cba9e1581c860f78e687b44108ab4117663ef20db279316e03cd8e87f94fef376e27cc5e200bd52813dcc09b70ea570c7c7cc291fcd47eb260fbc + vite: ^4.2.0 + checksum: 73dd403f5bca4f3f99f0bd3dcbb0cc0ecf88f758b886fb599711be744ca93f20adafe1af3574a998ac7cbd24aaf67ac7fe06983d87088cbdf535540ab402d496 languageName: node linkType: hard @@ -1298,15 +1298,6 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.27.0": - version: 0.27.0 - resolution: "magic-string@npm:0.27.0" - dependencies: - "@jridgewell/sourcemap-codec": ^1.4.13 - checksum: 273faaa50baadb7a2df6e442eac34ad611304fc08fe16e24fe2e472fd944bfcb73ffb50d2dc972dc04e92784222002af46868cb9698b1be181c81830fd95a13e - languageName: node - linkType: hard - "make-fetch-happen@npm:^10.0.3": version: 10.2.1 resolution: "make-fetch-happen@npm:10.2.1" @@ -1597,8 +1588,7 @@ __metadata: version: 0.0.0-use.local resolution: "react-calendar-sample-page@workspace:." dependencies: - "@types/babel__core": ^7.20.0 - "@vitejs/plugin-react": ^3.0.0 + "@vitejs/plugin-react": ^4.1.0 prop-types: ^15.6.2 react: ^18.2.0 react-calendar: latest diff --git a/test/package.json b/test/package.json index ecbe4729..475de97b 100644 --- a/test/package.json +++ b/test/package.json @@ -26,9 +26,8 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@types/babel__core": "^7.20.0", "@types/react": "*", - "@vitejs/plugin-react": "^3.0.0", + "@vitejs/plugin-react": "^4.1.0", "eslint": "^8.26.0", "eslint-config-wojtekmaj": "^0.9.0", "prettier": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 8ce53c6a..cc6a8327 100644 --- a/yarn.lock +++ b/yarn.lock @@ -46,7 +46,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.20.12": +"@babel/core@npm:^7.22.20": version: 7.23.0 resolution: "@babel/core@npm:7.23.0" dependencies: @@ -221,7 +221,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-self@npm:^7.18.6": +"@babel/plugin-transform-react-jsx-self@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-react-jsx-self@npm:7.22.5" dependencies: @@ -232,7 +232,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-source@npm:^7.19.6": +"@babel/plugin-transform-react-jsx-source@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-react-jsx-source@npm:7.22.5" dependencies: @@ -594,7 +594,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13, @jridgewell/sourcemap-codec@npm:^1.4.15": +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.15": version: 1.4.15 resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" checksum: b881c7e503db3fc7f3c1f35a1dd2655a188cc51a3612d76efc8a6eb74728bef5606e6758ee77423e564092b4a518aba569bbb21c9bac5ab7a35b0c6ae7e344c8 @@ -740,16 +740,16 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.20.0": - version: 7.20.0 - resolution: "@types/babel__core@npm:7.20.0" +"@types/babel__core@npm:^7.20.2": + version: 7.20.2 + resolution: "@types/babel__core@npm:7.20.2" dependencies: "@babel/parser": ^7.20.7 "@babel/types": ^7.20.7 "@types/babel__generator": "*" "@types/babel__template": "*" "@types/babel__traverse": "*" - checksum: 49b601a0a7637f1f387442c8156bd086cfd10ff4b82b0e1994e73a6396643b5435366fb33d6b604eade8467cca594ef97adcbc412aede90bb112ebe88d0ad6df + checksum: 564fbaa8ff1305d50807ada0ec227c3e7528bebb2f8fe6b2ed88db0735a31511a74ad18729679c43eeed8025ed29d408f53059289719e95ab1352ed559a100bd languageName: node linkType: hard @@ -1081,18 +1081,18 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-react@npm:^3.0.0": - version: 3.1.0 - resolution: "@vitejs/plugin-react@npm:3.1.0" +"@vitejs/plugin-react@npm:^4.1.0": + version: 4.1.0 + resolution: "@vitejs/plugin-react@npm:4.1.0" dependencies: - "@babel/core": ^7.20.12 - "@babel/plugin-transform-react-jsx-self": ^7.18.6 - "@babel/plugin-transform-react-jsx-source": ^7.19.6 - magic-string: ^0.27.0 + "@babel/core": ^7.22.20 + "@babel/plugin-transform-react-jsx-self": ^7.22.5 + "@babel/plugin-transform-react-jsx-source": ^7.22.5 + "@types/babel__core": ^7.20.2 react-refresh: ^0.14.0 peerDependencies: - vite: ^4.1.0-beta.0 - checksum: 450fac79e67cba9e1581c860f78e687b44108ab4117663ef20db279316e03cd8e87f94fef376e27cc5e200bd52813dcc09b70ea570c7c7cc291fcd47eb260fbc + vite: ^4.2.0 + checksum: 73dd403f5bca4f3f99f0bd3dcbb0cc0ecf88f758b886fb599711be744ca93f20adafe1af3574a998ac7cbd24aaf67ac7fe06983d87088cbdf535540ab402d496 languageName: node linkType: hard @@ -4137,15 +4137,6 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.27.0": - version: 0.27.0 - resolution: "magic-string@npm:0.27.0" - dependencies: - "@jridgewell/sourcemap-codec": ^1.4.13 - checksum: 273faaa50baadb7a2df6e442eac34ad611304fc08fe16e24fe2e472fd944bfcb73ffb50d2dc972dc04e92784222002af46868cb9698b1be181c81830fd95a13e - languageName: node - linkType: hard - "magic-string@npm:^0.30.1": version: 0.30.3 resolution: "magic-string@npm:0.30.3" @@ -5876,9 +5867,8 @@ __metadata: version: 0.0.0-use.local resolution: "test@workspace:test" dependencies: - "@types/babel__core": ^7.20.0 "@types/react": "*" - "@vitejs/plugin-react": ^3.0.0 + "@vitejs/plugin-react": ^4.1.0 "@wojtekmaj/date-utils": ^1.1.3 eslint: ^8.26.0 eslint-config-wojtekmaj: ^0.9.0