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

@nuxt/types

Package Overview
Dependencies
Maintainers
4
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/types - npm Package Compare versions

Comparing version 2.14.7 to 2.14.8

32

app/index.d.ts
import { ServerResponse } from 'http'
import { IncomingMessage } from 'connect'
import { IncomingMessage, NextFunction } from 'connect'
import Vue, { ComponentOptions } from 'vue'
import VueRouter, { Location, Route } from 'vue-router'
import { Store } from 'vuex'
import { NuxtOptions } from '../config'
import { NuxtRuntimeConfig } from '../config/runtime'

@@ -42,2 +44,3 @@

query: Route['query']
next?: NextFunction
req: IncomingMessage

@@ -48,2 +51,27 @@ res: ServerResponse

redirect(location: Location): void
ssrContext?: {
req: Context['req']
res: Context['res']
url: string
target: NuxtOptions['target']
spa?: boolean
modern: boolean
runtimeConfig: {
public: NuxtRuntimeConfig
private: NuxtRuntimeConfig
}
redirected: boolean
next: NextFunction
beforeRenderFns: Array<() => any>
nuxt: {
layout: string
data: Array<Record<string, any>>
fetch: Array<Record<string, any>>
error: any
state: Array<Record<string, any>>
serverRendered: boolean
routePath: string
config: NuxtRuntimeConfig
}
}
error(params: NuxtError): void

@@ -128,2 +156,4 @@ nuxtState: NuxtState

$loading: NuxtLoading
nbFetching: number
isFetching: boolean
context: Context

@@ -130,0 +160,0 @@ error(params: NuxtError): void

2

config/head.d.ts

@@ -9,2 +9,2 @@ /**

export type NuxtOptionsHead = MetaInfo
export type NuxtOptionsHead = MetaInfo | (() => MetaInfo)

@@ -69,3 +69,5 @@ import { Transition } from '../app'

transition: Transition
'vue.config': NuxtOptionsVueConfiguration
vue: {
config?: NuxtOptionsVueConfiguration
}
watch: string[]

@@ -72,0 +74,0 @@ watchers: NuxtOptionsWatchers

{
"name": "@nuxt/types",
"version": "2.14.7",
"description": "Nuxt.js types",
"version": "2.14.8",
"description": "Nuxt types",
"repository": "nuxt/nuxt.js",

@@ -13,3 +13,3 @@ "license": "MIT",

"@types/autoprefixer": "^9.7.2",
"@types/babel__core": "^7.1.10",
"@types/babel__core": "^7.1.12",
"@types/compression": "^1.7.0",

@@ -21,10 +21,10 @@ "@types/connect": "^3.4.33",

"@types/less": "^3.0.1",
"@types/node": "^12.12.67",
"@types/node": "^12.19.8",
"@types/node-sass": "^4.11.1",
"@types/optimize-css-assets-webpack-plugin": "^5.0.1",
"@types/pug": "^2.0.4",
"@types/serve-static": "^1.13.5",
"@types/serve-static": "^1.13.8",
"@types/terser-webpack-plugin": "^2.2.0",
"@types/webpack": "^4.41.22",
"@types/webpack-bundle-analyzer": "^3.8.0",
"@types/webpack": "^4.41.25",
"@types/webpack-bundle-analyzer": "^3.9.0",
"@types/webpack-dev-middleware": "^3.7.2",

@@ -31,0 +31,0 @@ "@types/webpack-hot-middleware": "^2.25.3"

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