chore(deps): update all non-major dependencies (#4367)

* chore(deps): update all non-major dependencies

* ignore type issue

* update lockfile

* remove tsignore

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
This commit is contained in:
renovate[bot] 2022-04-15 09:57:23 +02:00 committed by GitHub
parent 074daa767c
commit 2917af595b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 430 additions and 259 deletions

View File

@ -44,13 +44,13 @@
"escape-string-regexp": "^5.0.0",
"fs-extra": "^10.0.1",
"globby": "^13.1.1",
"h3": "^0.7.3",
"h3": "^0.7.4",
"hash-sum": "^2.0.0",
"hookable": "^5.1.1",
"knitwork": "^0.1.1",
"magic-string": "^0.26.1",
"mlly": "^0.5.2",
"nitropack": "^0.2.8",
"nitropack": "^0.2.10",
"nuxi": "3.0.0",
"ohash": "^0.1.0",
"ohmyfetch": "^0.4.15",

View File

@ -105,13 +105,14 @@ export async function initNitro (nuxt: Nuxt) {
// Register nuxt3 protection patterns
nitro.hooks.hook('nitro:rollup:before', (nitro) => {
nitro.options.rollupConfig.plugins.push(ImportProtectionPlugin.rollup({
const plugin = ImportProtectionPlugin.rollup({
rootDir: nuxt.options.rootDir,
patterns: [
...['#app', /^#build(\/|$)/]
.map(p => [p, 'Vue app aliases are not allowed in server routes.']) as [RegExp | string, string][]
]
}))
})
nitro.options.rollupConfig.plugins.push(plugin)
})
// Setup handlers

View File

@ -39,7 +39,7 @@
"postcss": "^8.4.12",
"postcss-import": "^14.1.0",
"postcss-url": "^10.1.3",
"rollup": "^2.70.1",
"rollup": "^2.70.2",
"rollup-plugin-visualizer": "^5.6.0",
"ufo": "^0.8.3",
"unplugin": "^0.6.2",

678
yarn.lock

File diff suppressed because it is too large Load Diff