From 0d415767b0c5820170c110e8651cacba4072a54c Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 4 Sep 2023 00:04:58 +0000
Subject: [PATCH] chore(deps): Bump prettier from 3.0.2 to 3.0.3 (#236)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [prettier](https://github.com/prettier/prettier) from 3.0.2 to 3.0.3.
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, "..")
);
Changelog
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)