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

vdirs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vdirs - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

3

es/zindexable/index.d.ts
import { ObjectDirective } from 'vue';
interface ZIndexableElement extends HTMLElement {
'@@ziContext': {
enabled?: boolean;
enabled: boolean;
initialized: boolean;
};

@@ -6,0 +7,0 @@ }

@@ -8,8 +8,10 @@ import zIndexManager from './z-index-manager';

const { zIndex, enabled } = value;
el[ctx] = {
enabled: !!enabled,
initialized: false
};
if (enabled) {
zIndexManager.ensureZIndex(el, zIndex);
el[ctx].initialized = true;
}
el[ctx] = {
enabled
};
},

@@ -22,6 +24,9 @@ updated(el, bindings) {

zIndexManager.ensureZIndex(el, zIndex);
el[ctx].initialized = true;
}
el[ctx].enabled = enabled;
el[ctx].enabled = !!enabled;
},
unmounted(el, bindings) {
if (!el[ctx].initialized)
return;
const { value = {} } = bindings;

@@ -28,0 +33,0 @@ const { zIndex } = value;

import { ObjectDirective } from 'vue';
interface ZIndexableElement extends HTMLElement {
'@@ziContext': {
enabled?: boolean;
enabled: boolean;
initialized: boolean;
};

@@ -6,0 +7,0 @@ }

@@ -10,8 +10,10 @@ "use strict";

const { zIndex, enabled } = value;
el[ctx] = {
enabled: !!enabled,
initialized: false
};
if (enabled) {
z_index_manager_1.default.ensureZIndex(el, zIndex);
el[ctx].initialized = true;
}
el[ctx] = {
enabled
};
},

@@ -24,6 +26,9 @@ updated(el, bindings) {

z_index_manager_1.default.ensureZIndex(el, zIndex);
el[ctx].initialized = true;
}
el[ctx].enabled = enabled;
el[ctx].enabled = !!enabled;
},
unmounted(el, bindings) {
if (!el[ctx].initialized)
return;
const { value = {} } = bindings;

@@ -30,0 +35,0 @@ const { zIndex } = value;

{
"name": "vdirs",
"version": "0.1.5",
"version": "0.1.6",
"description": "Helper directives for Vue.",

@@ -5,0 +5,0 @@ "scripts": {

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