Skip to content

Commit fc51a15

Browse files
renovate[bot]bluwy
andauthored
chore(deps): update all non-major dependencies (#7603)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
1 parent 57e7914 commit fc51a15

File tree

6 files changed

+125
-94
lines changed

6 files changed

+125
-94
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434
"ci-docs": "run-s build-vite build-plugin-vue build-docs"
3535
},
3636
"devDependencies": {
37-
"@microsoft/api-extractor": "^7.19.5",
37+
"@microsoft/api-extractor": "^7.20.0",
3838
"@types/fs-extra": "^9.0.13",
3939
"@types/jest": "^27.4.1",
4040
"@types/node": "^16.11.26",
4141
"@types/prompts": "^2.0.14",
4242
"@types/semver": "^7.3.9",
43-
"@typescript-eslint/eslint-plugin": "^5.16.0",
44-
"@typescript-eslint/parser": "^5.16.0",
43+
"@typescript-eslint/eslint-plugin": "^5.17.0",
44+
"@typescript-eslint/parser": "^5.17.0",
4545
"conventional-changelog-cli": "^2.2.2",
4646
"cross-env": "^7.0.3",
4747
"esbuild": "^0.14.27",
@@ -56,8 +56,8 @@
5656
"node-fetch": "^2.6.6",
5757
"npm-run-all": "^4.1.5",
5858
"picocolors": "^1.0.0",
59-
"playwright-chromium": "^1.20.1",
60-
"prettier": "2.6.1",
59+
"playwright-chromium": "^1.20.2",
60+
"prettier": "2.6.2",
6161
"prompts": "^2.4.2",
6262
"rimraf": "^3.0.2",
6363
"rollup": "^2.59.0",
@@ -85,7 +85,7 @@
8585
"eslint --ext .ts"
8686
]
8787
},
88-
"packageManager": "pnpm@6.32.3",
88+
"packageManager": "pnpm@6.32.4",
8989
"pnpm": {
9090
"overrides": {
9191
"vite": "workspace:*",

packages/plugin-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@babel/plugin-transform-react-jsx-self": "^7.16.7",
4040
"@babel/plugin-transform-react-jsx-source": "^7.16.7",
4141
"@rollup/pluginutils": "^4.2.0",
42-
"react-refresh": "^0.11.0",
42+
"react-refresh": "^0.12.0",
4343
"resolve": "^1.22.0"
4444
}
4545
}

packages/plugin-react/src/fast-refresh.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
import type { types as t } from '@babel/core'
22
import fs from 'fs'
3+
import path from 'path'
34

45
export const runtimePublicPath = '/@react-refresh'
56

6-
const runtimeFilePath = require.resolve(
7-
'react-refresh/cjs/react-refresh-runtime.development.js'
7+
const reactRefreshDir = path.dirname(
8+
require.resolve('react-refresh/package.json')
9+
)
10+
const runtimeFilePath = path.join(
11+
reactRefreshDir,
12+
'cjs/react-refresh-runtime.development.js'
813
)
914

1015
export const runtimeCode = `

packages/plugin-react/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
176176
if (isReactModule && filter(id)) {
177177
useFastRefresh = true
178178
plugins.push([
179-
await loadPlugin('react-refresh/babel.js'),
179+
await loadPlugin('react-refresh/babel'),
180180
{ skipEnvCheck: true }
181181
])
182182
}

packages/vite/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"@types/node": "^16.11.26",
7575
"@types/resolve": "^1.20.1",
7676
"@types/sass": "~1.43.1",
77-
"@types/stylus": "^0.48.36",
77+
"@types/stylus": "^0.48.37",
7878
"@types/ws": "^8.5.3",
7979
"@vue/compiler-dom": "^3.2.31",
8080
"acorn": "^8.7.0",
@@ -88,7 +88,7 @@
8888
"debug": "^4.3.4",
8989
"dotenv": "^14.3.2",
9090
"dotenv-expand": "^5.1.0",
91-
"es-module-lexer": "^0.10.4",
91+
"es-module-lexer": "^0.10.5",
9292
"estree-walker": "^2.0.2",
9393
"etag": "^1.8.1",
9494
"fast-glob": "^3.2.11",
@@ -98,13 +98,13 @@
9898
"magic-string": "^0.26.1",
9999
"micromatch": "^4.0.5",
100100
"mrmime": "^1.0.0",
101-
"node-forge": "^1.3.0",
101+
"node-forge": "^1.3.1",
102102
"okie": "^1.0.1",
103103
"open": "^8.4.0",
104104
"periscopic": "^2.0.3",
105105
"picocolors": "^1.0.0",
106106
"postcss-import": "^14.1.0",
107-
"postcss-load-config": "^3.1.3",
107+
"postcss-load-config": "^3.1.4",
108108
"postcss-modules": "^4.3.1",
109109
"resolve.exports": "^1.1.0",
110110
"rollup-plugin-license": "^2.6.1",
@@ -113,7 +113,7 @@
113113
"source-map-support": "^0.5.21",
114114
"strip-ansi": "^6.0.1",
115115
"terser": "^5.12.1",
116-
"tsconfck": "^1.2.1",
116+
"tsconfck": "^1.2.2",
117117
"tslib": "^2.3.1",
118118
"types": "link:./types",
119119
"ws": "^8.5.0"

0 commit comments

Comments
 (0)