mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
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:
parent
074daa767c
commit
2917af595b
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user