Skip to content

Commit 88da3cf

Browse files
fix(deps): update dependency svelte-eslint-parser to ^0.40.0 (#822)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [svelte-eslint-parser](https://togithub.com/sveltejs/svelte-eslint-parser) | [`^0.39.2` -> `^0.40.0`](https://renovatebot.com/diffs/npm/svelte-eslint-parser/0.39.2/0.40.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/svelte-eslint-parser/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/svelte-eslint-parser/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/svelte-eslint-parser/0.39.2/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/svelte-eslint-parser/0.39.2/0.40.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sveltejs/svelte-eslint-parser (svelte-eslint-parser)</summary> ### [`v0.40.0`](https://togithub.com/sveltejs/svelte-eslint-parser/blob/HEAD/CHANGELOG.md#0400) [Compare Source](https://togithub.com/sveltejs/svelte-eslint-parser/compare/v0.39.2...v0.40.0) ##### Minor Changes - [#&#8203;548](https://togithub.com/sveltejs/svelte-eslint-parser/pull/548) [`dfe5cb8`](https://togithub.com/sveltejs/svelte-eslint-parser/commit/dfe5cb815ef2119cfa56ade8755c45b8533c24e1) Thanks [@&#8203;ota-meshi](https://togithub.com/ota-meshi)! - fix: update svelte to 5.0.0-next.181 and fix for `{:else if}` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sveltejs/eslint-plugin-svelte). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yosuke Ota <[email protected]>
1 parent 8454791 commit 88da3cf

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.changeset/friendly-pillows-flash.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-svelte": minor
3+
---
4+
5+
fix(deps): update dependency svelte-eslint-parser to ^0.40.0

packages/eslint-plugin-svelte/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"peerDependencies": {
5050
"eslint": "^7.0.0 || ^8.0.0-0 || ^9.0.0-0",
51-
"svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.155"
51+
"svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.181"
5252
},
5353
"peerDependenciesMeta": {
5454
"svelte": {
@@ -66,7 +66,7 @@
6666
"postcss-safe-parser": "^6.0.0",
6767
"postcss-selector-parser": "^6.1.0",
6868
"semver": "^7.6.2",
69-
"svelte-eslint-parser": "^0.39.2"
69+
"svelte-eslint-parser": "^0.40.0"
7070
},
7171
"devDependencies": {
7272
"@babel/core": "^7.24.7",
@@ -98,7 +98,7 @@
9898
"sass": "^1.77.5",
9999
"source-map-js": "^1.2.0",
100100
"stylus": "^0.63.0",
101-
"svelte": "^5.0.0-next.155",
101+
"svelte": "^5.0.0-next.181",
102102
"svelte-i18n": "^4.0.0",
103103
"type-coverage": "^2.29.0",
104104
"yaml": "^2.4.5"

packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/_config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
*/
1313
onwarn(warning, handler) {
1414
// transform code
15-
handler({ ...warning, code: 'foo' });
15+
handler({ ...warning, message: warning.message, code: 'foo' });
1616
}
1717
}
1818
}

packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-input.svelte

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
</script>
44

55
<img {src} autofocus />
6+
7+
<!--packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/svelte-config-custom-warn/a11y-input.svelte-->

0 commit comments

Comments
 (0)