sveltejs / vite-plugin-svelte

Svelte plugin for http://vitejs.dev/
MIT License
817 stars 99 forks source link

chore(deps): update all non-major dependencies #918

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@changesets/cli (source) ^2.27.3 -> ^2.27.5 age adoption passing confidence
@types/node (source) ^20.12.12 -> ^20.12.13 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) ^7.10.0 -> ^7.11.0 age adoption passing confidence
@typescript-eslint/parser (source) ^7.10.0 -> ^7.11.0 age adoption passing confidence
carbon-icons-svelte ^12.6.0 -> ^12.8.0 age adoption passing confidence
esbuild ^0.21.3 -> ^0.21.4 age adoption passing confidence
lint-staged ^15.2.4 -> ^15.2.5 age adoption passing confidence
svelte (source) ^5.0.0-next.141 -> ^5.0.0-next.144 age adoption passing confidence
svelte-check ^3.7.1 -> ^3.8.0 age adoption passing confidence
vite (source) ^5.2.11 -> ^5.2.12 age adoption passing confidence

Release Notes

changesets/changesets (@​changesets/cli) ### [`v2.27.5`](https://togithub.com/changesets/changesets/releases/tag/%40changesets/cli%402.27.5) [Compare Source](https://togithub.com/changesets/changesets/compare/@changesets/cli@2.27.4...@changesets/cli@2.27.5) ##### Patch Changes - [#​1370](https://togithub.com/changesets/changesets/pull/1370) [`5e9d33a`](https://togithub.com/changesets/changesets/commit/5e9d33a2e659abdcf26f204a76a9465cf4b26d6b) Thanks [@​Andarist](https://togithub.com/Andarist)! - Fixed a regression that caused `changeset version` to fail on packages having a dev dependency on a skipped package. - Updated dependencies \[[`5e9d33a`](https://togithub.com/changesets/changesets/commit/5e9d33a2e659abdcf26f204a76a9465cf4b26d6b)]: - [@​changesets/get-dependents-graph](https://togithub.com/changesets/get-dependents-graph)[@​2](https://togithub.com/2).1.0 - [@​changesets/assemble-release-plan](https://togithub.com/changesets/assemble-release-plan)[@​6](https://togithub.com/6).0.2 - [@​changesets/config](https://togithub.com/changesets/config)[@​3](https://togithub.com/3).0.1 - [@​changesets/get-release-plan](https://togithub.com/changesets/get-release-plan)[@​4](https://togithub.com/4).0.2 - [@​changesets/apply-release-plan](https://togithub.com/changesets/apply-release-plan)[@​7](https://togithub.com/7).0.3 ### [`v2.27.4`](https://togithub.com/changesets/changesets/releases/tag/%40changesets/cli%402.27.4) [Compare Source](https://togithub.com/changesets/changesets/compare/@changesets/cli@2.27.3...@changesets/cli@2.27.4) ##### Patch Changes - [#​1361](https://togithub.com/changesets/changesets/pull/1361) [`954a16a`](https://togithub.com/changesets/changesets/commit/954a16aa1d118a0f7fa745ffe0d19b304f685d4c) Thanks [@​jakebailey](https://togithub.com/jakebailey)! - Ensure that `version`/`tag` do not touch private packages with when versioning/tagging is turned off using `versionPackages` config - [#​1369](https://togithub.com/changesets/changesets/pull/1369) [`d729d8c`](https://togithub.com/changesets/changesets/commit/d729d8cc0e226871aa0c5b73cce80bbf313ca56c) Thanks [@​Andarist](https://togithub.com/Andarist)! - `changeset tag` should now correctly skip tags that exist on the remote - Updated dependencies \[[`954a16a`](https://togithub.com/changesets/changesets/commit/954a16aa1d118a0f7fa745ffe0d19b304f685d4c)]: - [@​changesets/assemble-release-plan](https://togithub.com/changesets/assemble-release-plan)[@​6](https://togithub.com/6).0.1 - [@​changesets/apply-release-plan](https://togithub.com/changesets/apply-release-plan)[@​7](https://togithub.com/7).0.2 - [@​changesets/get-release-plan](https://togithub.com/changesets/get-release-plan)[@​4](https://togithub.com/4).0.1
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) ##### πŸš€ Features - **eslint-plugin:** deprecate prefer-ts-expect-error in favor of ban-ts-comment ##### 🩹 Fixes - **eslint-plugin:** \[consistent-type-assertions] prevent syntax errors on arrow functions ##### ❀️ Thank You - Abraham Guo - auvred - Dom Armstrong - Kirk Waiblinger You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
carbon-design-system/carbon-icons-svelte (carbon-icons-svelte) ### [`v12.8.0`](https://togithub.com/carbon-design-system/carbon-icons-svelte/blob/HEAD/CHANGELOG.md#1280---2024-05-27) [Compare Source](https://togithub.com/carbon-design-system/carbon-icons-svelte/compare/v12.7.0...v12.8.0) **Features** - upgrade `@carbon/icons` to v11.42.0 (net +103 icons) ### [`v12.7.0`](https://togithub.com/carbon-design-system/carbon-icons-svelte/blob/HEAD/CHANGELOG.md#1270---2024-05-27) [Compare Source](https://togithub.com/carbon-design-system/carbon-icons-svelte/compare/v12.6.0...v12.7.0) **Features** - upgrade `@carbon/icons` to v11.41.0 (net +25 icons)
evanw/esbuild (esbuild) ### [`v0.21.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0214) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.21.3...v0.21.4) - Update support for import assertions and import attributes in node ([#​3778](https://togithub.com/evanw/esbuild/issues/3778)) Import assertions (the `assert` keyword) have been removed from node starting in v22.0.0. So esbuild will now strip them and generate a warning with `--target=node22` or above: β–² [WARNING] The "assert" keyword is not supported in the configured target environment ("node22") [assert-to-with] example.mjs:1:40: 1 β”‚ import json from "esbuild/package.json" assert { type: "json" } β”‚ ~~~~~~ β•΅ with Did you mean to use "with" instead of "assert"? Import attributes (the `with` keyword) have been backported to node 18 starting in v18.20.0. So esbuild will no longer strip them with `--target=node18.N` if `N` is 20 or greater. - Fix `for await` transform when a label is present This release fixes a bug where the `for await` transform, which wraps the loop in a `try` statement, previously failed to also move the loop's label into the `try` statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code: ```js // Original code async function test() { outer: for await (const x of [Promise.resolve([0, 1])]) { for (const y of x) if (y) break outer throw 'fail' } } // Old output (with --target=es6) function test() { return __async(this, null, function* () { outer: try { for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } // New output (with --target=es6) function test() { return __async(this, null, function* () { try { outer: for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } ``` - Do additional constant folding after cross-module enum inlining ([#​3416](https://togithub.com/evanw/esbuild/issues/3416), [#​3425](https://togithub.com/evanw/esbuild/issues/3425)) This release adds a few more cases where esbuild does constant folding after cross-module enum inlining. ```ts // Original code: enum.ts export enum Platform { WINDOWS = 'windows', MACOS = 'macos', LINUX = 'linux', } // Original code: main.ts import { Platform } from './enum'; declare const PLATFORM: string; export function logPlatform() { if (PLATFORM == Platform.WINDOWS) console.log('Windows'); else if (PLATFORM == Platform.MACOS) console.log('macOS'); else if (PLATFORM == Platform.LINUX) console.log('Linux'); else console.log('Other'); } // Old output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){"windows"=="macos"?console.log("Windows"):"macos"=="macos"?console.log("macOS"):"linux"=="macos"?console.log("Linux"):console.log("Other")}export{n as logPlatform}; // New output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){console.log("macOS")}export{n as logPlatform}; ``` - Pass import attributes to on-resolve plugins ([#​3384](https://togithub.com/evanw/esbuild/issues/3384), [#​3639](https://togithub.com/evanw/esbuild/issues/3639), [#​3646](https://togithub.com/evanw/esbuild/issues/3646)) With this release, on-resolve plugins will now have access to the import attributes on the import via the `with` property of the arguments object. This mirrors the `with` property of the arguments object that's already passed to on-load plugins. In addition, you can now pass `with` to the `resolve()` API call which will then forward that value on to all relevant plugins. Here's an example of a plugin that can now be written: ```js const examplePlugin = { name: 'Example plugin', setup(build) { build.onResolve({ filter: /.*/ }, args => { if (args.with.type === 'external') return { external: true } }) } } require('esbuild').build({ stdin: { contents: ` import foo from "./foo" with { type: "external" } foo() `, }, bundle: true, format: 'esm', write: false, plugins: [examplePlugin], }).then(result => { console.log(result.outputFiles[0].text) }) ``` - Formatting support for the `@position-try` rule ([#​3773](https://togithub.com/evanw/esbuild/issues/3773)) Chrome shipped this new CSS at-rule in version 125 as part of the [CSS anchor positioning API](https://developer.chrome.com/blog/anchor-positioning-api). With this release, esbuild now knows to expect a declaration list inside of the `@position-try` body block and will format it appropriately. - Always allow internal string import and export aliases ([#​3343](https://togithub.com/evanw/esbuild/issues/3343)) Import and export names can be string literals in ES2022+. Previously esbuild forbid any usage of these aliases when the target was below ES2022. Starting with this release, esbuild will only forbid such usage when the alias would otherwise end up in output as a string literal. String literal aliases that are only used internally in the bundle and are "compiled away" are no longer errors. This makes it possible to use string literal aliases with esbuild's `inject` feature even when the target is earlier than ES2022.
okonet/lint-staged (lint-staged) ### [`v15.2.5`](https://togithub.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1525) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v15.2.4...v15.2.5) ##### Patch Changes - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](https://togithub.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca) Thanks [@​iiroj](https://togithub.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - [#​1423](https://togithub.com/lint-staged/lint-staged/pull/1423) [`91abea0`](https://togithub.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918) Thanks [@​iiroj](https://togithub.com/iiroj)! - Improve error logging when failing to read or parse a configuration file - [#​1424](https://togithub.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](https://togithub.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453) Thanks [@​iiroj](https://togithub.com/iiroj)! - Upgrade micromatch@4.0.7
sveltejs/svelte (svelte) ### [`v5.0.0-next.144`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next144) [Compare Source](https://togithub.com/sveltejs/svelte/compare/svelte@5.0.0-next.143...svelte@5.0.0-next.144) ##### Patch Changes - fix: address derived memory leak on disconnection from reactive graph ([#​11819](https://togithub.com/sveltejs/svelte/pull/11819)) - fix: set correct scope for `@const` tags within slots ([#​11798](https://togithub.com/sveltejs/svelte/pull/11798)) - fix: better support for onwheel events in chrome ([#​11808](https://togithub.com/sveltejs/svelte/pull/11808)) - fix: coherent infinite loop guard ([#​11815](https://togithub.com/sveltejs/svelte/pull/11815)) - fix: make prop fallback values deeply reactive if needed ([#​11804](https://togithub.com/sveltejs/svelte/pull/11804)) - fix: robustify initial scroll value detection when scroll is smooth ([#​11802](https://togithub.com/sveltejs/svelte/pull/11802)) ### [`v5.0.0-next.143`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next143) [Compare Source](https://togithub.com/sveltejs/svelte/compare/svelte@5.0.0-next.142...svelte@5.0.0-next.143) ##### Patch Changes - feat: provide `Component` type that represents the new shape of Svelte components ([#​11775](https://togithub.com/sveltejs/svelte/pull/11775)) ### [`v5.0.0-next.142`](https://togithub.com/sveltejs/svelte/blob/HEAD/packages/svelte/CHANGELOG.md#500-next142) [Compare Source](https://togithub.com/sveltejs/svelte/compare/svelte@5.0.0-next.141...svelte@5.0.0-next.142) ##### Patch Changes - fix: allow runelike writable as prop ([#​11768](https://togithub.com/sveltejs/svelte/pull/11768)) - fix: support `array.lastIndexOf` without second argument ([#​11766](https://togithub.com/sveltejs/svelte/pull/11766)) - fix: handle `this` parameter in TypeScript-annotated functions ([#​11795](https://togithub.com/sveltejs/svelte/pull/11795)) - fix: allow classes to be reassigned ([#​11794](https://togithub.com/sveltejs/svelte/pull/11794)) - fix: capture the correct event names when spreading attributes ([#​11783](https://togithub.com/sveltejs/svelte/pull/11783)) - fix: allow global next to `&` for nesting ([#​11784](https://togithub.com/sveltejs/svelte/pull/11784)) - fix: parse ongotpointercapture and onlostpointercapture events correctly ([#​11790](https://togithub.com/sveltejs/svelte/pull/11790)) - fix: only inject push/pop in SSR components when necessary ([#​11771](https://togithub.com/sveltejs/svelte/pull/11771))
sveltejs/language-tools (svelte-check) ### [`v3.8.0`](https://togithub.com/sveltejs/language-tools/releases/tag/svelte-check-3.8.0) [Compare Source](https://togithub.com/sveltejs/language-tools/compare/svelte-check-3.7.1...svelte-check-3.8.0) - fix: allow for whitespace in snippets declaration ([#​2366](https://togithub.com/sveltejs/language-tools/issues/2366)) - fix: allow `as` expressions for bindable props ([#​2372](https://togithub.com/sveltejs/language-tools/issues/2372)) - fix: force correct semantic tokens for $props types ([#​2379](https://togithub.com/sveltejs/language-tools/issues/2379)) - feat: Svelte 5 component class/function interop ([#​2380](https://togithub.com/sveltejs/language-tools/issues/2380))
vitejs/vite (vite) ### [`v5.2.12`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5212-2024-05-28-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.11...v5.2.12) - chore: move to eslint flat config ([#​16743](https://togithub.com/vitejs/vite/issues/16743)) ([8f16765](https://togithub.com/vitejs/vite/commit/8f16765)), closes [#​16743](https://togithub.com/vitejs/vite/issues/16743) - chore(deps): remove unused deps ([#​17329](https://togithub.com/vitejs/vite/issues/17329)) ([5a45745](https://togithub.com/vitejs/vite/commit/5a45745)), closes [#​17329](https://togithub.com/vitejs/vite/issues/17329) - chore(deps): update all non-major dependencies ([#​16722](https://togithub.com/vitejs/vite/issues/16722)) ([b45922a](https://togithub.com/vitejs/vite/commit/b45922a)), closes [#​16722](https://togithub.com/vitejs/vite/issues/16722) - fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` ([89378c0](https://togithub.com/vitejs/vite/commit/89378c0)), closes [#​16721](https://togithub.com/vitejs/vite/issues/16721) - fix(build): make SystemJSWrapRE match lazy ([#​16633](https://togithub.com/vitejs/vite/issues/16633)) ([6583ad2](https://togithub.com/vitejs/vite/commit/6583ad2)), closes [#​16633](https://togithub.com/vitejs/vite/issues/16633) - fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported ([#​1](https://togithub.com/vitejs/vite/issues/1) ([95fe5a7](https://togithub.com/vitejs/vite/commit/95fe5a7)), closes [#​16078](https://togithub.com/vitejs/vite/issues/16078) - fix(css): handle lightningcss compiled css in Deno ([#​17301](https://togithub.com/vitejs/vite/issues/17301)) ([8e4e932](https://togithub.com/vitejs/vite/commit/8e4e932)), closes [#​17301](https://togithub.com/vitejs/vite/issues/17301) - fix(css): only use files the current bundle contains ([#​16684](https://togithub.com/vitejs/vite/issues/16684)) ([15a6ebb](https://togithub.com/vitejs/vite/commit/15a6ebb)), closes [#​16684](https://togithub.com/vitejs/vite/issues/16684) - fix(css): page reload was not happening with .css?raw ([#​16455](https://togithub.com/vitejs/vite/issues/16455)) ([8041846](https://togithub.com/vitejs/vite/commit/8041846)), closes [#​16455](https://togithub.com/vitejs/vite/issues/16455) - fix(deps): update all non-major dependencies ([#​16603](https://togithub.com/vitejs/vite/issues/16603)) ([6711553](https://togithub.com/vitejs/vite/commit/6711553)), closes [#​16603](https://togithub.com/vitejs/vite/issues/16603) - fix(deps): update all non-major dependencies ([#​16660](https://togithub.com/vitejs/vite/issues/16660)) ([bf2f014](https://togithub.com/vitejs/vite/commit/bf2f014)), closes [#​16660](https://togithub.com/vitejs/vite/issues/16660) - fix(deps): update all non-major dependencies ([#​17321](https://togithub.com/vitejs/vite/issues/17321)) ([4a89766](https://togithub.com/vitejs/vite/commit/4a89766)), closes [#​17321](https://togithub.com/vitejs/vite/issues/17321) - fix(error-logging): rollup errors weren't displaying id and codeframe ([#​16540](https://togithub.com/vitejs/vite/issues/16540)) ([22dc196](https://togithub.com/vitejs/vite/commit/22dc196)), closes [#​16540](https://togithub.com/vitejs/vite/issues/16540) - fix(hmr): normalize the path info ([#​14255](https://togithub.com/vitejs/vite/issues/14255)) ([6a085d0](https://togithub.com/vitejs/vite/commit/6a085d0)), closes [#​14255](https://togithub.com/vitejs/vite/issues/14255) - fix(hmr): trigger page reload when calling invalidate on root module ([#​16636](https://togithub.com/vitejs/vite/issues/16636)) ([2b61cc3](https://togithub.com/vitejs/vite/commit/2b61cc3)), closes [#​16636](https://togithub.com/vitejs/vite/issues/16636) - fix(logger): truncate log over 5000 characters long ([#​16581](https://togithub.com/vitejs/vite/issues/16581)) ([b0b839a](https://togithub.com/vitejs/vite/commit/b0b839a)), closes [#​16581](https://togithub.com/vitejs/vite/issues/16581) - fix(optimizer): log dependencies added by plugins ([#​16729](https://togithub.com/vitejs/vite/issues/16729)) ([f0fb987](https://togithub.com/vitejs/vite/commit/f0fb987)), closes [#​16729](https://togithub.com/vitejs/vite/issues/16729) - fix(sourcemap): improve sourcemap compatibility for vue2 ([#​16594](https://togithub.com/vitejs/vite/issues/16594)) ([913c040](https://togithub.com/vitejs/vite/commit/913c040)), closes [#​16594](https://togithub.com/vitejs/vite/issues/16594) - docs: correct proxy shorthand example ([#​15938](https://togithub.com/vitejs/vite/issues/15938)) ([abf766e](https://togithub.com/vitejs/vite/commit/abf766e)), closes [#​15938](https://togithub.com/vitejs/vite/issues/15938) - docs: deprecate server.hot ([#​16741](https://togithub.com/vitejs/vite/issues/16741)) ([e7d38ab](https://togithub.com/vitejs/vite/commit/e7d38ab)), closes [#​16741](https://togithub.com/vitejs/vite/issues/16741)

Configuration

πŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ‘» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.