@nuxt/kit
Advanced tools
+34
-24
@@ -1,2 +0,1 @@ | ||
| import * as _nuxt_schema from '@nuxt/schema'; | ||
| import { ModuleOptions, ModuleDefinition, NuxtModule, NuxtConfig, Nuxt, ModuleMeta, NuxtOptions, SchemaDefinition, NuxtAppConfig, NuxtCompatibility, NuxtCompatibilityIssues, Component, ComponentsDir, NuxtTemplate, NuxtMiddleware, NuxtHooks, NuxtPlugin, NuxtPluginTemplate, ResolvedNuxtTemplate, NuxtServerTemplate, NuxtTypeTemplate } from '@nuxt/schema'; | ||
@@ -8,7 +7,7 @@ import { LoadConfigOptions } from 'c12'; | ||
| import { Plugin, UserConfig } from 'vite'; | ||
| import * as unctx from 'unctx'; | ||
| import { NitroRouteConfig, NitroEventHandler, NitroDevEventHandler, Nitro } from 'nitropack'; | ||
| import { UseContext } from 'unctx'; | ||
| import * as NitroV2 from 'nitropack/types'; | ||
| import * as NitroV3 from 'nitro/types'; | ||
| import { GlobOptions } from 'tinyglobby'; | ||
| import * as consola from 'consola'; | ||
| import { ConsolaOptions } from 'consola'; | ||
| import { ConsolaInstance, ConsolaOptions } from 'consola'; | ||
| import { genSafeVariableName } from 'knitwork'; | ||
@@ -57,3 +56,3 @@ | ||
| /** | ||
| * Checks if a Nuxt Module is compatible with a given semver version. | ||
| * Checks if a Nuxt module is compatible with a given semver version. | ||
| */ | ||
@@ -121,3 +120,3 @@ declare function hasNuxtModuleCompatibility(module: string | NuxtModule, semverVersion: string, nuxt?: Nuxt): Promise<boolean>; | ||
| */ | ||
| declare function getLayerDirectories(nuxt?: _nuxt_schema.Nuxt): LayerDirectories[]; | ||
| declare function getLayerDirectories(nuxt?: Nuxt): LayerDirectories[]; | ||
@@ -143,2 +142,4 @@ declare function setGlobalHead(head: NuxtAppConfig['head']): void; | ||
| type Arrayable<T> = T | T[]; | ||
| type Thenable<T> = T | Promise<T>; | ||
| interface ExtendConfigOptions { | ||
@@ -190,2 +191,3 @@ /** | ||
| } | ||
| type ExtendWebpacklikeConfig = (fn: (config: Configuration) => void, options?: ExtendWebpackConfigOptions) => void; | ||
| /** | ||
@@ -197,3 +199,3 @@ * Extend webpack config | ||
| */ | ||
| declare const extendWebpackConfig: (fn: ((config: Configuration) => void), options?: ExtendWebpackConfigOptions) => void; | ||
| declare const extendWebpackConfig: ExtendWebpacklikeConfig; | ||
| /** | ||
@@ -205,23 +207,23 @@ * Extend rspack config | ||
| */ | ||
| declare const extendRspackConfig: (fn: ((config: Configuration) => void), options?: ExtendWebpackConfigOptions) => void; | ||
| declare const extendRspackConfig: ExtendWebpacklikeConfig; | ||
| /** | ||
| * Extend Vite config | ||
| */ | ||
| declare function extendViteConfig(fn: ((config: UserConfig) => void), options?: ExtendViteConfigOptions): (() => void) | undefined; | ||
| declare function extendViteConfig(fn: ((config: UserConfig) => Thenable<void>), options?: ExtendViteConfigOptions): (() => void) | undefined; | ||
| /** | ||
| * Append webpack plugin to the config. | ||
| */ | ||
| declare function addWebpackPlugin(pluginOrGetter: WebpackPluginInstance | WebpackPluginInstance[] | (() => WebpackPluginInstance | WebpackPluginInstance[]), options?: ExtendWebpackConfigOptions): void; | ||
| declare function addWebpackPlugin(pluginOrGetter: Arrayable<WebpackPluginInstance> | (() => Thenable<Arrayable<WebpackPluginInstance>>), options?: ExtendWebpackConfigOptions): void; | ||
| /** | ||
| * Append rspack plugin to the config. | ||
| */ | ||
| declare function addRspackPlugin(pluginOrGetter: RspackPluginInstance | RspackPluginInstance[] | (() => RspackPluginInstance | RspackPluginInstance[]), options?: ExtendWebpackConfigOptions): void; | ||
| declare function addRspackPlugin(pluginOrGetter: Arrayable<RspackPluginInstance> | (() => Thenable<Arrayable<RspackPluginInstance>>), options?: ExtendWebpackConfigOptions): void; | ||
| /** | ||
| * Append Vite plugin to the config. | ||
| */ | ||
| declare function addVitePlugin(pluginOrGetter: Plugin | Plugin[] | (() => Plugin | Plugin[]), options?: ExtendConfigOptions): void; | ||
| declare function addVitePlugin(pluginOrGetter: Arrayable<Plugin> | (() => Thenable<Arrayable<Plugin>>), options?: ExtendConfigOptions): void; | ||
| interface AddBuildPluginFactory { | ||
| vite?: () => Plugin | Plugin[]; | ||
| webpack?: () => WebpackPluginInstance | WebpackPluginInstance[]; | ||
| rspack?: () => RspackPluginInstance | RspackPluginInstance[]; | ||
| vite?: () => Thenable<Arrayable<Plugin>>; | ||
| webpack?: () => Thenable<Arrayable<WebpackPluginInstance>>; | ||
| rspack?: () => Thenable<Arrayable<RspackPluginInstance>>; | ||
| } | ||
@@ -243,6 +245,7 @@ declare function addBuildPlugin(pluginFactory: AddBuildPluginFactory, options?: ExtendConfigOptions): void; | ||
| declare function hasNuxtCompatibility(constraints: NuxtCompatibility, nuxt?: Nuxt): Promise<boolean>; | ||
| type NuxtMajorVersion = 2 | 3 | 4; | ||
| /** | ||
| * Check if current Nuxt instance is of specified major version | ||
| */ | ||
| declare function isNuxtMajorVersion(majorVersion: 2 | 3 | 4, nuxt?: Nuxt): boolean; | ||
| declare function isNuxtMajorVersion(majorVersion: NuxtMajorVersion, nuxt?: Nuxt): boolean; | ||
| /** | ||
@@ -290,3 +293,3 @@ * @deprecated Use `isNuxtMajorVersion(2, nuxt)` instead. This may be removed in \@nuxt/kit v5 or a future major version. | ||
| */ | ||
| declare const nuxtCtx: unctx.UseContext<Nuxt>; | ||
| declare const nuxtCtx: UseContext<Nuxt>; | ||
| /** Direct access to the Nuxt context with asyncLocalStorage - see https://github.com/unjs/unctx. */ | ||
@@ -319,7 +322,7 @@ declare const getNuxtCtx: () => Nuxt | null; | ||
| declare function createIsIgnored(nuxt?: _nuxt_schema.Nuxt | null): (pathname: string, stats?: unknown) => boolean; | ||
| declare function createIsIgnored(nuxt?: Nuxt | null | undefined): (pathname: string, stats?: unknown) => boolean; | ||
| /** | ||
| * Return a filter function to filter an array of paths | ||
| */ | ||
| declare function isIgnored(pathname: string, _stats?: unknown, nuxt?: _nuxt_schema.Nuxt | null): boolean; | ||
| declare function isIgnored(pathname: string, _stats?: unknown, nuxt?: Nuxt | null | undefined): boolean; | ||
| declare function resolveIgnorePatterns(relativePath?: string): string[]; | ||
@@ -329,2 +332,9 @@ | ||
| type isNitroV2 = 'options' extends keyof NitroV2.Nitro ? '___INVALID' extends keyof NitroV2.Nitro ? false : true : false; | ||
| type isNitroV3 = 'options' extends keyof NitroV3.Nitro ? '___INVALID' extends keyof NitroV3.Nitro ? false : true : false; | ||
| type Nitro = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.Nitro | NitroV3.Nitro : NitroV2.Nitro : NitroV3.Nitro; | ||
| type NitroDevEventHandler = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.NitroDevEventHandler | NitroV3.NitroDevEventHandler : NitroV2.NitroDevEventHandler : NitroV3.NitroDevEventHandler; | ||
| type NitroEventHandler = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.NitroEventHandler | NitroV3.NitroEventHandler : NitroV2.NitroEventHandler : NitroV3.NitroEventHandler; | ||
| type NitroRouteConfig = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.NitroRouteConfig | NitroV3.NitroRouteConfig : NitroV2.NitroRouteConfig : NitroV3.NitroRouteConfig; | ||
| declare function extendPages(cb: NuxtHooks['pages:extend']): void; | ||
@@ -530,7 +540,7 @@ interface ExtendRouteRulesOptions { | ||
| filter?: (template: ResolvedNuxtTemplate<any>) => boolean; | ||
| }): Promise<any>; | ||
| }): Promise<void>; | ||
| declare function writeTypes(nuxt: Nuxt): Promise<void>; | ||
| declare const logger: consola.ConsolaInstance; | ||
| declare function useLogger(tag?: string, options?: Partial<ConsolaOptions>): consola.ConsolaInstance; | ||
| declare const logger: ConsolaInstance; | ||
| declare function useLogger(tag?: string, options?: Partial<ConsolaOptions>): ConsolaInstance; | ||
@@ -582,2 +592,2 @@ interface ResolveModuleOptions { | ||
| export { addBuildPlugin, addComponent, addComponentExports, addComponentsDir, addDevServerHandler, addImports, addImportsDir, addImportsSources, addLayout, addPlugin, addPluginTemplate, addPrerenderRoutes, addRouteMiddleware, addRspackPlugin, addServerHandler, addServerImports, addServerImportsDir, addServerPlugin, addServerScanDir, addServerTemplate, addTemplate, addTypeTemplate, addVitePlugin, addWebpackPlugin, assertNuxtCompatibility, buildNuxt, checkNuxtCompatibility, compileTemplate, createIsIgnored, createResolver, defineNuxtModule, directoryToURL, extendNuxtSchema, extendPages, extendRouteRules, extendRspackConfig, extendViteConfig, extendWebpackConfig, findPath, getDirectory, getLayerDirectories, getNuxtCtx, getNuxtModuleVersion, getNuxtVersion, hasNuxtCompatibility, hasNuxtModule, hasNuxtModuleCompatibility, importModule, installModule, installModules, isIgnored, isNuxt2, isNuxt3, isNuxtMajorVersion, loadNuxt, loadNuxtConfig, loadNuxtModuleInstance, logger, normalizeModuleTranspilePath, normalizePlugin, normalizeSemanticVersion, normalizeTemplate, nuxtCtx, requireModule, resolveAlias, resolveFiles, resolveIgnorePatterns, resolveModule, resolveModuleWithOptions, resolveNuxtModule, resolvePath, runWithNuxtContext, setGlobalHead, templateUtils, tryImportModule, tryRequireModule, tryResolveModule, tryUseNuxt, updateRuntimeConfig, updateTemplates, useLogger, useNitro, useNuxt, useRuntimeConfig, writeTypes }; | ||
| export type { AddComponentOptions, AddPluginOptions, AddRouteMiddlewareOptions, ExtendConfigOptions, ExtendRouteRulesOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions, ImportModuleOptions, LayerDirectories, LoadNuxtConfigOptions, LoadNuxtOptions, ResolveModuleOptions, ResolvePathOptions, Resolver }; | ||
| export type { AddComponentOptions, AddPluginOptions, AddRouteMiddlewareOptions, ExtendConfigOptions, ExtendRouteRulesOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions, ImportModuleOptions, LayerDirectories, LoadNuxtConfigOptions, LoadNuxtOptions, NuxtMajorVersion, ResolveModuleOptions, ResolvePathOptions, Resolver }; |
+34
-24
@@ -1,2 +0,1 @@ | ||
| import * as _nuxt_schema from '@nuxt/schema'; | ||
| import { ModuleOptions, ModuleDefinition, NuxtModule, NuxtConfig, Nuxt, ModuleMeta, NuxtOptions, SchemaDefinition, NuxtAppConfig, NuxtCompatibility, NuxtCompatibilityIssues, Component, ComponentsDir, NuxtTemplate, NuxtMiddleware, NuxtHooks, NuxtPlugin, NuxtPluginTemplate, ResolvedNuxtTemplate, NuxtServerTemplate, NuxtTypeTemplate } from '@nuxt/schema'; | ||
@@ -8,7 +7,7 @@ import { LoadConfigOptions } from 'c12'; | ||
| import { Plugin, UserConfig } from 'vite'; | ||
| import * as unctx from 'unctx'; | ||
| import { NitroRouteConfig, NitroEventHandler, NitroDevEventHandler, Nitro } from 'nitropack'; | ||
| import { UseContext } from 'unctx'; | ||
| import * as NitroV2 from 'nitropack/types'; | ||
| import * as NitroV3 from 'nitro/types'; | ||
| import { GlobOptions } from 'tinyglobby'; | ||
| import * as consola from 'consola'; | ||
| import { ConsolaOptions } from 'consola'; | ||
| import { ConsolaInstance, ConsolaOptions } from 'consola'; | ||
| import { genSafeVariableName } from 'knitwork'; | ||
@@ -57,3 +56,3 @@ | ||
| /** | ||
| * Checks if a Nuxt Module is compatible with a given semver version. | ||
| * Checks if a Nuxt module is compatible with a given semver version. | ||
| */ | ||
@@ -121,3 +120,3 @@ declare function hasNuxtModuleCompatibility(module: string | NuxtModule, semverVersion: string, nuxt?: Nuxt): Promise<boolean>; | ||
| */ | ||
| declare function getLayerDirectories(nuxt?: _nuxt_schema.Nuxt): LayerDirectories[]; | ||
| declare function getLayerDirectories(nuxt?: Nuxt): LayerDirectories[]; | ||
@@ -143,2 +142,4 @@ declare function setGlobalHead(head: NuxtAppConfig['head']): void; | ||
| type Arrayable<T> = T | T[]; | ||
| type Thenable<T> = T | Promise<T>; | ||
| interface ExtendConfigOptions { | ||
@@ -190,2 +191,3 @@ /** | ||
| } | ||
| type ExtendWebpacklikeConfig = (fn: (config: Configuration) => void, options?: ExtendWebpackConfigOptions) => void; | ||
| /** | ||
@@ -197,3 +199,3 @@ * Extend webpack config | ||
| */ | ||
| declare const extendWebpackConfig: (fn: ((config: Configuration) => void), options?: ExtendWebpackConfigOptions) => void; | ||
| declare const extendWebpackConfig: ExtendWebpacklikeConfig; | ||
| /** | ||
@@ -205,23 +207,23 @@ * Extend rspack config | ||
| */ | ||
| declare const extendRspackConfig: (fn: ((config: Configuration) => void), options?: ExtendWebpackConfigOptions) => void; | ||
| declare const extendRspackConfig: ExtendWebpacklikeConfig; | ||
| /** | ||
| * Extend Vite config | ||
| */ | ||
| declare function extendViteConfig(fn: ((config: UserConfig) => void), options?: ExtendViteConfigOptions): (() => void) | undefined; | ||
| declare function extendViteConfig(fn: ((config: UserConfig) => Thenable<void>), options?: ExtendViteConfigOptions): (() => void) | undefined; | ||
| /** | ||
| * Append webpack plugin to the config. | ||
| */ | ||
| declare function addWebpackPlugin(pluginOrGetter: WebpackPluginInstance | WebpackPluginInstance[] | (() => WebpackPluginInstance | WebpackPluginInstance[]), options?: ExtendWebpackConfigOptions): void; | ||
| declare function addWebpackPlugin(pluginOrGetter: Arrayable<WebpackPluginInstance> | (() => Thenable<Arrayable<WebpackPluginInstance>>), options?: ExtendWebpackConfigOptions): void; | ||
| /** | ||
| * Append rspack plugin to the config. | ||
| */ | ||
| declare function addRspackPlugin(pluginOrGetter: RspackPluginInstance | RspackPluginInstance[] | (() => RspackPluginInstance | RspackPluginInstance[]), options?: ExtendWebpackConfigOptions): void; | ||
| declare function addRspackPlugin(pluginOrGetter: Arrayable<RspackPluginInstance> | (() => Thenable<Arrayable<RspackPluginInstance>>), options?: ExtendWebpackConfigOptions): void; | ||
| /** | ||
| * Append Vite plugin to the config. | ||
| */ | ||
| declare function addVitePlugin(pluginOrGetter: Plugin | Plugin[] | (() => Plugin | Plugin[]), options?: ExtendConfigOptions): void; | ||
| declare function addVitePlugin(pluginOrGetter: Arrayable<Plugin> | (() => Thenable<Arrayable<Plugin>>), options?: ExtendConfigOptions): void; | ||
| interface AddBuildPluginFactory { | ||
| vite?: () => Plugin | Plugin[]; | ||
| webpack?: () => WebpackPluginInstance | WebpackPluginInstance[]; | ||
| rspack?: () => RspackPluginInstance | RspackPluginInstance[]; | ||
| vite?: () => Thenable<Arrayable<Plugin>>; | ||
| webpack?: () => Thenable<Arrayable<WebpackPluginInstance>>; | ||
| rspack?: () => Thenable<Arrayable<RspackPluginInstance>>; | ||
| } | ||
@@ -243,6 +245,7 @@ declare function addBuildPlugin(pluginFactory: AddBuildPluginFactory, options?: ExtendConfigOptions): void; | ||
| declare function hasNuxtCompatibility(constraints: NuxtCompatibility, nuxt?: Nuxt): Promise<boolean>; | ||
| type NuxtMajorVersion = 2 | 3 | 4; | ||
| /** | ||
| * Check if current Nuxt instance is of specified major version | ||
| */ | ||
| declare function isNuxtMajorVersion(majorVersion: 2 | 3 | 4, nuxt?: Nuxt): boolean; | ||
| declare function isNuxtMajorVersion(majorVersion: NuxtMajorVersion, nuxt?: Nuxt): boolean; | ||
| /** | ||
@@ -290,3 +293,3 @@ * @deprecated Use `isNuxtMajorVersion(2, nuxt)` instead. This may be removed in \@nuxt/kit v5 or a future major version. | ||
| */ | ||
| declare const nuxtCtx: unctx.UseContext<Nuxt>; | ||
| declare const nuxtCtx: UseContext<Nuxt>; | ||
| /** Direct access to the Nuxt context with asyncLocalStorage - see https://github.com/unjs/unctx. */ | ||
@@ -319,7 +322,7 @@ declare const getNuxtCtx: () => Nuxt | null; | ||
| declare function createIsIgnored(nuxt?: _nuxt_schema.Nuxt | null): (pathname: string, stats?: unknown) => boolean; | ||
| declare function createIsIgnored(nuxt?: Nuxt | null | undefined): (pathname: string, stats?: unknown) => boolean; | ||
| /** | ||
| * Return a filter function to filter an array of paths | ||
| */ | ||
| declare function isIgnored(pathname: string, _stats?: unknown, nuxt?: _nuxt_schema.Nuxt | null): boolean; | ||
| declare function isIgnored(pathname: string, _stats?: unknown, nuxt?: Nuxt | null | undefined): boolean; | ||
| declare function resolveIgnorePatterns(relativePath?: string): string[]; | ||
@@ -329,2 +332,9 @@ | ||
| type isNitroV2 = 'options' extends keyof NitroV2.Nitro ? '___INVALID' extends keyof NitroV2.Nitro ? false : true : false; | ||
| type isNitroV3 = 'options' extends keyof NitroV3.Nitro ? '___INVALID' extends keyof NitroV3.Nitro ? false : true : false; | ||
| type Nitro = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.Nitro | NitroV3.Nitro : NitroV2.Nitro : NitroV3.Nitro; | ||
| type NitroDevEventHandler = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.NitroDevEventHandler | NitroV3.NitroDevEventHandler : NitroV2.NitroDevEventHandler : NitroV3.NitroDevEventHandler; | ||
| type NitroEventHandler = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.NitroEventHandler | NitroV3.NitroEventHandler : NitroV2.NitroEventHandler : NitroV3.NitroEventHandler; | ||
| type NitroRouteConfig = isNitroV2 extends true ? isNitroV3 extends true ? NitroV2.NitroRouteConfig | NitroV3.NitroRouteConfig : NitroV2.NitroRouteConfig : NitroV3.NitroRouteConfig; | ||
| declare function extendPages(cb: NuxtHooks['pages:extend']): void; | ||
@@ -530,7 +540,7 @@ interface ExtendRouteRulesOptions { | ||
| filter?: (template: ResolvedNuxtTemplate<any>) => boolean; | ||
| }): Promise<any>; | ||
| }): Promise<void>; | ||
| declare function writeTypes(nuxt: Nuxt): Promise<void>; | ||
| declare const logger: consola.ConsolaInstance; | ||
| declare function useLogger(tag?: string, options?: Partial<ConsolaOptions>): consola.ConsolaInstance; | ||
| declare const logger: ConsolaInstance; | ||
| declare function useLogger(tag?: string, options?: Partial<ConsolaOptions>): ConsolaInstance; | ||
@@ -582,2 +592,2 @@ interface ResolveModuleOptions { | ||
| export { addBuildPlugin, addComponent, addComponentExports, addComponentsDir, addDevServerHandler, addImports, addImportsDir, addImportsSources, addLayout, addPlugin, addPluginTemplate, addPrerenderRoutes, addRouteMiddleware, addRspackPlugin, addServerHandler, addServerImports, addServerImportsDir, addServerPlugin, addServerScanDir, addServerTemplate, addTemplate, addTypeTemplate, addVitePlugin, addWebpackPlugin, assertNuxtCompatibility, buildNuxt, checkNuxtCompatibility, compileTemplate, createIsIgnored, createResolver, defineNuxtModule, directoryToURL, extendNuxtSchema, extendPages, extendRouteRules, extendRspackConfig, extendViteConfig, extendWebpackConfig, findPath, getDirectory, getLayerDirectories, getNuxtCtx, getNuxtModuleVersion, getNuxtVersion, hasNuxtCompatibility, hasNuxtModule, hasNuxtModuleCompatibility, importModule, installModule, installModules, isIgnored, isNuxt2, isNuxt3, isNuxtMajorVersion, loadNuxt, loadNuxtConfig, loadNuxtModuleInstance, logger, normalizeModuleTranspilePath, normalizePlugin, normalizeSemanticVersion, normalizeTemplate, nuxtCtx, requireModule, resolveAlias, resolveFiles, resolveIgnorePatterns, resolveModule, resolveModuleWithOptions, resolveNuxtModule, resolvePath, runWithNuxtContext, setGlobalHead, templateUtils, tryImportModule, tryRequireModule, tryResolveModule, tryUseNuxt, updateRuntimeConfig, updateTemplates, useLogger, useNitro, useNuxt, useRuntimeConfig, writeTypes }; | ||
| export type { AddComponentOptions, AddPluginOptions, AddRouteMiddlewareOptions, ExtendConfigOptions, ExtendRouteRulesOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions, ImportModuleOptions, LayerDirectories, LoadNuxtConfigOptions, LoadNuxtOptions, ResolveModuleOptions, ResolvePathOptions, Resolver }; | ||
| export type { AddComponentOptions, AddPluginOptions, AddRouteMiddlewareOptions, ExtendConfigOptions, ExtendRouteRulesOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions, ImportModuleOptions, LayerDirectories, LoadNuxtConfigOptions, LoadNuxtOptions, NuxtMajorVersion, ResolveModuleOptions, ResolvePathOptions, Resolver }; |
+13
-11
| { | ||
| "name": "@nuxt/kit", | ||
| "version": "3.20.2", | ||
| "version": "3.21.0", | ||
| "repository": { | ||
@@ -26,3 +26,3 @@ "type": "git", | ||
| "dependencies": { | ||
| "c12": "^3.3.2", | ||
| "c12": "^3.3.3", | ||
| "consola": "^3.4.2", | ||
@@ -45,19 +45,20 @@ "defu": "^6.1.4", | ||
| "tinyglobby": "^0.2.15", | ||
| "ufo": "^1.6.1", | ||
| "unctx": "^2.4.1", | ||
| "ufo": "^1.6.3", | ||
| "unctx": "^2.5.0", | ||
| "untyped": "^2.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@rspack/core": "1.6.7", | ||
| "@rspack/core": "1.7.2", | ||
| "@types/lodash-es": "4.17.12", | ||
| "@types/semver": "7.7.1", | ||
| "hookable": "5.5.3", | ||
| "lodash-es": "4.17.21", | ||
| "nitropack": "2.12.9", | ||
| "lodash-es": "4.17.22", | ||
| "nitro": "3.0.1-alpha.1", | ||
| "nitropack": "2.13.1", | ||
| "unbuild": "3.6.1", | ||
| "unimport": "5.5.0", | ||
| "vite": "7.2.7", | ||
| "unimport": "5.6.0", | ||
| "vite": "7.3.1", | ||
| "vitest": "3.2.4", | ||
| "webpack": "5.103.0", | ||
| "@nuxt/schema": "3.20.2" | ||
| "webpack": "5.104.1", | ||
| "@nuxt/schema": "3.21.0" | ||
| }, | ||
@@ -68,4 +69,5 @@ "engines": { | ||
| "scripts": { | ||
| "build:stub": "unbuild --stub", | ||
| "test:attw": "attw --pack" | ||
| } | ||
| } |
+4
-2
@@ -9,5 +9,7 @@ [](https://nuxt.com) | ||
| <a href="https://github.com/nuxt/nuxt/blob/main/LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a> | ||
| <a href="https://nuxt.com/modules"><img src="https://img.shields.io/badge/dynamic/json?url=https://nuxt.com/api/v1/modules&query=$.stats.modules&label=Modules&style=flat&colorA=18181B&colorB=28CF8D" alt="Modules"></a> | ||
| <a href="https://nuxt.com"><img src="https://img.shields.io/badge/Nuxt%20Docs-18181B?logo=nuxt" alt="Website"></a> | ||
| <a href="https://chat.nuxt.dev"><img src="https://img.shields.io/badge/Nuxt%20Discord-18181B?logo=discord" alt="Discord"></a> | ||
| <a href="https://securityscorecards.dev/"><img src="https://api.securityscorecards.dev/projects/github.com/nuxt/nuxt/badge" alt="Nuxt openssf scorecard score"></a> | ||
| <a href="https://deepwiki.com/nuxt/nuxt"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> | ||
| </p> | ||
@@ -25,3 +27,3 @@ | ||
| - Go full-stack with our server/ directory | ||
| - Extensible with [200+ modules](https://nuxt.com/modules) | ||
| - Extensible with [300+ modules](https://nuxt.com/modules) | ||
| - Deployment to a variety of [hosting platforms](https://nuxt.com/deploy) | ||
@@ -33,3 +35,3 @@ - ...[and much more](https://nuxt.com) π | ||
| - π [Getting Started](#getting-started) | ||
| - π» [ Vue Development](#vue-development) | ||
| - π» [Vue Development](#vue-development) | ||
| - π [Documentation](#documentation) | ||
@@ -36,0 +38,0 @@ - π§© [Modules](#modules) |
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
184015
1.71%4211
0.79%120
1.69%13
8.33%32
6.67%Updated
Updated
Updated