Socket
Socket
Sign inDemoInstall

vueuc

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vueuc - npm Package Compare versions

Comparing version 0.4.47 to 0.4.48

4

es/focus-trap/src/index.js
import { h, defineComponent, ref, Fragment, onMounted, onBeforeUnmount, watch } from 'vue';
import { createId } from 'seemly';
import { createId, getPreciseEventTarget } from 'seemly';
import { on, off } from 'evtd';

@@ -71,3 +71,3 @@ import { focusFirstDescendant, focusLastDescendant } from './utils';

return;
if (mainEl.contains(e.target))
if (mainEl.contains(getPreciseEventTarget(e)))
return;

@@ -74,0 +74,0 @@ // I don't handle shift + tab status since it's too tricky to handle

@@ -74,3 +74,3 @@ "use strict";

return;
if (mainEl.contains(e.target))
if (mainEl.contains((0, seemly_1.getPreciseEventTarget)(e)))
return;

@@ -77,0 +77,0 @@ // I don't handle shift + tab status since it's too tricky to handle

{
"name": "vueuc",
"version": "0.4.47",
"version": "0.4.48",
"description": "Util Components for Vue",

@@ -50,4 +50,4 @@ "main": "lib/index.js",

"css-render": "^0.15.10",
"evtd": "^0.2.2",
"seemly": "^0.3.1",
"evtd": "^0.2.4",
"seemly": "^0.3.6",
"vdirs": "^0.1.4",

@@ -54,0 +54,0 @@ "vooks": "^0.2.4"

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