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

@nuxt/app

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/app - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

dist/_templates/app.d.ts

28

dist/_templates/plugins.d.ts

@@ -1,15 +0,23 @@

import head from 'nuxt/app/plugins/head'
import router from 'nuxt/app/plugins/router'
import vuex from 'nuxt/app/plugins/vuex'
import legacy from 'nuxt/app/plugins/legacy'
import head from '#app/plugins/head'
import legacy from '#app/plugins/legacy'
import preload from '#app/plugins/preload.server'
<% const plugins = app.plugins.filter(p => p.mode === 'all').map(p => p.src) %>
<%= nxt.importSources(plugins) %>
<%= utils.importSources(app.plugins.map(p => p.src)) %>
export default [
const commonPlugins = [
head,
router,
vuex,
legacy,
<%= plugins.map(nxt.importName).join(',\n\t') %>
<%= app.plugins.filter(p => !p.mode || p.mode === 'all').map(p => utils.importName(p.src)).join(',\n ') %>
]
export const clientPluigns = [
...commonPlugins,<%= app.plugins.filter(p => p.mode === 'client').map(p => utils.importName(p.src)).join(',\n ') %>
]
export const serverPluigns = [
...commonPlugins,
preload,
<%= app.plugins.filter(p => p.mode === 'server').map(p => utils.importName(p.src)).join(',\n ') %>
]
export default process.client ? clientPluigns : serverPluigns

@@ -9,3 +9,3 @@ import { UnwrapRef } from 'vue';

*/
export declare function useSSRRef(nuxt?: any, vm?: any): string;
export declare function useSSRRef(nuxt?: any, vm?: import("vue").ComponentInternalInstance): string;
/**

@@ -17,3 +17,3 @@ * Allows accessing reactive data that can be synced between server and client.

*/
export declare function useData<T = Record<string, any>>(nuxt?: any, vm?: any): UnwrapRef<T>;
export declare function useData<T = Record<string, any>>(nuxt?: any, vm?: import("vue").ComponentInternalInstance): UnwrapRef<T>;
/**

@@ -20,0 +20,0 @@ * Allows accessing reactive global data that can be synced between server and client.

@@ -11,7 +11,7 @@ import { HeadObject } from '@vueuse/head';

base?: unknown;
link?: unknown;
meta?: unknown;
script?: unknown;
style?: unknown;
title?: unknown;
link?: import("@vueuse/head").HeadAttrs[] | import("@vue/reactivity").Ref<import("@vueuse/head").HeadAttrs[]>;
meta?: import("@vueuse/head").HeadAttrs[] | import("@vue/reactivity").Ref<import("@vueuse/head").HeadAttrs[]>;
script?: import("@vueuse/head").HeadAttrs[] | import("@vue/reactivity").Ref<import("@vueuse/head").HeadAttrs[]>;
style?: import("@vueuse/head").HeadAttrs[] | import("@vue/reactivity").Ref<import("@vueuse/head").HeadAttrs[]>;
title?: string | import("@vue/reactivity").Ref<string>;
htmlAttrs?: unknown;

@@ -18,0 +18,0 @@ bodyAttrs?: unknown;

{
"name": "@nuxt/app",
"version": "0.3.3",
"version": "0.4.0",
"repository": "nuxt/framework",

@@ -8,3 +8,4 @@ "license": "MIT",

".": "./dist",
"./meta": "./meta.js"
"./meta": "./meta.js",
"./dist/*": "./dist/*"
},

@@ -27,3 +28,3 @@ "main": "./dist",

"vue": "^3.0.11",
"vue-router": "^4.0.6",
"vue-router": "^4.0.8",
"vuex5": "^0.5.0-testing.3"

@@ -34,3 +35,3 @@ },

},
"gitHead": "7255a890a054dfd98f95fc9acb1cbd59bb2d91db"
"gitHead": "2f2e818e325048a3f619f8eb11de2e9cdd3aea7c"
}

@@ -0,1 +1,3 @@

import Vue from 'vue'
declare global {

@@ -26,3 +28,2 @@ import type { $Fetch } from 'ohmyfetch'

declare module '*.vue' {
import Vue from 'vue'
export default Vue

@@ -29,0 +30,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 not supported yet

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