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

v-click-outside-x

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-click-outside-x - npm Package Compare versions

Comparing version 4.0.18 to 4.0.19

8

dist/v-click-outside-x.js

@@ -5,9 +5,9 @@ /*!

"copywrite": "Copyright (c) 2018-present",
"date": "2019-08-27T23:37:51.755Z",
"date": "2019-08-28T18:30:40.776Z",
"describe": "",
"description": "Vue directive to react on clicks outside an element.",
"file": "v-click-outside-x.js",
"hash": "0b0d418157b998a3014e",
"hash": "3528fcb11d2fd0c84e6b",
"license": "MIT",
"version": "4.0.18"
"version": "4.0.19"
}

@@ -160,3 +160,3 @@ */

module.exports = JSON.parse("{\"a\":\"4.0.18\"}");
module.exports = JSON.parse("{\"a\":\"4.0.19\"}");

@@ -163,0 +163,0 @@ /***/ }),

@@ -5,12 +5,12 @@ /*!

"copywrite": "Copyright (c) 2018-present",
"date": "2019-08-27T23:37:51.755Z",
"date": "2019-08-28T18:30:40.776Z",
"describe": "",
"description": "Vue directive to react on clicks outside an element.",
"file": "v-click-outside-x.min.js",
"hash": "df96dd8a63a3297bd8da",
"hash": "85b078b2b398366fa786",
"license": "MIT",
"version": "4.0.18"
"version": "4.0.19"
}
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vClickOutsideX=t():e.vClickOutsideX=t()}(function(){"use strict";var e,t={}.constructor,n=t.prototype,r=t.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},i=function(){return this};try{return r?r(n,"$$globalThis$$",{get:i,configurable:!0}):n.__defineGetter__("$$globalThis$$",i),e="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete n.$$globalThis$$,e}catch(e){return o()}}(),function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e){e.exports=JSON.parse('{"a":"4.0.18"}')},function(e,t,n){"use strict";n.r(t),n.d(t,"directive",function(){return y}),n.d(t,"install",function(){return v});var r=n(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=Object.create(null),l=Object.create(null),a=Object.create(null),d=Object.create(null),p=[f,l],s=function(e,t,n,r){var o=n.target;t[r].forEach(function(t){var r=t.el;if(r!==o&&!r.contains(o)){var i=t.binding;i.modifiers.stop&&n.stopPropagation(),i.modifiers.prevent&&n.preventDefault(),i.value.call(e,n)}})},b=function(e,t){return e?a[t]?a[t]:(a[t]=function(e){s(this,f,e,t)},a[t]):d[t]?d[t]:(d[t]=function(e){s(this,l,e,t)},d[t])},y=Object.defineProperties({},{$captureInstances:{value:f},$nonCaptureInstances:{value:l},$captureEventHandlers:{value:a},$nonCaptureEventHandlers:{value:d},bind:{value:function(e,t){if("function"!=typeof t.value)throw new TypeError("Binding value must be a function.");var n=t.arg||"click",r=u({},t,{},{arg:n,modifiers:u({},{capture:!1,prevent:!1,stop:!1},{},t.modifiers)}),i=r.modifiers.capture,c=i?f:l;Array.isArray(c[n])||(c[n]=[]),1===c[n].push({el:e,binding:r})&&"object"===("undefined"==typeof document?"undefined":o(document))&&document&&document.addEventListener(n,b(i,n),i)}},unbind:{value:function(e){var t=function(t){return t.el!==e};p.forEach(function(e){var n=Object.keys(e);if(n.length){var r=e===f;n.forEach(function(n){var i=e[n].filter(t);i.length?e[n]=i:("object"===("undefined"==typeof document?"undefined":o(document))&&document&&document.removeEventListener(n,b(r,n),r),delete e[n])})}})}},version:{enumerable:!0,value:r.a}});function v(e){e.directive("click-outside",y)}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vClickOutsideX=t():e.vClickOutsideX=t()}(function(){"use strict";var e,t={}.constructor,n=t.prototype,r=t.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},i=function(){return this};try{return r?r(n,"$$globalThis$$",{get:i,configurable:!0}):n.__defineGetter__("$$globalThis$$",i),e="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete n.$$globalThis$$,e}catch(e){return o()}}(),function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e){e.exports=JSON.parse('{"a":"4.0.19"}')},function(e,t,n){"use strict";n.r(t),n.d(t,"directive",function(){return y}),n.d(t,"install",function(){return v});var r=n(0);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=Object.create(null),l=Object.create(null),a=Object.create(null),d=Object.create(null),p=[f,l],s=function(e,t,n,r){var o=n.target;t[r].forEach(function(t){var r=t.el;if(r!==o&&!r.contains(o)){var i=t.binding;i.modifiers.stop&&n.stopPropagation(),i.modifiers.prevent&&n.preventDefault(),i.value.call(e,n)}})},b=function(e,t){return e?a[t]?a[t]:(a[t]=function(e){s(this,f,e,t)},a[t]):d[t]?d[t]:(d[t]=function(e){s(this,l,e,t)},d[t])},y=Object.defineProperties({},{$captureInstances:{value:f},$nonCaptureInstances:{value:l},$captureEventHandlers:{value:a},$nonCaptureEventHandlers:{value:d},bind:{value:function(e,t){if("function"!=typeof t.value)throw new TypeError("Binding value must be a function.");var n=t.arg||"click",r=u({},t,{},{arg:n,modifiers:u({},{capture:!1,prevent:!1,stop:!1},{},t.modifiers)}),i=r.modifiers.capture,c=i?f:l;Array.isArray(c[n])||(c[n]=[]),1===c[n].push({el:e,binding:r})&&"object"===("undefined"==typeof document?"undefined":o(document))&&document&&document.addEventListener(n,b(i,n),i)}},unbind:{value:function(e){var t=function(t){return t.el!==e};p.forEach(function(e){var n=Object.keys(e);if(n.length){var r=e===f;n.forEach(function(n){var i=e[n].filter(t);i.length?e[n]=i:("object"===("undefined"==typeof document?"undefined":o(document))&&document&&document.removeEventListener(n,b(r,n),r),delete e[n])})}})}},version:{enumerable:!0,value:r.a}});function v(e){e.directive("click-outside",y)}}])});
//# sourceMappingURL=v-click-outside-x.min.js.map
{
"name": "v-click-outside-x",
"version": "4.0.18",
"version": "4.0.19",
"description": "Vue directive to react on clicks outside an element.",

@@ -66,3 +66,3 @@ "homepage": "https://github.com/Xotic750/v-click-outside-x.git",

"@typescript-eslint/parser": "^2.0.0",
"@xotic750/eslint-config-recommended": "^1.1.7",
"@xotic750/eslint-config-recommended": "^1.1.8",
"babel-core": "^7.0.0-0",

@@ -69,0 +69,0 @@ "babel-eslint": "^10.0.3",

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