nuxt-site-config-kit
Advanced tools
Comparing version 3.0.5 to 3.0.6
import { Nuxt } from '@nuxt/schema'; | ||
import { SiteConfigStack, SiteConfigInput, SiteConfigResolved } from 'site-config-stack'; | ||
export { createSitePathResolver, withSiteTrailingSlash, withSiteUrl } from './urls.js'; | ||
@@ -10,13 +11,2 @@ declare function initSiteConfig(nuxt?: Nuxt | null): Promise<SiteConfigStack | undefined>; | ||
/** | ||
* @deprecated No longer used | ||
*/ | ||
declare function requireSiteConfig(): void; | ||
declare function assertSiteConfig(module: string, requirements: Partial<Record<keyof SiteConfigResolved, string>>, options?: { | ||
throwError?: boolean; | ||
}): { | ||
valid: boolean; | ||
messages: string[]; | ||
}; | ||
type AssertionModes = 'prerender' | 'generate' | 'build'; | ||
@@ -28,6 +18,2 @@ interface ModuleAssertion { | ||
declare module '@nuxt/schema' { | ||
interface AppConfigInput { | ||
/** Theme configuration */ | ||
site?: SiteConfigInput; | ||
} | ||
interface Nuxt { | ||
@@ -41,2 +27,2 @@ _siteConfig?: SiteConfigStack; | ||
export { type AssertionModes, type ModuleAssertion, assertSiteConfig, getSiteConfigStack, initSiteConfig, installNuxtSiteConfig, requireSiteConfig, updateSiteConfig, useNitroOrigin, useSiteConfig }; | ||
export { type AssertionModes, type ModuleAssertion, getSiteConfigStack, initSiteConfig, installNuxtSiteConfig, updateSiteConfig, useNitroOrigin, useSiteConfig }; |
{ | ||
"name": "nuxt-site-config-kit", | ||
"type": "module", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "Shared site configuration build-time utilities for Nuxt 3 modules.", | ||
@@ -46,3 +46,3 @@ "license": "MIT", | ||
"ufo": "^1.5.4", | ||
"site-config-stack": "3.0.5" | ||
"site-config-stack": "3.0.6" | ||
}, | ||
@@ -49,0 +49,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18387
12
336
+ Added@jridgewell/gen-mapping@0.3.7(transitive)
+ Added@jridgewell/sourcemap-codec@1.4.16-beta.0(transitive)
+ Addedbrowserslist@4.24.2(transitive)
+ Addedcaniuse-lite@1.0.30001687(transitive)
+ Addedelectron-to-chromium@1.5.72(transitive)
+ Addedjsesc@3.0.2(transitive)
+ Addedsite-config-stack@3.0.6(transitive)
+ Addedunctx@2.3.1(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removedbrowserslist@4.24.3(transitive)
- Removedcaniuse-lite@1.0.30001688(transitive)
- Removedelectron-to-chromium@1.5.73(transitive)
- Removedjsesc@3.1.0(transitive)
- Removedsite-config-stack@3.0.5(transitive)
- Removedunctx@2.4.0(transitive)
- Removedunplugin@2.1.0(transitive)
Updatedsite-config-stack@3.0.6