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.6 to 4.0.7

16

dist/v-click-outside-x.js
/*!
{
"copywrite": "Copyright (c) 2018-present",
"date": "2019-07-01T07:07:02.122Z",
"date": "2019-07-09T13:13:31.283Z",
"describe": "",
"description": "Vue directive to react on clicks outside an element.",
"file": "v-click-outside-x.js",
"hash": "604db66055d758503f8c",
"hash": "f52e753c6efaa38f8cab",
"license": "MIT",
"version": "4.0.6"
"version": "4.0.7"
}

@@ -140,4 +140,6 @@ */

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { keys.push.apply(keys, Object.getOwnPropertySymbols(object)); } if (enumerableOnly) keys = keys.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { if (i % 2) { var source = arguments[i] != null ? arguments[i] : {}; ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(arguments[i])); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(arguments[i], key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

@@ -267,3 +269,3 @@

var normalisedBinding = _objectSpread({}, binding, {
var normalisedBinding = _objectSpread({}, binding, {}, {
arg: arg,

@@ -274,3 +276,3 @@ modifiers: _objectSpread({}, {

stop: false
}, binding.modifiers)
}, {}, binding.modifiers)
});

@@ -332,3 +334,3 @@

enumerable: true,
value: '4.0.6'
value: '4.0.7'
}

@@ -335,0 +337,0 @@ });

/*!
{
"copywrite": "Copyright (c) 2018-present",
"date": "2019-07-01T07:07:02.122Z",
"date": "2019-07-09T13:13:31.283Z",
"describe": "",
"description": "Vue directive to react on clicks outside an element.",
"file": "v-click-outside-x.min.js",
"hash": "9e337b7ed199220dc93a",
"hash": "66f486f65ea433b4cdcc",
"license": "MIT",
"version": "4.0.6"
"version": "4.0.7"
}
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vClickOutside=t():e.vClickOutside=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),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=0)}([function(e,t,n){"use strict";function r(e){return(r="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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){u(e,t,n[t])})}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.install=function(e){e.directive("click-outside",s)},t.directive=void 0;var i=Object.create(null),c=Object.create(null),f=Object.create(null),l=Object.create(null),a=[i,c],d=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 u=t.binding;u.modifiers.stop&&n.stopPropagation(),u.modifiers.prevent&&n.preventDefault(),u.value.call(e,n)}})},p=function(e,t){return e?f[t]?f[t]:(f[t]=function(e){d(this,i,e,t)},f[t]):l[t]?l[t]:(l[t]=function(e){d(this,c,e,t)},l[t])},s=Object.defineProperties({},{$_captureInstances:{value:i},$_nonCaptureInstances:{value:c},$_captureEventHandlers:{value:f},$_nonCaptureEventHandlers:{value:l},bind:{value:function(e,t){if("function"!=typeof t.value)throw new TypeError("Binding value must be a function.");var n=t.arg||"click",u=o({},t,{arg:n,modifiers:o({},{capture:!1,prevent:!1,stop:!1},t.modifiers)}),f=u.modifiers.capture,l=f?i:c;Array.isArray(l[n])||(l[n]=[]),1===l[n].push({el:e,binding:u})&&"object"===("undefined"==typeof document?"undefined":r(document))&&document&&document.addEventListener(n,p(f,n),f)}},unbind:{value:function(e){var t=function(t){return t.el!==e};a.forEach(function(e){var n=Object.keys(e);if(n.length){var o=e===i;n.forEach(function(n){var u=e[n].filter(t);u.length?e[n]=u:("object"===("undefined"==typeof document?"undefined":r(document))&&document&&document.removeEventListener(n,p(o,n),o),delete e[n])})}})}},version:{enumerable:!0,value:"4.0.6"}});t.directive=s}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vClickOutside=t():e.vClickOutside=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),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=0)}([function(e,t,n){"use strict";function r(e){return(r="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 o(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function u(e){for(var t=1;t<arguments.length;t++)if(t%2){var n=null!=arguments[t]?arguments[t]:{};o(n,!0).forEach(function(t){i(e,t,n[t])})}else Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(arguments[t])):o(n).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(arguments[t],n))});return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.install=function(e){e.directive("click-outside",b)},t.directive=void 0;var c=Object.create(null),f=Object.create(null),l=Object.create(null),a=Object.create(null),d=[c,f],p=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 u=t.binding;u.modifiers.stop&&n.stopPropagation(),u.modifiers.prevent&&n.preventDefault(),u.value.call(e,n)}})},s=function(e,t){return e?l[t]?l[t]:(l[t]=function(e){p(this,c,e,t)},l[t]):a[t]?a[t]:(a[t]=function(e){p(this,f,e,t)},a[t])},b=Object.defineProperties({},{$_captureInstances:{value:c},$_nonCaptureInstances:{value:f},$_captureEventHandlers:{value:l},$_nonCaptureEventHandlers:{value:a},bind:{value:function(e,t){if("function"!=typeof t.value)throw new TypeError("Binding value must be a function.");var n=t.arg||"click",o=u({},t,{},{arg:n,modifiers:u({},{capture:!1,prevent:!1,stop:!1},{},t.modifiers)}),i=o.modifiers.capture,l=i?c:f;Array.isArray(l[n])||(l[n]=[]),1===l[n].push({el:e,binding:o})&&"object"===("undefined"==typeof document?"undefined":r(document))&&document&&document.addEventListener(n,s(i,n),i)}},unbind:{value:function(e){var t=function(t){return t.el!==e};d.forEach(function(e){var n=Object.keys(e);if(n.length){var o=e===c;n.forEach(function(n){var u=e[n].filter(t);u.length?e[n]=u:("object"===("undefined"==typeof document?"undefined":r(document))&&document&&document.removeEventListener(n,s(o,n),o),delete e[n])})}})}},version:{enumerable:!0,value:"4.0.7"}});t.directive=b}])});
//# sourceMappingURL=v-click-outside-x.min.js.map
{
"name": "v-click-outside-x",
"version": "4.0.6",
"version": "4.0.7",
"description": "Vue directive to react on clicks outside an element.",

@@ -46,11 +46,17 @@ "homepage": "https://github.com/Xotic750/v-click-outside-x.git",

],
"files": [
"dist",
"src"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.0",
"@babel/plugin-transform-property-mutators": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/runtime": "^7.4.5",
"@prorenata/eslint-config-vue": "^1.13.3",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.2",
"@babel/runtime": "^7.5.2",
"@prorenata/eslint-config-vue": "^1.13.4",
"@types/jest": "^24.0.15",
"@types/node": "^12.6.1",
"@typescript-eslint/eslint-plugin": "^1.11.0",

@@ -62,8 +68,8 @@ "@typescript-eslint/parser": "^1.11.0",

"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint": "=5.16.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-config-prettier": "^6.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-loader": "^2.1.2",
"eslint-loader": "^2.2.1",
"eslint-plugin-babel": "^5.3.0",

@@ -75,4 +81,4 @@ "eslint-plugin-compat": "^3.2.0",

"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jest": "^22.7.1",
"eslint-plugin-jsdoc": "^10.0.3",
"eslint-plugin-jest": "^22.7.2",
"eslint-plugin-jsdoc": "^15.3.2",
"eslint-plugin-json": "^1.4.0",

@@ -90,10 +96,12 @@ "eslint-plugin-lodash": "^5.1.0",

"jest-cli": "^24.8.0",
"jest-css": "^1.0.1",
"jest-file": "^1.0.0",
"jest-serializer-vue": "^2.0.2",
"prettier": "=1.14.3",
"rimraf": "^2.6.3",
"semver": "^6.1.3",
"semver": "^6.2.0",
"terser-webpack-plugin": "^1.3.0",
"typescript": "^3.5.2",
"typescript": "^3.5.3",
"vue": "^2.6.10",
"webpack": "^4.35.0",
"webpack": "^4.35.3",
"webpack-bundle-analyzer": "^3.3.2",

@@ -100,0 +108,0 @@ "webpack-cli": "^3.3.5",

@@ -199,3 +199,3 @@ const CLICK = 'click';

enumerable: true,
value: '4.0.6',
value: '4.0.7',
},

@@ -202,0 +202,0 @@ },

Sorry, the diff of this file is not supported yet

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