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

@rgossiaux/svelte-headlessui

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rgossiaux/svelte-headlessui - npm Package Compare versions

Comparing version 1.0.0-beta.11 to 1.0.0-beta.12

10

hooks/use-portal.js

@@ -1,14 +0,4 @@

import { tick } from "svelte";
export function portal(element, target) {
if (target) {
target.append(element);
// During initial render, the "portal" might be constructed before
// the root component has even attached, causing the portal to not work.
// This is a workaround for this issue--it can't guarantee the portal is
// **always** last, but it should catch the normal cases.
tick().then(() => {
if (target && element !== target.lastChild) {
target.appendChild(element);
}
});
}

@@ -15,0 +5,0 @@ return {

2

package.json

@@ -18,3 +18,3 @@ {

"repository": "github:rgossiaux/svelte-headlessui",
"version": "1.0.0-beta.11",
"version": "1.0.0-beta.12",
"peerDependencies": {

@@ -21,0 +21,0 @@ "svelte": "^3.44.0"

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