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.2 to 3.0.3

6

package.json
{
"name": "@astrojs/vue",
"version": "3.0.2",
"version": "3.0.3",
"description": "Use Vue components within Astro",

@@ -49,7 +49,7 @@ "type": "module",

"vue": "^3.3.4",
"astro": "3.3.3",
"astro": "3.4.1",
"astro-scripts": "0.0.14"
},
"peerDependencies": {
"astro": "^3.3.3",
"astro": "^3.0.0",
"vue": "^3.2.30"

@@ -56,0 +56,0 @@ },

@@ -119,3 +119,3 @@ # @astrojs/vue 💚

```js
```ts
// src/pages/_app.ts

@@ -122,0 +122,0 @@ import type { App } from 'vue';

@@ -10,4 +10,6 @@ import { h, createSSRApp } from 'vue';

async function renderToStaticMarkup(Component, props, slotted, metadata) {
async function renderToStaticMarkup(Component, inputProps, slotted, metadata) {
const slots = {};
const props = { ...inputProps };
delete props.slot;
for (const [key, value] of Object.entries(slotted)) {

@@ -14,0 +16,0 @@ slots[key] = () =>

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