From 7bf41424187f56805d0c23555c9299fda19c1006 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 31 Oct 2023 16:35:04 +0000
Subject: [PATCH] Bump prettier from 2.8.8 to 3.0.3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.3.
Sourced from prettier's releases. 🔗 Changelog 🔗 Changelog 🔗 Changelog 🔗 Release note Other changes since v2, see Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6 Other changes since v2, see Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5 Other changes since v2, see Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4 Other changes since v2, see Full Changelog: https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3 ... (truncated) Sourced from prettier's changelog. Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add If an external shared config package is used, and the package In Prettier 3.0.2 Prettier fails when attempt to // Prettier 3.0.2
const plugin = require(global.STANDALONE
? path.join(__dirname, "../standalone.js")
: path.join(__dirname, "..")); // Prettier 3.0.3
const plugin = require(
global.STANDALONE
? path.join(__dirname, "../standalone.js")
: path.join(__dirname, "..")
);
Release notes
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0-alpha.6
What's Changed
.d.ts
files of plugins to use export default ...
by @​fisker
in prettier/prettier#144353.0.0-alpha.1
release notes3.0.0-alpha.5
What's Changed
.d.ts
files by @​sosukesuzuki
in prettier/prettier#14212babel-ts
parser by @​fisker
in prettier/prettier#143913.0.0-alpha.1
release notes3.0.0-alpha.4
What's Changed
@​thorn0
in prettier/prettier#13687resolveParser
work like v2 by @​fisker
in prettier/prettier#13732__debug
apis to cjs version by @​fisker
in prettier/prettier#137313.0.0-alpha.1
release notes3.0.0-alpha.3
exports
field in package.json
file3.0.0-alpha.1
release notes3.0.0-alpha.2
index.cjs
fileChangelog
3.0.3
Add
preferUnplugged: true
to package.json
(#15169 by @​fisker
and @​so1ve
)preferUnplugged: true
to package.json
, so Yarn will install Prettier as unplug by default.Support shared config that forbids
require()
(#15233 by @​fisker
)exports
don't have require
or default
export.require()
the package, and throws an error.Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.json
Allow argument of
require()
to break (#15256 by @​fisker
)// Input
const plugin = require(
global.STANDALONE
? path.join(__dirname, "../standalone.js")
: path.join(__dirname, "..")
);
ts
code blocks (#15286 by @​sosukesuzuki
)<!-- Input -->
```ts
const foo = <T>() => {}
```
</tr></table>
... (truncated)
d5f3171
Release 3.0.3a35008f
Support shared config that forbids require()
(#15233)1ce97d1
Support TypeScript 5.2 using
/ await using
declaration (#15321)a73cfa0
Fix build script --report
option (#15323)941c6b3
Minor refactor to getSupportedFilesGlob
(#15319)f6c9e9b
Assert uniqueness in language properties (#15320)288ea7e
chore(deps): update dependency webpack to v5.88.2 (#15147)6654451
chore(deps): update dependency webpack to v5.88.2 (#15148)d059644
chore(deps): update dependency fast-glob to v3.3.1 (#15001)423011d
Minor refactor to expandPatterns
(#15317)