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 #14635

Merged
merged 2 commits into from
Oct 16, 2023
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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@db153baf731265ad02cd490b07f470e2d55e3345 # v39.2.1
uses: tj-actions/changed-files@408093d9ff9c134c33b974e0722ce06b9d6e8263 # v39.2.2
with:
files: |
docs/**
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,26 @@
"@types/json-stable-stringify": "^1.0.34",
"@types/less": "^3.0.4",
"@types/micromatch": "^4.0.3",
"@types/node": "^18.18.4",
"@types/node": "^18.18.5",
"@types/picomatch": "^2.3.1",
"@types/sass": "~1.43.1",
"@types/stylus": "^0.48.40",
"@types/ws": "^8.5.6",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@types/ws": "^8.5.7",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@vitejs/release-scripts": "^1.3.1",
"conventional-changelog-cli": "^3.0.0",
"eslint": "^8.51.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-regexp": "^1.15.0",
"execa": "^8.0.1",
"fs-extra": "^11.1.1",
"lint-staged": "^14.0.1",
"npm-run-all2": "^6.1.1",
"picocolors": "^1.0.0",
"playwright-chromium": "^1.38.1",
"playwright-chromium": "^1.39.0",
"prettier": "3.0.3",
"rimraf": "^5.0.5",
"rollup": "^3.29.2",
Expand All @@ -83,7 +83,7 @@
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vite": "workspace:*",
"vitepress": "1.0.0-rc.20",
"vitepress": "1.0.0-rc.22",
"vitest": "^0.34.6",
"vue": "^3.3.4"
},
Expand All @@ -104,7 +104,7 @@
"eslint --cache --fix"
]
},
"packageManager": "pnpm@8.8.0",
"packageManager": "pnpm@8.9.2",
"pnpm": {
"overrides": {
"vite": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"funding": "https://github.com/vitejs/vite?sponsor=1",
"devDependencies": {
"@types/minimist": "^1.2.3",
"@types/prompts": "^2.4.5",
"@types/prompts": "^2.4.6",
"cross-spawn": "^7.0.3",
"kolorist": "^1.8.0",
"minimist": "^1.2.8",
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.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
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": "^2.8.0"
},
"devDependencies": {
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"preact": "^10.18.1"
},
"devDependencies": {
"@preact/preset-vite": "^2.5.0",
"@preact/preset-vite": "^2.6.0",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preact": "^10.18.1"
},
"devDependencies": {
"@preact/preset-vite": "^2.5.0",
"vite": "^5.0.0-beta.4"
"@preact/preset-vite": "^2.6.0",
"vite": "^5.0.0-beta.7"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-qwik-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
},
"dependencies": {
"@builder.io/qwik": "^1.2.13"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
},
"dependencies": {
"@builder.io/qwik": "^1.2.13"
Expand Down
10 changes: 5 additions & 5 deletions packages/create-vite/template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.11",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@vitejs/plugin-react": "^4.1.0",
"eslint": "^8.51.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
6 changes: 3 additions & 3 deletions packages/create-vite/template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.11",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@vitejs/plugin-react": "^4.1.0",
"eslint": "^8.51.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
6 changes: 3 additions & 3 deletions packages/create-vite/template-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"preview": "vite preview"
},
"dependencies": {
"solid-js": "^1.7.12"
"solid-js": "^1.8.1"
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.4",
"vite-plugin-solid": "^2.7.0"
"vite": "^5.0.0-beta.7",
"vite-plugin-solid": "^2.7.1"
}
}
6 changes: 3 additions & 3 deletions packages/create-vite/template-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"solid-js": "^1.7.12"
"solid-js": "^1.8.1"
},
"devDependencies": {
"vite": "^5.0.0-beta.4",
"vite-plugin-solid": "^2.7.0"
"vite": "^5.0.0-beta.7",
"vite-plugin-solid": "^2.7.1"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"svelte-check": "^3.5.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
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.0.0-next.0",
"svelte": "^4.2.1",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
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.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
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.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
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 @@ -14,7 +14,7 @@
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.4",
"vue-tsc": "^1.8.18"
"vite": "^5.0.0-beta.7",
"vue-tsc": "^1.8.19"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^5.0.0-beta.4"
"vite": "^5.0.0-beta.7"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
"funding": "https://github.com/vitejs/vite?sponsor=1",
"dependencies": {
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"browserslist": "^4.22.1",
"core-js": "^3.33.0",
"magic-string": "^0.30.4",
"magic-string": "^0.30.5",
"regenerator-runtime": "^0.14.0",
"systemjs": "^6.14.2"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"@ampproject/remapping": "^2.2.1",
"@jridgewell/trace-mapping": "^0.3.19",
"@rollup/plugin-alias": "^5.0.1",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-dynamic-import-vars": "^2.0.6",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-dynamic-import-vars": "^2.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
Expand Down Expand Up @@ -116,7 +116,7 @@
"json-stable-stringify": "^1.0.2",
"launch-editor-middleware": "^2.6.1",
"lightningcss": "^1.22.0",
"magic-string": "^0.30.4",
"magic-string": "^0.30.5",
"micromatch": "^4.0.5",
"mlly": "^1.4.2",
"mrmime": "^1.0.1",
Expand All @@ -131,7 +131,7 @@
"postcss-modules": "^6.0.0",
"resolve.exports": "^2.0.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-license": "^3.1.0",
"rollup-plugin-license": "^3.2.0",
"sirv": "^2.0.3",
"source-map-support": "^0.5.21",
"strip-ansi": "^7.1.0",
Expand Down
7 changes: 5 additions & 2 deletions packages/vite/src/node/server/sourcemap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import path from 'node:path'
import fsp from 'node:fs/promises'
import type { ExistingRawSourceMap, SourceMap } from 'rollup'
import type { SourceMap as MagicStringSourceMap } from 'magic-string'
import type { Logger } from '../logger'
import { createDebugger } from '../utils'

Expand Down Expand Up @@ -65,7 +66,9 @@ export async function injectSourcesContent(
}
}

export function genSourceMapUrl(map: SourceMap | string): string {
export function genSourceMapUrl(
map: SourceMap | MagicStringSourceMap | string,
): string {
if (typeof map !== 'string') {
map = JSON.stringify(map)
}
Expand All @@ -75,7 +78,7 @@ export function genSourceMapUrl(map: SourceMap | string): string {
export function getCodeWithSourcemap(
type: 'js' | 'css',
code: string,
map: SourceMap,
map: SourceMap | MagicStringSourceMap,
): string {
if (debug) {
code += `\n/*${JSON.stringify(map, null, 2).replace(/\*\//g, '*\\/')}*/\n`
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/ssr/ssrTransform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ async function ssrTransformScript(
},
})

let map = s.generateMap({ hires: 'boundary' })
let map = s.generateMap({ hires: 'boundary' }) as SourceMap
if (
inMap &&
inMap.mappings &&
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.69.0",
"sass": "^1.69.3",
"tailwindcss": "^3.3.3",
"fast-glob": "^3.3.1"
}
Expand Down
4 changes: 2 additions & 2 deletions playground/css-sourcemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"devDependencies": {
"less": "^4.2.0",
"magic-string": "^0.30.4",
"sass": "^1.69.0",
"magic-string": "^0.30.5",
"sass": "^1.69.3",
"stylus": "^0.60.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 @@ -23,7 +23,7 @@
"fast-glob": "^3.3.1",
"less": "^4.2.0",
"postcss-nested": "^6.0.1",
"sass": "^1.69.0",
"sass": "^1.69.3",
"stylus": "^0.60.0",
"sugarss": "^4.0.1"
}
Expand Down
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.69.0"
"sass": "^1.69.3"
}
}
2 changes: 1 addition & 1 deletion playground/optimize-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@vitejs/test-added-in-entries": "file:./added-in-entries",
"lodash-es": "^4.17.21",
"@vitejs/test-nested-exclude": "file:./nested-exclude",
"phoenix": "^1.7.7",
"phoenix": "^1.7.9",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@vitejs/test-resolve-linked": "workspace:0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion playground/resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"#other-pkg-slash/": "@vitejs/test-resolve-imports-pkg/nest/"
},
"dependencies": {
"@babel/runtime": "^7.23.1",
"@babel/runtime": "^7.23.2",
"es5-ext": "0.10.62",
"normalize.css": "^8.0.1",
"@vitejs/test-require-pkg-with-module-field": "link:./require-pkg-with-module-field",
Expand Down
2 changes: 1 addition & 1 deletion playground/ssr-webworker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@vitejs/test-worker-exports": "file:./worker-exports"
},
"devDependencies": {
"miniflare": "^3.20231002.1",
"miniflare": "^3.20231010.0",
"@vitejs/test-resolve-linked": "workspace:*"
}
}
Loading