chore(deps): update dependency prettier to v3 (#2257)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
renovate[bot] 2023-08-02 10:37:43 +00:00 committed by GitHub
parent d975c6fc2c
commit 8df73b13bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 17 deletions

View file

@ -121,7 +121,7 @@
"fs-extra": "^11.1.1",
"lint-staged": "^13.2.3",
"nuxt": "3.6.5",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"sharp": "^0.32.4",
"sharp-ico": "^0.1.5",
"simple-git-hooks": "^2.9.0",

View file

@ -282,8 +282,8 @@ importers:
specifier: 3.6.5
version: 3.6.5(@types/node@20.3.3)(eslint@8.46.0)(rollup@2.79.1)(typescript@5.1.6)(vue-tsc@1.8.3)
prettier:
specifier: ^2.8.8
version: 2.8.8
specifier: ^3.0.0
version: 3.0.0
sharp:
specifier: ^0.32.4
version: 0.32.4
@ -2217,8 +2217,8 @@ packages:
vue-i18n:
optional: true
dependencies:
'@intlify/message-compiler': 9.3.0-beta.24
'@intlify/shared': 9.3.0-beta.24
'@intlify/message-compiler': 9.3.0-beta.25
'@intlify/shared': 9.3.0-beta.25
jsonc-eslint-parser: 1.4.1
source-map: 0.6.1
vue-i18n: 9.3.0-beta.16(vue@3.3.4)
@ -2250,11 +2250,11 @@ packages:
source-map: 0.6.1
dev: false
/@intlify/message-compiler@9.3.0-beta.24:
resolution: {integrity: sha512-prhHATkgp0mpPqoVgiAtLmUc1JMvs8fMH6w53AVEBn+VF87dLhzanfmWY5FoZWORG51ag54gBDBOoM/VFv3m3A==}
/@intlify/message-compiler@9.3.0-beta.25:
resolution: {integrity: sha512-uT7ybqKoDEw1XITQYnTYjWgZnpCDmHv9e3D4MmJDqHl2qCm6anzdUXWKHUhqR87Ha9Z8Rl44v40iSI/4NUbppQ==}
engines: {node: '>= 16'}
dependencies:
'@intlify/shared': 9.3.0-beta.24
'@intlify/shared': 9.3.0-beta.25
source-map-js: 1.0.2
dev: false
@ -2263,8 +2263,8 @@ packages:
engines: {node: '>= 14'}
dev: false
/@intlify/shared@9.3.0-beta.24:
resolution: {integrity: sha512-AKxJ8s7eKIQWkNaf4wyyoLRwf4puCuQgjSChlDJm5JBEt6T8HGgnYTJLRXu6LD/JACn3Qwu6hM/XRX1c9yvjmQ==}
/@intlify/shared@9.3.0-beta.25:
resolution: {integrity: sha512-Zg+ECV9RPdp227tCJOgvPb+S3i651nf4kKHsMojSyWCppVK/4NFuDrBG2lIQSQL6Iq5LKVr5MkezHCW2NBTQRg==}
engines: {node: '>= 16'}
dev: false
@ -2284,7 +2284,7 @@ packages:
optional: true
dependencies:
'@intlify/bundle-utils': 4.0.0(vue-i18n@9.3.0-beta.16)
'@intlify/shared': 9.3.0-beta.24
'@intlify/shared': 9.3.0-beta.25
'@rollup/pluginutils': 4.2.1
'@vue/compiler-sfc': 3.3.4
debug: 4.3.4
@ -11499,9 +11499,9 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
/prettier@2.8.8:
resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
engines: {node: '>=10.13.0'}
/prettier@3.0.0:
resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==}
engines: {node: '>=14'}
hasBin: true
dev: true
@ -14359,7 +14359,7 @@ packages:
vue-router:
optional: true
dependencies:
'@intlify/shared': 9.3.0-beta.24
'@intlify/shared': 9.3.0-beta.25
'@intlify/vue-i18n-bridge': 0.8.0(vue-i18n@9.3.0-beta.16)
'@intlify/vue-router-bridge': 0.8.0(vue-router@4.2.4)(vue@3.3.4)
ufo: 1.1.2

View file

@ -254,7 +254,7 @@ async function render(content: string, options?: ContentParseOptions) {
let formatted = ''
try {
formatted = format(html, {
formatted = await format(html, {
parser: 'html',
})
}

View file

@ -71,7 +71,7 @@ async function render(input: string, options?: ContentParseOptions) {
const serializedText = treeToText(tree).trim()
try {
formatted = format(html, {
formatted = await format(html, {
parser: 'html',
})
}