forked from Mirrors/elk
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:
parent
d975c6fc2c
commit
8df73b13bd
4 changed files with 17 additions and 17 deletions
|
@ -121,7 +121,7 @@
|
||||||
"fs-extra": "^11.1.1",
|
"fs-extra": "^11.1.1",
|
||||||
"lint-staged": "^13.2.3",
|
"lint-staged": "^13.2.3",
|
||||||
"nuxt": "3.6.5",
|
"nuxt": "3.6.5",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^3.0.0",
|
||||||
"sharp": "^0.32.4",
|
"sharp": "^0.32.4",
|
||||||
"sharp-ico": "^0.1.5",
|
"sharp-ico": "^0.1.5",
|
||||||
"simple-git-hooks": "^2.9.0",
|
"simple-git-hooks": "^2.9.0",
|
||||||
|
|
|
@ -282,8 +282,8 @@ importers:
|
||||||
specifier: 3.6.5
|
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)
|
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:
|
prettier:
|
||||||
specifier: ^2.8.8
|
specifier: ^3.0.0
|
||||||
version: 2.8.8
|
version: 3.0.0
|
||||||
sharp:
|
sharp:
|
||||||
specifier: ^0.32.4
|
specifier: ^0.32.4
|
||||||
version: 0.32.4
|
version: 0.32.4
|
||||||
|
@ -2217,8 +2217,8 @@ packages:
|
||||||
vue-i18n:
|
vue-i18n:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/message-compiler': 9.3.0-beta.24
|
'@intlify/message-compiler': 9.3.0-beta.25
|
||||||
'@intlify/shared': 9.3.0-beta.24
|
'@intlify/shared': 9.3.0-beta.25
|
||||||
jsonc-eslint-parser: 1.4.1
|
jsonc-eslint-parser: 1.4.1
|
||||||
source-map: 0.6.1
|
source-map: 0.6.1
|
||||||
vue-i18n: 9.3.0-beta.16(vue@3.3.4)
|
vue-i18n: 9.3.0-beta.16(vue@3.3.4)
|
||||||
|
@ -2250,11 +2250,11 @@ packages:
|
||||||
source-map: 0.6.1
|
source-map: 0.6.1
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@intlify/message-compiler@9.3.0-beta.24:
|
/@intlify/message-compiler@9.3.0-beta.25:
|
||||||
resolution: {integrity: sha512-prhHATkgp0mpPqoVgiAtLmUc1JMvs8fMH6w53AVEBn+VF87dLhzanfmWY5FoZWORG51ag54gBDBOoM/VFv3m3A==}
|
resolution: {integrity: sha512-uT7ybqKoDEw1XITQYnTYjWgZnpCDmHv9e3D4MmJDqHl2qCm6anzdUXWKHUhqR87Ha9Z8Rl44v40iSI/4NUbppQ==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/shared': 9.3.0-beta.24
|
'@intlify/shared': 9.3.0-beta.25
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
@ -2263,8 +2263,8 @@ packages:
|
||||||
engines: {node: '>= 14'}
|
engines: {node: '>= 14'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@intlify/shared@9.3.0-beta.24:
|
/@intlify/shared@9.3.0-beta.25:
|
||||||
resolution: {integrity: sha512-AKxJ8s7eKIQWkNaf4wyyoLRwf4puCuQgjSChlDJm5JBEt6T8HGgnYTJLRXu6LD/JACn3Qwu6hM/XRX1c9yvjmQ==}
|
resolution: {integrity: sha512-Zg+ECV9RPdp227tCJOgvPb+S3i651nf4kKHsMojSyWCppVK/4NFuDrBG2lIQSQL6Iq5LKVr5MkezHCW2NBTQRg==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
@ -2284,7 +2284,7 @@ packages:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@intlify/bundle-utils': 4.0.0(vue-i18n@9.3.0-beta.16)
|
'@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
|
'@rollup/pluginutils': 4.2.1
|
||||||
'@vue/compiler-sfc': 3.3.4
|
'@vue/compiler-sfc': 3.3.4
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
|
@ -11499,9 +11499,9 @@ packages:
|
||||||
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
|
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
|
||||||
engines: {node: '>= 0.8.0'}
|
engines: {node: '>= 0.8.0'}
|
||||||
|
|
||||||
/prettier@2.8.8:
|
/prettier@3.0.0:
|
||||||
resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
|
resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==}
|
||||||
engines: {node: '>=10.13.0'}
|
engines: {node: '>=14'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
@ -14359,7 +14359,7 @@ packages:
|
||||||
vue-router:
|
vue-router:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
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-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)
|
'@intlify/vue-router-bridge': 0.8.0(vue-router@4.2.4)(vue@3.3.4)
|
||||||
ufo: 1.1.2
|
ufo: 1.1.2
|
||||||
|
|
|
@ -254,7 +254,7 @@ async function render(content: string, options?: ContentParseOptions) {
|
||||||
let formatted = ''
|
let formatted = ''
|
||||||
|
|
||||||
try {
|
try {
|
||||||
formatted = format(html, {
|
formatted = await format(html, {
|
||||||
parser: 'html',
|
parser: 'html',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,7 +71,7 @@ async function render(input: string, options?: ContentParseOptions) {
|
||||||
const serializedText = treeToText(tree).trim()
|
const serializedText = treeToText(tree).trim()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
formatted = format(html, {
|
formatted = await format(html, {
|
||||||
parser: 'html',
|
parser: 'html',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue