Commit 3eaa2fb
authored
chore: bump dprint-plugin-typescript to 0.96.0, remove deno-fmt-ignore-file (#33839)
## Summary
- Bumps dprint-plugin-typescript from 0.95.15 to 0.96.0
- Enables the new `functionExpression.flatIife` option
- Removes all `// deno-fmt-ignore-file` directives from IIFE-wrapped
lazy-loaded scripts
### Background
During the lazy-loaded script conversions (ext/ IIFE rewrites), we had
to add `// deno-fmt-ignore-file` to every converted file because dprint
would indent the entire IIFE body by 2 spaces, producing massive diffs.
dprint-plugin-typescript 0.96.0 (released today) adds the
`functionExpression.flatIife` option
(dprint/dprint-plugin-typescript#781) which tells the formatter to not
indent the body of `(function () { ... })()` patterns. This lets us
remove all the ignore directives while keeping the flat indentation
style.1 parent 1b8b26d commit 3eaa2fb
81 files changed
Lines changed: 255 additions & 266 deletions
File tree
- ext
- cache
- canvas
- cron
- crypto
- fetch
- ffi
- fs
- http
- io
- kv
- net
- node/polyfills
- _util
- internal_binding
- internal
- crypto
- errors
- streams
- util
- os
- process
- telemetry
- webgpu
- webidl
- webstorage
- web
- libs
- core_testing/unit
- core/modules/testdata
- tests
- integration
- specs/run
- dom_readable_stream_from
- finalization_registry
- testdata/run
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
340 | 339 | | |
341 | 340 | | |
342 | 341 | | |
343 | | - | |
344 | 342 | | |
345 | | - | |
| 343 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
174 | 173 | | |
175 | 174 | | |
176 | 175 | | |
177 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
230 | | - | |
| 231 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
6122 | 6121 | | |
6123 | 6122 | | |
6124 | 6123 | | |
6125 | | - | |
| 6124 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
533 | 532 | | |
534 | 533 | | |
535 | 534 | | |
536 | | - | |
| 535 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
554 | 553 | | |
555 | 554 | | |
556 | 555 | | |
557 | | - | |
| 556 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
573 | 572 | | |
574 | 573 | | |
575 | 574 | | |
576 | | - | |
| 575 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
| 128 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
640 | 643 | | |
641 | 644 | | |
642 | 645 | | |
643 | | - | |
| 646 | + | |
0 commit comments