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

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
This commit is contained in:
renovate[bot] 2023-11-13 09:25:20 +01:00 committed by GitHub
parent ea9ccb7def
commit 0bb3995a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
47 changed files with 877 additions and 867 deletions

View File

@ -58,7 +58,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@18c8a4ecebe93d32ed8a88e1d0c098f5f68c221b # v40.1.0
uses: tj-actions/changed-files@25ef3926d147cd02fc7e931c1ef50772bbb0d25d # v40.1.1
with:
files: |
docs/**

View File

@ -41,40 +41,40 @@
"ci-docs": "run-s build docs-build"
},
"devDependencies": {
"@babel/types": "^7.23.0",
"@babel/types": "^7.23.3",
"@rollup/plugin-typescript": "^11.1.5",
"@types/babel__core": "^7.20.3",
"@types/babel__preset-env": "^7.9.4",
"@types/convert-source-map": "^2.0.2",
"@types/cross-spawn": "^6.0.4",
"@types/debug": "^4.1.10",
"@types/estree": "^1.0.4",
"@types/etag": "^1.8.2",
"@types/fs-extra": "^11.0.3",
"@types/json-stable-stringify": "^1.0.35",
"@types/less": "^3.0.5",
"@types/micromatch": "^4.0.4",
"@types/node": "^20.8.10",
"@types/picomatch": "^2.3.2",
"@types/babel__core": "^7.20.4",
"@types/babel__preset-env": "^7.9.5",
"@types/convert-source-map": "^2.0.3",
"@types/cross-spawn": "^6.0.5",
"@types/debug": "^4.1.12",
"@types/estree": "^1.0.5",
"@types/etag": "^1.8.3",
"@types/fs-extra": "^11.0.4",
"@types/json-stable-stringify": "^1.0.36",
"@types/less": "^3.0.6",
"@types/micromatch": "^4.0.5",
"@types/node": "^20.9.0",
"@types/picomatch": "^2.3.3",
"@types/sass": "~1.43.1",
"@types/stylus": "^0.48.41",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@types/stylus": "^0.48.42",
"@types/ws": "^8.5.9",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/release-scripts": "^1.3.1",
"conventional-changelog-cli": "^3.0.0",
"eslint": "^8.53.0",
"eslint-define-config": "^1.24.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-regexp": "^2.1.1",
"execa": "^8.0.1",
"fs-extra": "^11.1.1",
"lint-staged": "^15.0.2",
"lint-staged": "^15.1.0",
"npm-run-all2": "^6.1.1",
"picocolors": "^1.0.0",
"playwright-chromium": "^1.39.0",
"prettier": "3.0.3",
"prettier": "3.1.0",
"rimraf": "^5.0.5",
"rollup": "^4.2.0",
"simple-git-hooks": "^2.9.0",
@ -85,7 +85,7 @@
"vite": "workspace:*",
"vitepress": "1.0.0-rc.25",
"vitest": "^0.34.6",
"vue": "^3.3.7"
"vue": "^3.3.8"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
@ -104,7 +104,7 @@
"eslint --cache --fix"
]
},
"packageManager": "pnpm@8.10.2",
"packageManager": "pnpm@8.10.3",
"pnpm": {
"overrides": {
"vite": "workspace:*"

View File

@ -33,8 +33,8 @@
"homepage": "https://github.com/vitejs/vite/tree/main/packages/create-vite#readme",
"funding": "https://github.com/vitejs/vite?sponsor=1",
"devDependencies": {
"@types/minimist": "^1.2.4",
"@types/prompts": "^2.4.7",
"@types/minimist": "^1.2.5",
"@types/prompts": "^2.4.8",
"cross-spawn": "^7.0.3",
"kolorist": "^1.8.0",
"minimist": "^1.2.8",

View File

@ -13,6 +13,6 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -12,6 +12,6 @@
"lit": "^3.0.2"
},
"devDependencies": {
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -9,11 +9,11 @@
"preview": "vite preview"
},
"dependencies": {
"preact": "^10.18.2"
"preact": "^10.19.1"
},
"devDependencies": {
"@preact/preset-vite": "^2.6.0",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"preact": "^10.18.2"
"preact": "^10.19.1"
},
"devDependencies": {
"@preact/preset-vite": "^2.6.0",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -10,7 +10,7 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
},
"dependencies": {
"@builder.io/qwik": "^1.2.17"

View File

@ -10,7 +10,7 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
},
"dependencies": {
"@builder.io/qwik": "^1.2.17"

View File

@ -14,15 +14,15 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.35",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitejs/plugin-react": "^4.1.1",
"eslint": "^8.53.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -14,13 +14,13 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.35",
"@types/react-dom": "^18.2.14",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@vitejs/plugin-react": "^4.1.1",
"eslint": "^8.53.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -13,7 +13,7 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16",
"vite": "^5.0.0-beta.18",
"vite-plugin-solid": "^2.7.2"
}
}

View File

@ -12,7 +12,7 @@
"solid-js": "^1.8.5"
},
"devDependencies": {
"vite": "^5.0.0-beta.16",
"vite": "^5.0.0-beta.18",
"vite-plugin-solid": "^2.7.2"
}
}

View File

@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0-next.2",
"@tsconfig/svelte": "^5.0.2",
"svelte": "^4.2.2",
"svelte-check": "^3.5.2",
"svelte": "^4.2.3",
"svelte-check": "^3.6.0",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -10,7 +10,7 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0-next.2",
"svelte": "^4.2.2",
"vite": "^5.0.0-beta.16"
"svelte": "^4.2.3",
"vite": "^5.0.0-beta.18"
}
}

View File

@ -10,6 +10,6 @@
},
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -9,6 +9,6 @@
"preview": "vite preview"
},
"devDependencies": {
"vite": "^5.0.0-beta.16"
"vite": "^5.0.0-beta.18"
}
}

View File

@ -9,12 +9,12 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.3.7"
"vue": "^3.3.8"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"@vitejs/plugin-vue": "^4.4.1",
"typescript": "^5.2.2",
"vite": "^5.0.0-beta.16",
"vite": "^5.0.0-beta.18",
"vue-tsc": "^1.8.22"
}
}

View File

@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.3.7"
"vue": "^3.3.8"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^5.0.0-beta.16"
"@vitejs/plugin-vue": "^4.4.1",
"vite": "^5.0.0-beta.18"
}
}

View File

@ -41,8 +41,8 @@
"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.2",
"@babel/preset-env": "^7.23.2",
"@babel/core": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"browserslist": "^4.22.1",
"core-js": "^3.33.2",
"magic-string": "^0.30.5",

View File

@ -83,7 +83,7 @@
},
"devDependencies": {
"@ampproject/remapping": "^2.2.1",
"@babel/parser": "^7.23.0",
"@babel/parser": "^7.23.3",
"@jridgewell/trace-mapping": "^0.3.20",
"@rollup/plugin-alias": "^5.0.1",
"@rollup/plugin-commonjs": "^25.0.7",
@ -92,8 +92,8 @@
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/pluginutils": "^5.0.5",
"@types/escape-html": "^1.0.3",
"@types/pnpapi": "^0.0.4",
"@types/escape-html": "^1.0.4",
"@types/pnpapi": "^0.0.5",
"acorn": "^8.11.2",
"acorn-walk": "^8.3.0",
"cac": "^6.7.14",
@ -106,15 +106,15 @@
"dep-types": "link:./src/types",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
"es-module-lexer": "^1.4.0",
"es-module-lexer": "^1.4.1",
"escape-html": "^1.0.3",
"estree-walker": "^3.0.3",
"etag": "^1.8.1",
"fast-glob": "^3.3.1",
"fast-glob": "^3.3.2",
"http-proxy": "^1.18.1",
"json-stable-stringify": "^1.0.2",
"launch-editor-middleware": "^2.6.1",
"lightningcss": "^1.22.0",
"lightningcss": "^1.22.1",
"magic-string": "^0.30.5",
"micromatch": "^4.0.5",
"mlly": "^1.4.2",

View File

@ -367,11 +367,11 @@ export function resolveBuildOptions(
modulePreload === false
? false
: typeof modulePreload === 'object'
? {
...defaultModulePreload,
...modulePreload,
}
: defaultModulePreload,
? {
...defaultModulePreload,
...modulePreload,
}
: defaultModulePreload,
}
// handle special build targets
@ -483,16 +483,16 @@ export async function build(
(typeof libOptions.entry === 'string'
? resolve(libOptions.entry)
: Array.isArray(libOptions.entry)
? libOptions.entry.map(resolve)
: Object.fromEntries(
Object.entries(libOptions.entry).map(([alias, file]) => [
alias,
resolve(file),
]),
))
? libOptions.entry.map(resolve)
: Object.fromEntries(
Object.entries(libOptions.entry).map(([alias, file]) => [
alias,
resolve(file),
]),
))
: typeof options.ssr === 'string'
? resolve(options.ssr)
: options.rollupOptions?.input || resolve('index.html')
? resolve(options.ssr)
: options.rollupOptions?.input || resolve('index.html')
if (ssr && typeof input === 'string' && input.endsWith('.html')) {
throw new Error(
@ -505,8 +505,8 @@ export async function build(
typeof input === 'string'
? [input]
: Array.isArray(input)
? input
: Object.values(input)
? input
: Object.values(input)
if (inputs.some((input) => input.endsWith('.css'))) {
throw new Error(
`When "build.cssCodeSplit: false" is set, "rollupOptions.input" should not include CSS files.`,
@ -529,8 +529,8 @@ export async function build(
preserveEntrySignatures: ssr
? 'allow-extension'
: libOptions
? 'strict'
: false,
? 'strict'
: false,
cache: config.build.watch ? undefined : false,
...options.rollupOptions,
input,
@ -607,16 +607,16 @@ export async function build(
entryFileNames: ssr
? `[name].${jsExt}`
: libOptions
? ({ name }) =>
resolveLibFilename(
libOptions,
format,
name,
config.root,
jsExt,
config.packageCache,
)
: path.posix.join(options.assetsDir, `[name]-[hash].${jsExt}`),
? ({ name }) =>
resolveLibFilename(
libOptions,
format,
name,
config.root,
jsExt,
config.packageCache,
)
: path.posix.join(options.assetsDir, `[name]-[hash].${jsExt}`),
chunkFileNames: libOptions
? `[name]-[hash].${jsExt}`
: path.posix.join(options.assetsDir, `[name]-[hash].${jsExt}`),

View File

@ -95,8 +95,8 @@ function cleanOptions<Options extends GlobalCLIOptions>(
sourcemap === 'true'
? true
: sourcemap === 'false'
? false
: ret.sourcemap
? false
: ret.sourcemap
}
return ret

View File

@ -591,8 +591,8 @@ export async function resolveConfig(
config.cacheDir
? path.resolve(resolvedRoot, config.cacheDir)
: pkgDir
? path.join(pkgDir, `node_modules/.vite`)
: path.join(resolvedRoot, `.vite`),
? path.join(pkgDir, `node_modules/.vite`)
: path.join(resolvedRoot, `.vite`),
)
const assetsFilter =

View File

@ -80,8 +80,8 @@ export function createLogger(
type === 'info'
? colors.cyan(colors.bold(prefix))
: type === 'warn'
? colors.yellow(colors.bold(prefix))
: colors.red(colors.bold(prefix))
? colors.yellow(colors.bold(prefix))
: colors.red(colors.bold(prefix))
return `${colors.dim(timeFormatter.format(new Date()))} ${tag} ${msg}`
} else {
return msg

View File

@ -322,8 +322,8 @@ export const buildEsbuildPlugin = (config: ResolvedConfig): Plugin => {
opts.format === 'iife'
? esbuildCode.match(IIFE_BEGIN_RE)?.index || 0
: opts.format === 'umd'
? esbuildCode.indexOf(`(function(`) // same for minified or not
: 0
? esbuildCode.indexOf(`(function(`) // same for minified or not
: 0
if (contentIndex > 0) {
const esbuildHelpers = esbuildCode.slice(0, contentIndex)
res.code = esbuildCode

View File

@ -697,10 +697,10 @@ export function importAnalysisPlugin(config: ResolvedConfig): Plugin {
isSelfAccepting
? `[self-accepts]`
: isPartiallySelfAccepting
? `[accepts-exports]`
: acceptedUrls.size
? `[accepts-deps]`
: `[detected api usage]`
? `[accepts-exports]`
: acceptedUrls.size
? `[accepts-deps]`
: `[detected api usage]`
} ${prettyImporter}`,
)
// inject hot context
@ -819,14 +819,14 @@ export function createParseErrorInfo(
const msg = isVue
? `Install @vitejs/plugin-vue to handle .vue files.`
: maybeJSX
? isJsx
? `If you use tsconfig.json, make sure to not set jsx to preserve.`
: `If you are using JSX, make sure to name the file with the .jsx or .tsx extension.`
: `You may need to install appropriate plugins to handle the ${path.extname(
importer,
)} file format, or if it's an asset, add "**/*${path.extname(
importer,
)}" to \`assetsInclude\` in your configuration.`
? isJsx
? `If you use tsconfig.json, make sure to not set jsx to preserve.`
: `If you are using JSX, make sure to name the file with the .jsx or .tsx extension.`
: `You may need to install appropriate plugins to handle the ${path.extname(
importer,
)} file format, or if it's an asset, add "**/*${path.extname(
importer,
)}" to \`assetsInclude\` in your configuration.`
return {
message:

View File

@ -192,13 +192,13 @@ export function buildImportAnalysisPlugin(config: ResolvedConfig): Plugin {
// a helper `__vitePreloadRelativeDep` is used to resolve from relative paths which can be minimized.
`function(dep, importerUrl) { return dep[0] === '.' ? new URL(dep, importerUrl).href : dep }`
: optimizeModulePreloadRelativePaths
? // If there isn't custom resolvers affecting the deps list, deps in the list are relative
// to the current chunk and are resolved to absolute URL by the __vitePreload helper itself.
// The importerUrl is passed as third parameter to __vitePreload in this case
`function(dep, importerUrl) { return new URL(dep, importerUrl).href }`
: // If the base isn't relative, then the deps are relative to the projects `outDir` and the base
// is appended inside __vitePreload too.
`function(dep) { return ${JSON.stringify(config.base)}+dep }`
? // If there isn't custom resolvers affecting the deps list, deps in the list are relative
// to the current chunk and are resolved to absolute URL by the __vitePreload helper itself.
// The importerUrl is passed as third parameter to __vitePreload in this case
`function(dep, importerUrl) { return new URL(dep, importerUrl).href }`
: // If the base isn't relative, then the deps are relative to the projects `outDir` and the base
// is appended inside __vitePreload too.
`function(dep) { return ${JSON.stringify(config.base)}+dep }`
const preloadCode = `const scriptRel = ${scriptRel};const assetsURL = ${assetsURL};const seen = {};export const ${preloadMethod} = ${preload.toString()}`
return {

View File

@ -386,8 +386,8 @@ export async function transformGlobImport(
let query = !options.query
? ''
: typeof options.query === 'string'
? options.query
: stringifyQuery(options.query as any)
? options.query
: stringifyQuery(options.query as any)
if (query && query[0] !== '?') query = `?${query}`

View File

@ -11,8 +11,8 @@
},
"dependencies": {
"aliased-module": "file:./dir/module",
"vue": "^3.3.7",
"@vue/shared": "^3.3.7"
"vue": "^3.3.8",
"@vue/shared": "^3.3.8"
},
"devDependencies": {
"@vitejs/test-resolve-linked": "workspace:*"

View File

@ -12,6 +12,6 @@
"devDependencies": {
"sass": "^1.69.5",
"tailwindcss": "^3.3.5",
"fast-glob": "^3.3.1"
"fast-glob": "^3.3.2"
}
}

View File

@ -2,7 +2,7 @@
"name": "@vite/test-config-sibling",
"type": "module",
"devDependencies": {
"@types/lodash": "^4.14.200",
"@types/lodash": "^4.14.201",
"lodash": "^4.17.21"
}
}

View File

@ -1,6 +1,5 @@
import './style.css'
import './main.css'
document.getElementById(
'app',
).innerHTML = `<h1>This should be red</h1><h2>This should be blue</h2>`
document.getElementById('app').innerHTML =
`<h1>This should be red</h1><h2>This should be blue</h2>`

View File

@ -9,7 +9,7 @@
"preview": "vite preview"
},
"devDependencies": {
"lightningcss": "^1.22.0",
"lightningcss": "^1.22.1",
"express": "^4.18.2"
}
}

View File

@ -9,6 +9,6 @@
"preview": "vite preview"
},
"devDependencies": {
"lightningcss": "^1.22.0"
"lightningcss": "^1.22.1"
}
}

View File

@ -20,7 +20,7 @@
"@vitejs/test-css-dep-exports": "link:./css-dep-exports",
"@vitejs/test-css-js-dep": "file:./css-js-dep",
"@vitejs/test-css-proxy-dep": "file:./css-proxy-dep",
"fast-glob": "^3.3.1",
"fast-glob": "^3.3.2",
"less": "^4.2.0",
"postcss-nested": "^6.0.1",
"sass": "^1.69.5",

View File

@ -10,6 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.3.7"
"vue": "^3.3.8"
}
}

View File

@ -5,6 +5,6 @@
"dependencies": {
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
"vue": "^3.3.7"
"vue": "^3.3.8"
}
}

View File

@ -5,6 +5,6 @@
"dependencies": {
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
"vue": "^3.3.7"
"vue": "^3.3.8"
}
}

View File

@ -17,7 +17,7 @@
"slash3": "npm:slash@^3.0.0",
"slash5": "npm:slash@^5.1.0",
"vite": "workspace:*",
"vue": "^3.3.7",
"vue": "^3.3.8",
"vue32": "npm:vue@~3.2.0"
}
}

View File

@ -1,3 +1,2 @@
document.getElementById(
`no-quotes-on-attr`,
).innerHTML = `No quotes on Attr working`
document.getElementById(`no-quotes-on-attr`).innerHTML =
`No quotes on Attr working`

View File

@ -15,6 +15,6 @@
"devDependencies": {
"@vitejs/test-json-module": "file:./json-module",
"express": "^4.18.2",
"vue": "^3.3.7"
"vue": "^3.3.8"
}
}

View File

@ -10,6 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.3.7"
"vue": "^3.3.8"
}
}

View File

@ -11,7 +11,7 @@
},
"dependencies": {
"@vitejs/test-dep-no-discovery": "file:./dep-no-discovery",
"vue": "^3.3.7",
"vue": "^3.3.8",
"vuex": "^4.1.0"
}
}

View File

@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.6.0",
"axios": "^1.6.1",
"clipboard": "^2.0.11",
"@vitejs/longfilename-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": "file:./longfilename",
"@vitejs/test-dep-alias-using-absolute-path": "file:./dep-alias-using-absolute-path",
@ -41,7 +41,7 @@
"react-dom": "^18.2.0",
"@vitejs/test-resolve-linked": "workspace:0.0.0",
"url": "^0.11.3",
"vue": "^3.3.7",
"vue": "^3.3.8",
"vuex": "^4.1.0",
"lodash": "^4.17.21",
"lodash.clonedeep": "^4.5.0"

View File

@ -11,7 +11,7 @@
"dependencies": {
"autoprefixer": "^10.4.16",
"tailwindcss": "^3.3.5",
"vue": "^3.3.7",
"vue": "^3.3.8",
"vue-router": "^4.2.5"
},
"devDependencies": {

File diff suppressed because it is too large Load Diff