Skip to content

Commit a2de007

Browse files
authored
(chore) bump prettier (#1152)
newest prettier-plugin-svelte version supports formatting pug with its plugin, if provided #951
1 parent 37d631f commit a2de007

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

docs/preprocessors/typescript.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,13 @@ The first and possibly most often used way is to type the `createEventDispatcher
7979
<script lang="ts">
8080
import { createEventDispatcher } from 'svelte';
8181
82-
const dispatch =
83-
createEventDispatcher<{
84-
/**
85-
* you can also add docs
86-
*/
87-
checked: boolean; // Will translate to `CustomEvent<boolean>`
88-
hello: string;
89-
}>();
82+
const dispatch = createEventDispatcher<{
83+
/**
84+
* you can also add docs
85+
*/
86+
checked: boolean; // Will translate to `CustomEvent<boolean>`
87+
hello: string;
88+
}>();
9089
9190
// ...
9291
</script>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"eslint": "^7.7.0",
2626
"eslint-plugin-import": "^2.22.1",
2727
"eslint-plugin-svelte3": "^2.7.3",
28-
"prettier": "2.3.0",
28+
"prettier": "2.3.2",
2929
"cross-env": "^7.0.2",
3030
"ts-node": "^10.0.0"
3131
}

packages/language-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
"estree-walker": "^2.0.1",
5353
"fast-glob": "^3.2.7",
5454
"lodash": "^4.17.21",
55-
"prettier": "2.3.0",
56-
"prettier-plugin-svelte": "~2.3.0",
55+
"prettier": "2.3.2",
56+
"prettier-plugin-svelte": "~2.4.0",
5757
"source-map": "^0.7.3",
5858
"svelte": "~3.38.2",
5959
"svelte-preprocess": "~4.7.3",

yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,15 +2077,15 @@ prelude-ls@^1.2.1:
20772077
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
20782078
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
20792079

2080-
prettier-plugin-svelte@~2.3.0:
2081-
version "2.3.0"
2082-
resolved "https://registry.yarnpkg.com/prettier-plugin-svelte/-/prettier-plugin-svelte-2.3.0.tgz#9956a39d18b217557ab8766c264d8cd003983608"
2083-
integrity sha512-HTzXvSq7lWFuLsSaxYOUkGkVNCl3RrSjDCOgQjkBX5FQGmWjL8o3IFACSGhjPMMfWKADpapAr0zdbBWkND9mqw==
2080+
prettier-plugin-svelte@~2.4.0:
2081+
version "2.4.0"
2082+
resolved "https://registry.yarnpkg.com/prettier-plugin-svelte/-/prettier-plugin-svelte-2.4.0.tgz#482bb6003bf1d5bd7ff002261a42a32b87d42d00"
2083+
integrity sha512-JwJ9bOz4XHLQtiLnX4mTSSDUdhu12WH8sTwy/XTDCSyPlah6IcV7NWeYBZscPEcceu2YnW8Y9sJCP40Z2UH9GA==
20842084

2085-
2086-
version "2.3.0"
2087-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
2088-
integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==
2085+
2086+
version "2.3.2"
2087+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
2088+
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==
20892089

20902090
progress@^2.0.0:
20912091
version "2.0.3"
@@ -2499,9 +2499,9 @@ svelte-preprocess@~4.7.3:
24992499
strip-indent "^3.0.0"
25002500

25012501
svelte@~3.38.2:
2502-
version "3.38.2"
2503-
resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.38.2.tgz#55e5c681f793ae349b5cc2fe58e5782af4275ef5"
2504-
integrity sha512-q5Dq0/QHh4BLJyEVWGe7Cej5NWs040LWjMbicBGZ+3qpFWJ1YObRmUDZKbbovddLC9WW7THTj3kYbTOFmU9fbg==
2502+
version "3.38.3"
2503+
resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.38.3.tgz#e15a1da98ee4b10162a6c8cb4c80aa86b2b589ed"
2504+
integrity sha512-N7bBZJH0iF24wsalFZF+fVYMUOigaAUQMIcEKHO3jstK/iL8VmP9xE+P0/a76+FkNcWt+TDv2Gx1taUoUscrvw==
25052505

25062506
table@^5.2.3:
25072507
version "5.4.6"

0 commit comments

Comments
 (0)