Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vueuse/head

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vueuse/head - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

7

dist/index.js

@@ -14,2 +14,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/index.ts

var HEAD_ATTRS_KEY = `data-head-attrs`;
var SELF_CLOSING_TAGS = ["meta", "link", "base"];

@@ -247,6 +248,6 @@ // src/create-element.ts

let attrs = stringifyAttrs(tag.props);
if (tag.props.children != null) {
return `<${tag.tag}${attrs}>${tag.props.children}</${tag.tag}>`;
if (SELF_CLOSING_TAGS.includes(tag.tag)) {
return `<${tag.tag}${attrs}>`;
}
return `<${tag.tag}${attrs}>`;
return `<${tag.tag}${attrs}>${tag.props.children || ""}</${tag.tag}>`;
};

@@ -253,0 +254,0 @@ var renderHeadToString = (head) => {

{
"name": "@vueuse/head",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Document head manager for Vue 3. SSR ready.",

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