Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update all non-major dependencies #16603

Merged
merged 2 commits into from
May 7, 2024
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
10 changes: 10 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ module.exports = defineConfig({
'no-console': ['error'],
},
},
{
files: ['packages/vite/src/client/**'],
excludedFiles: '**/__tests__/**',
rules: {
'n/no-unsupported-features/node-builtins': 'off',
},
},
{
files: [
'packages/vite/src/types/**',
Expand Down Expand Up @@ -219,6 +226,9 @@ module.exports = defineConfig({
'error',
{
version: pkg.engines.node,
// ideally we would like to allow all experimental features
// https://github.com/eslint-community/eslint-plugin-n/issues/199
ignores: ['fetch'],
Comment on lines +229 to +231
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I allowed using fetch in test files.

},
],
},
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"@shikijs/vitepress-twoslash": "^1.4.0",
"@types/express": "^4.17.21",
"vitepress": "1.1.4",
"vue": "^3.4.26"
"vue": "^3.4.27"
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/fs-extra": "^11.0.4",
"@types/less": "^3.0.6",
"@types/micromatch": "^4.0.7",
"@types/node": "^20.12.7",
"@types/node": "^20.12.10",
"@types/picomatch": "^2.3.3",
"@types/semver": "^7.5.8",
"@types/stylus": "^0.48.42",
Expand All @@ -65,26 +65,26 @@
"eslint": "^8.57.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-i": "^2.29.1",
"eslint-plugin-n": "^17.4.0",
"eslint-plugin-n": "^17.5.0",
"eslint-plugin-regexp": "^2.5.0",
"execa": "^8.0.1",
"feed": "^4.2.2",
"fs-extra": "^11.2.0",
"lint-staged": "^15.2.2",
"npm-run-all2": "^6.1.2",
"picocolors": "^1.0.0",
"playwright-chromium": "^1.43.1",
"playwright-chromium": "^1.44.0",
"prettier": "3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.13.0",
"semver": "^7.6.0",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.6.2",
"tsx": "^4.8.0",
"tsx": "^4.9.3",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vite": "workspace:*",
"vitest": "^1.5.3"
"vitest": "^1.6.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"lit": "^3.1.3"
},
"devDependencies": {
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"devDependencies": {
"@preact/preset-vite": "^2.8.2",
"typescript": "^5.2.2",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"@preact/preset-vite": "^2.8.2",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-qwik-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"devDependencies": {
"serve": "^14.2.3",
"typescript": "^5.2.2",
"vite": "^5.2.10"
"vite": "^5.2.11"
},
"dependencies": {
"@builder.io/qwik": "^1.5.2"
"@builder.io/qwik": "^1.5.3"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"devDependencies": {
"serve": "^14.2.3",
"vite": "^5.2.10"
"vite": "^5.2.11"
},
"dependencies": {
"@builder.io/qwik": "^1.5.2"
"@builder.io/qwik": "^1.5.3"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
"typescript": "^5.2.2",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.2.10",
"vite": "^5.2.11",
"vite-plugin-solid": "^2.10.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"solid-js": "^1.8.17"
},
"devDependencies": {
"vite": "^5.2.10",
"vite": "^5.2.11",
"vite-plugin-solid": "^2.10.2"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@tsconfig/svelte": "^5.0.4",
"svelte": "^4.2.15",
"svelte-check": "^3.7.0",
"svelte-check": "^3.7.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"svelte": "^4.2.15",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"preview": "vite preview"
},
"devDependencies": {
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.26"
"vue": "^3.4.27"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.2.2",
"vite": "^5.2.10",
"vite": "^5.2.11",
"vue-tsc": "^2.0.16"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.26"
"vue": "^3.4.27"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"vite": "^5.2.10"
"vite": "^5.2.11"
}
}
4 changes: 2 additions & 2 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"lightningcss": "^1.24.1",
"magic-string": "^0.30.10",
"micromatch": "^4.0.5",
"mlly": "^1.6.1",
"mlly": "^1.7.0",
"mrmime": "^2.0.0",
"open": "^8.4.2",
"parse5": "^7.1.2",
Expand All @@ -144,7 +144,7 @@
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-license": "^3.3.1",
"sass": "^1.76.0",
"sass": "^1.77.0",
"sirv": "^2.0.4",
"source-map-support": "^0.5.21",
"strip-ansi": "^7.1.0",
Expand Down
1 change: 1 addition & 0 deletions packages/vite/src/node/plugins/wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const wasmHelper = async (opts = {}, url: string) => {
// correct MIME type for .wasm files, which unfortunately doesn't work for
// a lot of static file servers, so we just work around it by getting the
// raw buffer.
// eslint-disable-next-line n/no-unsupported-features/node-builtins -- this function runs in browsers
const response = await fetch(url)
const contentType = response.headers.get('Content-Type') || ''
if (
Expand Down
4 changes: 2 additions & 2 deletions playground/alias/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"aliased-module": "file:./dir/module",
"vue": "^3.4.26",
"@vue/shared": "^3.4.26"
"vue": "^3.4.27",
"@vue/shared": "^3.4.27"
},
"devDependencies": {
"@vitejs/test-resolve-linked": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion playground/backend-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"devDependencies": {
"sass": "^1.76.0",
"sass": "^1.77.0",
"tailwindcss": "^3.4.3",
"fast-glob": "^3.3.2"
}
Expand Down
2 changes: 1 addition & 1 deletion playground/config/packages/siblings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@vite/test-config-sibling",
"type": "module",
"devDependencies": {
"@types/lodash": "^4.17.0",
"@types/lodash": "^4.17.1",
"lodash": "^4.17.21"
}
}
2 changes: 1 addition & 1 deletion playground/css-sourcemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"less": "^4.2.0",
"magic-string": "^0.30.10",
"sass": "^1.76.0",
"sass": "^1.77.0",
"stylus": "^0.63.0",
"sugarss": "^4.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion playground/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"fast-glob": "^3.3.2",
"less": "^4.2.0",
"postcss-nested": "^6.0.1",
"sass": "^1.76.0",
"sass": "^1.77.0",
"stylus": "^0.63.0",
"sugarss": "^4.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion playground/extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.26"
"vue": "^3.4.27"
}
}
2 changes: 1 addition & 1 deletion playground/external/dep-that-imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"dependencies": {
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
"vue": "^3.4.26"
"vue": "^3.4.27"
}
}
2 changes: 1 addition & 1 deletion playground/external/dep-that-requires/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"dependencies": {
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
"vue": "^3.4.26"
"vue": "^3.4.27"
}
}
2 changes: 1 addition & 1 deletion playground/external/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
"vite": "workspace:*",
"vue": "^3.4.26",
"vue": "^3.4.27",
"vue32": "npm:vue@~3.2.0"
}
}
2 changes: 1 addition & 1 deletion playground/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"devDependencies": {
"@vitejs/test-json-module": "file:./json-module",
"express": "^4.19.2",
"vue": "^3.4.26"
"vue": "^3.4.27"
}
}
2 changes: 1 addition & 1 deletion playground/multiple-entrypoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"preview": "vite preview"
},
"devDependencies": {
"sass": "^1.76.0"
"sass": "^1.77.0"
}
}
2 changes: 1 addition & 1 deletion playground/object-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.26"
"vue": "^3.4.27"
}
}
2 changes: 1 addition & 1 deletion playground/optimize-deps-no-discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@vitejs/test-dep-no-discovery": "file:./dep-no-discovery",
"vue": "^3.4.26",
"vue": "^3.4.27",
"vuex": "^4.1.0"
}
}
2 changes: 1 addition & 1 deletion playground/optimize-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"react-dom": "^18.3.1",
"@vitejs/test-resolve-linked": "workspace:0.0.0",
"url": "^0.11.3",
"vue": "^3.4.26",
"vue": "^3.4.27",
"vuex": "^4.1.0",
"lodash": "^4.17.21",
"lodash.clonedeep": "^4.5.0"
Expand Down
2 changes: 1 addition & 1 deletion playground/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"autoprefixer": "^10.4.19",
"tailwindcss": "^3.4.3",
"vue": "^3.4.26",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"devDependencies": {
Expand Down
Loading