v-click-outside-x
Advanced tools
Comparing version 4.0.19 to 4.1.0
@@ -5,3 +5,3 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
@@ -8,0 +8,0 @@ 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; } |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2018-present", | ||
"date": "2019-08-28T18:30:40.776Z", | ||
"date": "2020-01-14T15:27:52.362Z", | ||
"describe": "", | ||
"description": "Vue directive to react on clicks outside an element.", | ||
"file": "v-click-outside-x.js", | ||
"hash": "3528fcb11d2fd0c84e6b", | ||
"hash": "985cfe535e0f8da2f484", | ||
"license": "MIT", | ||
"version": "4.0.19" | ||
"version": "4.1.0" | ||
} | ||
@@ -160,3 +160,3 @@ */ | ||
module.exports = JSON.parse("{\"a\":\"4.0.19\"}"); | ||
module.exports = JSON.parse("{\"a\":\"4.1.0\"}"); | ||
@@ -177,3 +177,3 @@ /***/ }), | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
@@ -180,0 +180,0 @@ 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; } |
@@ -1,15 +0,3 @@ | ||
/*! | ||
{ | ||
"author": "Graham Fairweather", | ||
"copywrite": "Copyright (c) 2018-present", | ||
"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": "85b078b2b398366fa786", | ||
"license": "MIT", | ||
"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.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)}}])}); | ||
/*! For license information please see v-click-outside-x.min.js.LICENSE */ | ||
!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.1.0"}')},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(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(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.19", | ||
"version": "4.1.0", | ||
"description": "Vue directive to react on clicks outside an element.", | ||
@@ -54,15 +54,15 @@ "homepage": "https://github.com/Xotic750/v-click-outside-x.git", | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/node": "^7.5.5", | ||
"@babel/plugin-transform-property-mutators": "^7.2.0", | ||
"@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/runtime": "^7.5.5", | ||
"@types/jest": "^24.0.18", | ||
"@types/node": "^12.7.2", | ||
"@types/webpack": "^4.39.1", | ||
"@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"@xotic750/eslint-config-recommended": "^1.1.8", | ||
"@babel/cli": "^7.8.3", | ||
"@babel/core": "^7.8.3", | ||
"@babel/node": "^7.8.3", | ||
"@babel/plugin-transform-property-mutators": "^7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.8.3", | ||
"@babel/preset-env": "^7.8.3", | ||
"@babel/runtime": "^7.8.3", | ||
"@types/jest": "^24.0.25", | ||
"@types/node": "^13.1.6", | ||
"@types/webpack": "^4.41.2", | ||
"@typescript-eslint/eslint-plugin": "^2.16.0", | ||
"@typescript-eslint/parser": "^2.16.0", | ||
"@xotic750/eslint-config-recommended": "^1.2.0", | ||
"babel-core": "^7.0.0-0", | ||
@@ -72,9 +72,9 @@ "babel-eslint": "^10.0.3", | ||
"babel-plugin-lodash": "^3.3.4", | ||
"caniuse-lite": "^1.0.30000989", | ||
"coveralls": "^3.0.6", | ||
"cross-env": "^5.2.0", | ||
"eslint": "^6.2.2", | ||
"caniuse-lite": "^1.0.30001020", | ||
"coveralls": "^3.0.9", | ||
"cross-env": "^6.0.3", | ||
"eslint": "^6.8.0", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
"eslint-import-resolver-webpack": "^0.11.1", | ||
"eslint-loader": "^3.0.0", | ||
"eslint-import-resolver-webpack": "^0.12.1", | ||
"eslint-loader": "^3.0.3", | ||
"eslint-plugin-babel": "^5.3.0", | ||
@@ -85,5 +85,5 @@ "eslint-plugin-compat": "^3.3.0", | ||
"eslint-plugin-html": "^6.0.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jest": "^22.15.2", | ||
"eslint-plugin-jsdoc": "^15.8.3", | ||
"eslint-plugin-import": "^2.20.0", | ||
"eslint-plugin-jest": "^22.17.0", | ||
"eslint-plugin-jsdoc": "^20.3.0", | ||
"eslint-plugin-json": "^1.4.0", | ||
@@ -93,3 +93,3 @@ "eslint-plugin-lodash": "^6.0.0", | ||
"eslint-plugin-prefer-object-spread": "^1.2.1", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-promise": "^4.2.1", | ||
@@ -104,12 +104,12 @@ "eslint-plugin-sort-class-members": "^1.6.0", | ||
"mkdirp": "^0.5.1", | ||
"nodemon": "^1.19.1", | ||
"prettier": "^1.18.2", | ||
"nodemon": "^2.0.2", | ||
"prettier": "^1.19.1", | ||
"rimraf": "^3.0.0", | ||
"source-map-loader": "^0.2.4", | ||
"strip-ansi": "^5.2.0", | ||
"terser-webpack-plugin": "^1.4.1", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.39.3", | ||
"webpack-bundle-analyzer": "^3.4.1", | ||
"webpack-cli": "^3.3.7", | ||
"strip-ansi": "^6.0.0", | ||
"terser-webpack-plugin": "^2.3.2", | ||
"typescript": "^3.7.4", | ||
"webpack": "^4.41.5", | ||
"webpack-bundle-analyzer": "^3.6.0", | ||
"webpack-cli": "^3.3.10", | ||
"webpack-global-object-x": "^1.0.0", | ||
@@ -120,3 +120,3 @@ "webpack-merge": "^4.2.2" | ||
"node": ">=8.11.4", | ||
"npm": "6.10.1" | ||
"npm": ">=6.10.1" | ||
}, | ||
@@ -123,0 +123,0 @@ "browserslist": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83560
12
724