Clean changelog_unreleased
This commit is contained in:
1 parent
2bfff20275
commit
7be05ab5a4
2 files changed
-28
No files matched your search
@@ -1,8 +0,0 @@
|
||||
#### Avoid closing files multiple times (#17665 by @43081j)
|
||||
|
||||
When reading a file to infer the interpreter from a shebang, we use the
|
||||
`n-readlines` library to read the first line in order to get the shebang.
|
||||
|
||||
This library closes files when it reaches EOF, and we later try close the same
|
||||
files again. We now close files only if `n-readlines` did not already close
|
||||
them.
|
||||
@@ -1,20 +0,0 @@
|
||||
#### Allow const without initializer (#17650, #17654 by @fisker)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
// Input
|
||||
export const version: string;
|
||||
|
||||
// Prettier stable (--parser=babel-ts)
|
||||
SyntaxError: Unexpected token (1:21)
|
||||
> 1 | export const version: string;
|
||||
| ^
|
||||
|
||||
// Prettier stable (--parser=oxc-ts)
|
||||
SyntaxError: Missing initializer in const declaration (1:14)
|
||||
> 1 | export const version: string;
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
||||
// Prettier main
|
||||
export const version: string;
|
||||
```
|
||||
Reference in new issue
Block a user