New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuxt/schema-nightly

Package Overview
Dependencies
Maintainers
7
Versions
1300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/schema-nightly - npm Package Compare versions

Comparing version 3.9.0-28317052.c7fdcdd7 to 3.9.0-28346269.4ce6bc24

43

dist/index.d.ts
import { TransitionProps, KeepAliveProps } from 'vue';
import { ViteDevServer, UserConfig, ServerOptions } from 'vite';
import { Options as Options$4 } from '@vitejs/plugin-vue';
import { Options as Options$5 } from '@vitejs/plugin-vue-jsx';
import { Options as Options$5 } from '@vitejs/plugin-vue';
import { Options as Options$6 } from '@vitejs/plugin-vue-jsx';
import { SchemaDefinition, Schema } from 'untyped';
export { SchemaDefinition } from 'untyped';
import { NitroConfig, Nitro, NitroEventHandler, NitroDevEventHandler, NitroRuntimeConfigApp, NitroRuntimeConfig } from 'nitropack';
import { SnakeCase } from 'scule';
import { Hookable } from 'hookable';
import { Ignore } from 'ignore';
import { Ignore, Options } from 'ignore';
import { Server } from 'node:http';

@@ -27,9 +28,9 @@ import { Server as Server$1 } from 'node:https';

import { LoaderOptions } from 'esbuild-loader';
import { Options } from 'file-loader';
import { Options as Options$1 } from 'pug';
import { Options as Options$1 } from 'file-loader';
import { Options as Options$2 } from 'pug';
import { VueLoaderOptions } from 'vue-loader';
import { Options as Options$2 } from 'sass-loader';
import { Options as Options$3 } from 'sass-loader';
import { BasePluginOptions, DefinedDefaultMinimizerAndOptions } from 'css-minimizer-webpack-plugin';
import { ProcessOptions } from 'postcss';
import { Options as Options$3 } from 'webpack-dev-middleware';
import { Options as Options$4 } from 'webpack-dev-middleware';
import { IncomingMessage, ServerResponse } from 'http';

@@ -864,3 +865,3 @@ import { MiddlewareOptions, ClientOptions } from 'webpack-hot-middleware';

ignoreOptions: any,
ignoreOptions: Options,

@@ -960,3 +961,3 @@ /** @default "-" */

/** @default false */
componentIslands: true | 'local' | 'local+remote' | Partial<{ remoteIsland: boolean, selectiveClient: boolean }> | false,
componentIslands: true | 'local' | 'local+remote' | false,

@@ -1120,9 +1121,9 @@ /** @default true */

file: Omit<Options, 'name'>,
file: Omit<Options$1, 'name'>,
fontUrl: Omit<Options, 'name'>,
fontUrl: Omit<Options$1, 'name'>,
imgUrl: Omit<Options, 'name'>,
imgUrl: Omit<Options$1, 'name'>,
pugPlain: Options$1,
pugPlain: Options$2,

@@ -1162,5 +1163,5 @@ vue: Partial<VueLoaderOptions>,

sass: Options$2,
sass: Options$3,
scss: Options$2,
scss: Options$3,

@@ -1184,3 +1185,3 @@ stylus: any,

devMiddleware: Options$3<IncomingMessage, ServerResponse>,
devMiddleware: Options$4<IncomingMessage, ServerResponse>,

@@ -1228,5 +1229,3 @@ hotMiddleware: MiddlewareOptions & { client?: ClientOptions },

} : T;
type ExtractUpperChunk<T extends string> = T extends `${infer A}${infer B}` ? A extends Uppercase<A> ? B extends `${Uppercase<string>}${infer Rest}` ? B extends `${infer C}${Rest}` ? `${A}${C}${ExtractUpperChunk<Rest>}` : never : A : '' : never;
type SliceLast<T extends string> = T extends `${infer A}${infer B}` ? B extends `${infer C}${infer D}` ? D extends '' ? A : `${A}${C}${SliceLast<D>}` : '' : never;
type UpperSnakeCase<T extends string, State extends 'start' | 'lower' | 'upper' = 'start'> = T extends `${infer A}${infer B}` ? A extends Uppercase<A> ? A extends `${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0}` ? `${A}${UpperSnakeCase<B, 'lower'>}` : State extends 'lower' | 'upper' ? B extends `${SliceLast<ExtractUpperChunk<B>>}${infer Rest}` ? SliceLast<ExtractUpperChunk<B>> extends '' ? `_${A}_${UpperSnakeCase<B, 'start'>}` : `_${A}${SliceLast<ExtractUpperChunk<B>>}_${UpperSnakeCase<Rest, 'start'>}` : B extends Uppercase<B> ? `_${A}${B}` : `_${A}${UpperSnakeCase<B, 'lower'>}` : State extends 'start' ? `${A}${UpperSnakeCase<B, 'lower'>}` : never : State extends 'start' | 'lower' ? `${Uppercase<A>}${UpperSnakeCase<B, 'lower'>}` : `_${Uppercase<A>}${UpperSnakeCase<B, 'lower'>}` : Uppercase<T>;
type UpperSnakeCase<S extends string> = Uppercase<SnakeCase<S>>;
declare const message: unique symbol;

@@ -1290,3 +1289,3 @@ type RuntimeValue<T, B extends string> = T & {

*/
vue?: Options$4;
vue?: Options$5;
/**

@@ -1296,3 +1295,3 @@ * Options passed to @vitejs/plugin-vue-jsx.

*/
vueJsx?: Options$5;
vueJsx?: Options$6;
/**

@@ -1346,2 +1345,2 @@ * Bundler for dev time server-side rendering.

export { type AppConfig, type AppConfigInput, type AppHeadMetaObject, type Component, type ComponentsDir, type ComponentsOptions, type CustomAppConfig, type GenerateAppOptions, type HeadAugmentations, type HookResult, type ImportPresetWithDeprecation, type ImportsOptions, type MetaObject, type MetaObjectRaw, type ModuleDefinition, type ModuleMeta, type ModuleOptions, type ModuleSetupReturn, type Nuxt, type NuxtAnalyzeMeta, type NuxtApp, type NuxtAppConfig, type NuxtBuilder, type NuxtCompatibility, type NuxtCompatibilityIssue, type NuxtCompatibilityIssues, type NuxtConfig, type NuxtConfigLayer, _default as NuxtConfigSchema, type NuxtHookName, type NuxtHooks, type NuxtLayout, type NuxtMiddleware, type NuxtModule, type NuxtOptions, type NuxtPage, type NuxtPlugin, type NuxtPluginTemplate, type NuxtTemplate, type NuxtTypeTemplate, type PublicRuntimeConfig, type ResolvedNuxtTemplate, type RouterConfig, type RouterConfigSerializable, type RouterOptions, type RuntimeConfig, type RuntimeValue, type ScanDir, type TSReference, type ViteConfig, type WatchEvent };
export { type AppConfig, type AppConfigInput, type AppHeadMetaObject, type Component, type ComponentsDir, type ComponentsOptions, type CustomAppConfig, type GenerateAppOptions, type HeadAugmentations, type HookResult, type ImportPresetWithDeprecation, type ImportsOptions, type MetaObject, type MetaObjectRaw, type ModuleDefinition, type ModuleMeta, type ModuleOptions, type ModuleSetupReturn, type Nuxt, type NuxtAnalyzeMeta, type NuxtApp, type NuxtAppConfig, type NuxtBuilder, type NuxtCompatibility, type NuxtCompatibilityIssue, type NuxtCompatibilityIssues, type NuxtConfig, type NuxtConfigLayer, _default as NuxtConfigSchema, type NuxtHookName, type NuxtHooks, type NuxtLayout, type NuxtMiddleware, type NuxtModule, type NuxtOptions, type NuxtPage, type NuxtPlugin, type NuxtPluginTemplate, type NuxtTemplate, type NuxtTypeTemplate, type PublicRuntimeConfig, type ResolvedNuxtTemplate, type RouterConfig, type RouterConfigSerializable, type RouterOptions, type RuntimeConfig, type RuntimeValue, type ScanDir, type TSReference, type UpperSnakeCase, type ViteConfig, type WatchEvent };
{
"name": "@nuxt/schema-nightly",
"version": "3.9.0-28317052.c7fdcdd7",
"repository": "nuxt/nuxt",
"version": "3.9.0-28346269.4ce6bc24",
"repository": {
"type": "git",
"url": "git+https://github.com/nuxt/nuxt.git",
"directory": "packages/schema"
},
"description": "Nuxt types and default configuration",
"homepage": "https://nuxt.com",
"license": "MIT",

@@ -29,15 +34,15 @@ "type": "module",

"devDependencies": {
"@nuxt/telemetry": "2.5.2",
"@types/file-loader": "5.0.3",
"@types/pug": "2.0.8",
"@types/sass-loader": "8.0.7",
"@unhead/schema": "1.8.1",
"@vitejs/plugin-vue": "4.4.0",
"@vitejs/plugin-vue-jsx": "3.0.2",
"@vue/compiler-core": "3.3.7",
"@nuxt/telemetry": "2.5.3",
"@types/file-loader": "5.0.4",
"@types/pug": "2.0.10",
"@types/sass-loader": "8.0.8",
"@unhead/schema": "1.8.7",
"@vitejs/plugin-vue": "4.5.0",
"@vitejs/plugin-vue-jsx": "3.1.0",
"@vue/compiler-core": "3.3.8",
"c12": "1.5.1",
"esbuild-loader": "4.0.2",
"h3": "1.8.2",
"ignore": "5.2.4",
"nitropack": "2.7.2",
"h3": "1.9.0",
"ignore": "5.3.0",
"nitropack": "2.8.0",
"ofetch": "1.3.3",

@@ -47,5 +52,5 @@ "unbuild": "latest",

"vite": "4.5.0",
"vue": "3.3.7",
"vue": "3.3.8",
"vue-bundle-renderer": "2.0.0",
"vue-loader": "17.3.0",
"vue-loader": "17.3.1",
"vue-router": "4.2.5",

@@ -62,5 +67,6 @@ "webpack": "5.89.0",

"pkg-types": "^1.0.3",
"std-env": "^3.4.3",
"ufo": "^1.3.1",
"unimport": "^3.4.0",
"scule": "^1.1.0",
"std-env": "^3.5.0",
"ufo": "^1.3.2",
"unimport": "^3.6.0",
"untyped": "^1.4.0"

@@ -67,0 +73,0 @@ },

@@ -20,4 +20,5 @@ [![Nuxt banner](./.github/assets/banner.svg)](https://nuxt.com)

- SEO Optimization
- Extensible with [100+ modules](https://nuxt.com/modules)
- Deployment to a variety of hosting platforms
- Auto imports
- Extensible with [180+ modules](https://nuxt.com/modules)
- Deployment to a variety of [hosting platforms](https://nuxt.com/deploy)
- ...[and much more](https://nuxt.com) 🚀

@@ -35,2 +36,32 @@

## Vue Development
Simple, intuitive and powerful, Nuxt lets you write Vue components in a way that makes sense. Every repetitive task is automated, so you can focus on writing your full-stack Vue application with confidence.
Example of an `app.vue`:
```vue
<script setup>
useSeoMeta({
title: 'Meet Nuxt',
description: 'The Intuitive Vue Framework.'
})
</script>
<template>
<div id="app">
<AppHeader />
<NuxtPage />
<AppFooter />
</div>
</template>
<style>
#app {
background-color: #020420;
color: #00DC82;
}
</style>
```
## Documentation

@@ -37,0 +68,0 @@

@@ -11,2 +11,3 @@ import type { ComponentsOptions } from '../src/types/components'

import type { NuxtModule } from '../src/types/module'
import type { Options } from 'ignore'
import type { NuxtHooks } from '../src/types/hooks'

@@ -20,10 +21,10 @@ import type { NuxtLinkOptions } from '#app/components/nuxt-link'

import type { LoaderOptions } from 'esbuild-loader'
import type { Options } from 'file-loader'
import type { Options as Options0 } from 'pug'
import type { Options as Options0 } from 'file-loader'
import type { Options as Options1 } from 'pug'
import type { VueLoaderOptions } from 'vue-loader'
import type { Options as Options1 } from 'sass-loader'
import type { Options as Options2 } from 'sass-loader'
import type { BasePluginOptions, DefinedDefaultMinimizerAndOptions } from 'css-minimizer-webpack-plugin'
import type { Configuration, WebpackError } from 'webpack'
import type { ProcessOptions } from 'postcss'
import type { Options as Options2 } from 'webpack-dev-middleware'
import type { Options as Options3 } from 'webpack-dev-middleware'
import type { IncomingMessage, ServerResponse } from 'http'

@@ -199,3 +200,3 @@ import type { MiddlewareOptions, ClientOptions } from 'webpack-hot-middleware'

ignoreOptions: any,
ignoreOptions: Options,

@@ -295,3 +296,3 @@ /** @default "-" */

/** @default false */
componentIslands: true | 'local' | 'local+remote' | Partial<{ remoteIsland: boolean, selectiveClient: boolean }> | false,
componentIslands: true | 'local' | 'local+remote' | false,

@@ -455,9 +456,9 @@ /** @default true */

file: Omit<Options, 'name'>,
file: Omit<Options0, 'name'>,
fontUrl: Omit<Options, 'name'>,
fontUrl: Omit<Options0, 'name'>,
imgUrl: Omit<Options, 'name'>,
imgUrl: Omit<Options0, 'name'>,
pugPlain: Options0,
pugPlain: Options1,

@@ -497,5 +498,5 @@ vue: Partial<VueLoaderOptions>,

sass: Options1,
sass: Options2,
scss: Options1,
scss: Options2,

@@ -519,3 +520,3 @@ stylus: any,

devMiddleware: Options2<IncomingMessage, ServerResponse>,
devMiddleware: Options3<IncomingMessage, ServerResponse>,

@@ -522,0 +523,0 @@ hotMiddleware: MiddlewareOptions & { client?: ClientOptions },

@@ -366,3 +366,6 @@ {

"router": {
"options": {}
"options": {
"hashMode": false,
"scrollBehaviorType": "auto"
}
},

@@ -369,0 +372,0 @@ "webpack": {

@@ -298,3 +298,3 @@

# `ignoreOptions`
- **Type**: `any`
- **Type**: `IgnoreOptions`
- **Default**: `{}`

@@ -467,3 +467,3 @@

## `componentIslands`
- **Type**: `true | 'local' | 'local+remote' | Partial<{ remoteIsland: boolean, selectiveClient: boolean }> | false`
- **Type**: `true | 'local' | 'local+remote' | false`
- **Default**: `false`

@@ -658,6 +658,13 @@

## `options`
- **Type**: `SrcTypesRouterRouterConfigSerializable`
- **Default**: `{}`
### `hashMode`
- **Type**: `SrcTypesRouterRouterConfigSerializable['hashMode']`
- **Default**: `false`
### `scrollBehaviorType`
- **Type**: `SrcTypesRouterRouterConfigSerializable['scrollBehaviorType']`
- **Default**: `"auto"`
# `typescript`

@@ -664,0 +671,0 @@

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 too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc