Socket
Socket
Sign inDemoInstall

@astrojs/vue

Package Overview
Dependencies
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/vue - npm Package Compare versions

Comparing version 3.0.0-rc.1 to 3.0.0-rc.2

16

client.js

@@ -24,11 +24,9 @@ import { h, createSSRApp, createApp, Suspense } from 'vue';

if (client === 'only') {
const app = createApp({ name, render: () => content });
await setup(app);
app.mount(element, false);
} else {
const app = createSSRApp({ name, render: () => content });
await setup(app);
app.mount(element, true);
}
const isHydrate = client !== 'only';
const boostrap = isHydrate ? createSSRApp : createApp;
const app = boostrap({ name, render: () => content });
await setup(app);
app.mount(element, isHydrate);
element.addEventListener('astro:unmount', () => app.unmount(), { once: true });
};

@@ -35,0 +33,0 @@

{
"name": "@astrojs/vue",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"description": "Use Vue components within Astro",

@@ -37,5 +37,5 @@ "type": "module",

"dependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@vue/babel-plugin-jsx": "^1.1.1",
"@vitejs/plugin-vue": "^4.3.3",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"@vue/babel-plugin-jsx": "^1.1.5",
"@vue/compiler-sfc": "^3.3.4"

@@ -46,11 +46,11 @@ },

"chai": "^4.3.7",
"linkedom": "^0.14.26",
"mocha": "^9.2.2",
"vite": "^4.4.6",
"linkedom": "^0.15.1",
"mocha": "^10.2.0",
"vite": "^4.4.9",
"vue": "^3.3.4",
"astro": "3.0.0-rc.5",
"astro": "3.0.0-rc.9",
"astro-scripts": "0.0.14"
},
"peerDependencies": {
"astro": "^3.0.0-rc.5",
"astro": "^3.0.0-rc.9",
"vue": "^3.2.30"

@@ -57,0 +57,0 @@ },

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