v-click-outside-x
Advanced tools
Comparing version 4.0.16 to 4.0.17
@@ -199,3 +199,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); } | ||
enumerable: true, | ||
value: '4.0.16' | ||
value: '4.0.17' | ||
} | ||
@@ -202,0 +202,0 @@ }); |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2018-present", | ||
"date": "2019-08-07T21:17:53.380Z", | ||
"date": "2019-08-27T20:07:11.781Z", | ||
"describe": "", | ||
"description": "Vue directive to react on clicks outside an element.", | ||
"file": "v-click-outside-x.js", | ||
"hash": "0372740c8418f0a1b7e2", | ||
"hash": "a006400b10df7ffe5456", | ||
"license": "MIT", | ||
"version": "4.0.16" | ||
"version": "4.0.17" | ||
} | ||
@@ -27,15 +27,44 @@ */ | ||
if (typeof self !== 'undefined') { | ||
return self; | ||
} | ||
var ObjectCtr = {}.constructor; | ||
var objectPrototype = ObjectCtr.prototype; | ||
var defineProperty = ObjectCtr.defineProperty; | ||
var $globalThis; | ||
var getGlobalFallback = function() { | ||
if (typeof self !== 'undefined') { | ||
return self; | ||
} | ||
if (typeof window !== 'undefined') { | ||
return window; | ||
} | ||
if (typeof window !== 'undefined') { | ||
return window; | ||
} | ||
if (typeof global !== 'undefined') { | ||
return global; | ||
if (typeof global !== 'undefined') { | ||
return global; | ||
} | ||
return void 0; | ||
}; | ||
var returnThis = function() { | ||
return this; | ||
}; | ||
try { | ||
if (defineProperty) { | ||
defineProperty(objectPrototype, '$$globalThis$$', { | ||
get: returnThis, | ||
configurable: true | ||
}); | ||
} else { | ||
objectPrototype.__defineGetter__('$$globalThis$$', returnThis); | ||
} | ||
$globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$; | ||
delete objectPrototype.$$globalThis$$; | ||
return $globalThis; | ||
} catch (error) { | ||
return getGlobalFallback(); | ||
} | ||
return Function('return this')(); | ||
}()), function() { | ||
@@ -334,3 +363,3 @@ return /******/ (function(modules) { // webpackBootstrap | ||
enumerable: true, | ||
value: '4.0.16' | ||
value: '4.0.17' | ||
} | ||
@@ -337,0 +366,0 @@ }); |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2018-present", | ||
"date": "2019-08-07T21:17:53.380Z", | ||
"date": "2019-08-27T20:07:11.781Z", | ||
"describe": "", | ||
"description": "Vue directive to react on clicks outside an element.", | ||
"file": "v-click-outside-x.min.js", | ||
"hash": "e2def3ff7da8ffef1535", | ||
"hash": "5d275561f0cfc74499ac", | ||
"license": "MIT", | ||
"version": "4.0.16" | ||
"version": "4.0.17" | ||
} | ||
*/ | ||
!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";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);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?o(n,!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}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}n.r(t),n.d(t,"directive",function(){return b}),n.d(t,"install",function(){return y});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.16"}});function y(e){e.directive("click-outside",b)}}])}); | ||
!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=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);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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(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}n.r(t),n.d(t,"directive",function(){return b}),n.d(t,"install",function(){return y});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 i=t.binding;i.modifiers.stop&&n.stopPropagation(),i.modifiers.prevent&&n.preventDefault(),i.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=i({},t,{},{arg:n,modifiers:i({},{capture:!1,prevent:!1,stop:!1},{},t.modifiers)}),u=o.modifiers.capture,l=u?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(u,n),u)}},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 i=e[n].filter(t);i.length?e[n]=i:("object"===("undefined"==typeof document?"undefined":r(document))&&document&&document.removeEventListener(n,s(o,n),o),delete e[n])})}})}},version:{enumerable:!0,value:"4.0.17"}});function y(e){e.directive("click-outside",b)}}])}); | ||
//# sourceMappingURL=v-click-outside-x.min.js.map |
{ | ||
"name": "v-click-outside-x", | ||
"version": "4.0.16", | ||
"version": "4.0.17", | ||
"description": "Vue directive to react on clicks outside an element.", | ||
@@ -63,9 +63,9 @@ "homepage": "https://github.com/Xotic750/v-click-outside-x.git", | ||
"@babel/runtime": "^7.5.5", | ||
"@types/jest": "^24.0.17", | ||
"@types/node": "^12.7.0", | ||
"@typescript-eslint/eslint-plugin": "^1.13.0", | ||
"@typescript-eslint/parser": "^1.13.0", | ||
"@xotic750/eslint-config-recommended": "^1.0.6", | ||
"@types/jest": "^24.0.18", | ||
"@types/node": "^12.7.2", | ||
"@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"@xotic750/eslint-config-recommended": "^1.1.7", | ||
"babel-core": "^7.0.0-0", | ||
"babel-eslint": "^10.0.2", | ||
"babel-eslint": "^10.0.3", | ||
"babel-loader": "^8.0.6", | ||
@@ -76,8 +76,8 @@ "babel-plugin-lodash": "^3.3.4", | ||
"cross-env": "^5.2.0", | ||
"eslint": "=5.16.0", | ||
"eslint-config-airbnb-base": "^13.2.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint": "^6.2.2", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-config-prettier": "^6.1.0", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
"eslint-import-resolver-webpack": "^0.11.1", | ||
"eslint-loader": "^2.2.1", | ||
"eslint-loader": "^3.0.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
@@ -89,6 +89,6 @@ "eslint-plugin-compat": "^3.3.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jest": "^22.15.0", | ||
"eslint-plugin-jsdoc": "^15.8.0", | ||
"eslint-plugin-jest": "^22.15.2", | ||
"eslint-plugin-jsdoc": "^15.8.3", | ||
"eslint-plugin-json": "^1.4.0", | ||
"eslint-plugin-lodash": "^5.1.1", | ||
"eslint-plugin-lodash": "^6.0.0", | ||
"eslint-plugin-no-use-extend-native": "^0.4.1", | ||
@@ -98,7 +98,7 @@ "eslint-plugin-prefer-object-spread": "^1.2.1", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-sort-class-members": "^1.5.0", | ||
"eslint-plugin-sort-class-members": "^1.6.0", | ||
"eslint-plugin-switch-case": "^1.1.2", | ||
"friendly-errors-webpack-plugin": "^1.7.0", | ||
"jest": "^24.8.0", | ||
"jest-cli": "^24.8.0", | ||
"jest": "^24.9.0", | ||
"jest-cli": "^24.9.0", | ||
"jest-file": "^1.0.0", | ||
@@ -108,6 +108,6 @@ "lodash": "^4.17.15", | ||
"mkdirp": "^0.5.1", | ||
"node-notifier": "^5.4.1", | ||
"node-notifier": "^5.4.3", | ||
"nodemon": "^1.19.1", | ||
"prettier": "^1.18.2", | ||
"rimraf": "^2.6.3", | ||
"rimraf": "^3.0.0", | ||
"semver": "^6.3.0", | ||
@@ -117,6 +117,7 @@ "source-map-loader": "^0.2.4", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.39.1", | ||
"webpack": "^4.39.3", | ||
"webpack-bundle-analyzer": "^3.4.1", | ||
"webpack-cli": "^3.3.6", | ||
"webpack-merge": "^4.2.1" | ||
"webpack-cli": "^3.3.7", | ||
"webpack-global-object-x": "^1.0.0", | ||
"webpack-merge": "^4.2.2" | ||
}, | ||
@@ -123,0 +124,0 @@ "engines": { |
@@ -197,3 +197,3 @@ /** | ||
enumerable: true, | ||
value: '4.0.16', | ||
value: '4.0.17', | ||
}, | ||
@@ -200,0 +200,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
82853
728
65