@nuxt/schema
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -617,4 +617,5 @@ import { TransitionProps, KeepAliveProps } from 'vue'; | ||
/** Nuxt modules are always a simple function. */ | ||
type Awaitable<T> = T | Promise<T>; | ||
interface NuxtModule<T extends ModuleOptions = ModuleOptions> { | ||
(this: void, inlineOptions: T, nuxt: Nuxt): void | Promise<void>; | ||
(this: void, inlineOptions: T, nuxt: Nuxt): Awaitable<void | false>; | ||
getOptions?: (inlineOptions?: T, nuxt?: Nuxt) => Promise<T>; | ||
@@ -621,0 +622,0 @@ getMeta?: () => Promise<ModuleMeta>; |
{ | ||
"name": "@nuxt/schema", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"repository": "nuxt/nuxt", | ||
@@ -16,7 +16,7 @@ "license": "MIT", | ||
"@types/semver": "^7.3.13", | ||
"@unhead/schema": "^1.0.18", | ||
"@unhead/schema": "^1.0.20", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"nitropack": "^2.0.0", | ||
"nitropack": "^2.1.1", | ||
"unbuild": "latest", | ||
"vite": "~4.0.4" | ||
"vite": "~4.1.1" | ||
}, | ||
@@ -33,5 +33,5 @@ "dependencies": { | ||
"scule": "^1.0.0", | ||
"std-env": "^3.3.1", | ||
"std-env": "^3.3.2", | ||
"ufo": "^1.0.1", | ||
"unimport": "^2.0.1", | ||
"unimport": "^2.1.0", | ||
"untyped": "^1.2.2" | ||
@@ -38,0 +38,0 @@ }, |
@@ -117,3 +117,3 @@ | ||
You can find the code for Nuxt 2 on the [`2.x-dev` branch](https://github.com/nuxt/nuxt/tree/2.x-dev) and the documentation at [nuxtjs.org](https://nuxtjs.org). | ||
You can find the code for Nuxt 2 on the [`2.x` branch](https://github.com/nuxt/nuxt/tree/2.x) and the documentation at [nuxtjs.org](https://nuxtjs.org). | ||
@@ -120,0 +120,0 @@ ## Follow us |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
321402
10
9269
21
Updatedstd-env@^3.3.2
Updatedunimport@^2.1.0