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.17 to 4.0.18

4

dist/v-click-outside-x.esm.js

@@ -9,5 +9,7 @@ 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); }

import { version } from '../package.json';
/**
* @typedef {import("../types/index.d.ts")} VClickOutsidePlugin
*/
var CLICK = 'click';

@@ -200,3 +202,3 @@ var captureInstances = Object.create(null);

enumerable: true,
value: '4.0.17'
value: version
}

@@ -203,0 +205,0 @@ });

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

"copywrite": "Copyright (c) 2018-present",
"date": "2019-08-27T20:07:11.781Z",
"date": "2019-08-27T23:37:51.755Z",
"describe": "",
"description": "Vue directive to react on clicks outside an element.",
"file": "v-click-outside-x.js",
"hash": "a006400b10df7ffe5456",
"hash": "0b0d418157b998a3014e",
"license": "MIT",
"version": "4.0.17"
"version": "4.0.18"
}

@@ -153,3 +153,3 @@ */

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 0);
/******/ return __webpack_require__(__webpack_require__.s = 1);
/******/ })

@@ -159,2 +159,8 @@ /************************************************************************/

/* 0 */
/***/ (function(module) {
module.exports = JSON.parse("{\"a\":\"4.0.18\"}");
/***/ }),
/* 1 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -166,2 +172,4 @@

/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "install", function() { return install; });
/* harmony import */ var _package_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
var _package_json__WEBPACK_IMPORTED_MODULE_0___namespace = /*#__PURE__*/__webpack_require__.t(0, 1);
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); }

@@ -175,5 +183,7 @@

/**
* @typedef {import("../types/index.d.ts")} VClickOutsidePlugin
*/
var CLICK = 'click';

@@ -366,3 +376,3 @@ var captureInstances = Object.create(null);

enumerable: true,
value: '4.0.17'
value: _package_json__WEBPACK_IMPORTED_MODULE_0__[/* version */ "a"]
}

@@ -369,0 +379,0 @@ });

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

"copywrite": "Copyright (c) 2018-present",
"date": "2019-08-27T20:07:11.781Z",
"date": "2019-08-27T23:37:51.755Z",
"describe": "",
"description": "Vue directive to react on clicks outside an element.",
"file": "v-click-outside-x.min.js",
"hash": "5d275561f0cfc74499ac",
"hash": "df96dd8a63a3297bd8da",
"license": "MIT",
"version": "4.0.17"
"version": "4.0.18"
}
*/
!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)}}])});
!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)}}])});
//# sourceMappingURL=v-click-outside-x.min.js.map
{
"name": "v-click-outside-x",
"version": "4.0.17",
"version": "4.0.18",
"description": "Vue directive to react on clicks outside an element.",
"homepage": "https://github.com/Xotic750/v-click-outside-x.git",
"repository": {
"type": "git",
"url": "https://github.com/Xotic750/v-click-outside-x.git"
"author": {
"name": "Graham Fairweather",
"email": "xotic750@gmail.com"
},
"bugs": {
"url": "https://github.com/Xotic750/v-click-outside-x/issues"
},
"copyright": "Copyright (c) 2018-present",
"keywords": [
"vue",
"click",
"outside",
"directive"
],
"files": [
"dist",
"src"
],
"module": "dist/v-click-outside-x.esm.js",
"main": "dist/v-click-outside-x.js",
"module": "dist/v-click-outside-x.esm.js",
"typings": "types/index.d.ts",
"jsdelivr": "dist/v-click-outside-x.min.js",
"scripts": {

@@ -31,21 +40,14 @@ "build:esm": "mkdirp dist && babel -s true --env-name esm src/v-click-outside-x.js -o dist/v-click-outside-x.esm.js",

"test": "npm run clean:coverage && jest",
"test:ci": "npm run test -- --ci --maxWorkers=2 --coverage --coverageReporters=text-lcov | coveralls",
"test:ci": "npm run test -- --ci --maxWorkers=2",
"test:ci-coveralls": "npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls",
"test:coverage": "npm run test -- --coverage"
},
"author": {
"name": "Graham Fairweather",
"email": "xotic750@gmail.com"
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Xotic750/v-click-outside-x.git"
},
"copyright": "Copyright (c) 2018-present",
"license": "MIT",
"keywords": [
"vue",
"click",
"outside",
"directive"
],
"files": [
"dist",
"src"
],
"bugs": {
"url": "https://github.com/Xotic750/v-click-outside-x/issues"
},
"dependencies": {},

@@ -56,6 +58,2 @@ "devDependencies": {

"@babel/node": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-export-default-from": "^7.2.0",
"@babel/plugin-syntax-export-namespace-from": "^7.2.0",
"@babel/plugin-transform-property-mutators": "^7.2.0",

@@ -67,2 +65,3 @@ "@babel/plugin-transform-runtime": "^7.5.5",

"@types/node": "^12.7.2",
"@types/webpack": "^4.39.1",
"@typescript-eslint/eslint-plugin": "^2.0.0",

@@ -79,4 +78,2 @@ "@typescript-eslint/parser": "^2.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",

@@ -101,3 +98,2 @@ "eslint-import-resolver-webpack": "^0.11.1",

"eslint-plugin-switch-case": "^1.1.2",
"friendly-errors-webpack-plugin": "^1.7.0",
"jest": "^24.9.0",

@@ -109,8 +105,7 @@ "jest-cli": "^24.9.0",

"mkdirp": "^0.5.1",
"node-notifier": "^5.4.3",
"nodemon": "^1.19.1",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"semver": "^6.3.0",
"source-map-loader": "^0.2.4",
"strip-ansi": "^5.2.0",
"terser-webpack-plugin": "^1.4.1",

@@ -117,0 +112,0 @@ "typescript": "^3.5.3",

@@ -1,25 +0,37 @@

<a href="https://travis-ci.org/Xotic750/v-click-outside-x"
title="Travis status">
<a
href="https://travis-ci.org/Xotic750/v-click-outside-x"
title="Travis status">
<img
src="https://travis-ci.org/Xotic750/v-click-outside-x.svg?branch=master"
alt="Travis status" height="18"/>
src="https://travis-ci.org/Xotic750/v-click-outside-x.svg?branch=master"
alt="Travis status" height="18">
</a>
<a href="https://david-dm.org/Xotic750/v-click-outside-x"
title="Dependency status">
<img src="https://david-dm.org/Xotic750/v-click-outside-x.svg"
alt="Dependency status" height="18"/>
<a
href="https://david-dm.org/Xotic750/v-click-outside-x"
title="Dependency status">
<img src="https://david-dm.org/Xotic750/v-click-outside-x/status.svg"
alt="Dependency status" height="18"/>
</a>
<a href="https://david-dm.org/Xotic750/v-click-outside-x#info=devDependencies"
title="devDependency status">
<a
href="https://david-dm.org/Xotic750/v-click-outside-x?type=dev"
title="devDependency status">
<img src="https://david-dm.org/Xotic750/v-click-outside-x/dev-status.svg"
alt="devDependency status" height="18"/>
alt="devDependency status" height="18"/>
</a>
<a href="https://badge.fury.io/js/v-click-outside-x" title="npm version">
<a
href="https://badge.fury.io/js/v-click-outside-x"
title="npm version">
<img src="https://badge.fury.io/js/v-click-outside-x.svg"
alt="npm version" height="18"/>
alt="npm version" height="18">
</a>
<a href="https://bettercodehub.com/results/Xotic750/v-click-outside-x"
title="bettercodehub score">
<a
href="https://www.jsdelivr.com/package/npm/v-click-outside-x"
title="jsDelivr hits">
<img src="https://data.jsdelivr.com/v1/package/npm/v-click-outside-x/badge?style=rounded"
alt="jsDelivr hits" height="18">
</a>
<a
href="https://bettercodehub.com/results/Xotic750/v-click-outside-x"
title="bettercodehub score">
<img src="https://bettercodehub.com/edge/badge/Xotic750/v-click-outside-x?branch=master"
alt="bettercodehub score" height="18">
alt="bettercodehub score" height="18">
</a>

@@ -26,0 +38,0 @@ <a

@@ -0,1 +1,3 @@

import {version} from '../package.json';
/**

@@ -197,3 +199,3 @@ * @typedef {import("../types/index.d.ts")} VClickOutsidePlugin

enumerable: true,
value: '4.0.17',
value: version,
},

@@ -200,0 +202,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

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