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.5 to 4.0.6

3

.eslintrc.js

@@ -20,2 +20,3 @@ /**

* You can define global variables here.
*
* @see {@link https://eslint.org/docs/user-guide/configuring#specifying-globals}

@@ -28,2 +29,3 @@ */

* for files within the same directory has to be different.
*
* @see {@link https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns}

@@ -55,2 +57,3 @@ */

* Webpack-literate module resolution plugin for eslint-plugin-import.
*
* @see {@link https://www.npmjs.com/package/eslint-import-resolver-webpack}

@@ -57,0 +60,0 @@ */

10

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

@@ -230,3 +230,3 @@ */

* The directive definition.
* {@link https://vuejs.org/v2/guide/custom-directive.html|Custom directive}
* {@link https://vuejs.org/v2/guide/custom-directive.html|Custom directive}.
*

@@ -330,3 +330,3 @@ * @namespace

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

@@ -333,0 +333,0 @@ });

/*!
{
"copywrite": "Copyright (c) 2018-present",
"date": "2019-06-13T23:35:54.093Z",
"date": "2019-07-01T07:07:02.122Z",
"describe": "",
"description": "Vue directive to react on clicks outside an element.",
"file": "v-click-outside-x.min.js",
"hash": "b78efa3db3f12fb69c4c",
"hash": "9e337b7ed199220dc93a",
"license": "MIT",
"version": "4.0.5"
"version": "4.0.6"
}
*/
!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.5"}});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){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}])});
//# sourceMappingURL=v-click-outside-x.min.js.map
{
"name": "v-click-outside-x",
"version": "4.0.5",
"version": "4.0.6",
"description": "Vue directive to react on clicks outside an element.",

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

"@babel/runtime": "^7.4.5",
"@prorenata/eslint-config-vue": "^1.13.2",
"@typescript-eslint/eslint-plugin": "^1.10.2",
"@typescript-eslint/parser": "^1.10.2",
"@prorenata/eslint-config-vue": "^1.13.3",
"@typescript-eslint/eslint-plugin": "^1.11.0",
"@typescript-eslint/parser": "^1.11.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.0.1",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",

@@ -64,3 +64,3 @@ "cross-env": "^5.2.0",

"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-prettier": "^6.0.0",
"eslint-friendly-formatter": "^4.0.1",

@@ -70,18 +70,18 @@ "eslint-import-resolver-webpack": "^0.11.1",

"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-compat": "^3.2.0",
"eslint-plugin-css-modules": "^2.11.0",
"eslint-plugin-eslint-comments": "^3.1.1",
"eslint-plugin-html": "^5.0.5",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-jsdoc": "^7.2.3",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jest": "^22.7.1",
"eslint-plugin-jsdoc": "^10.0.3",
"eslint-plugin-json": "^1.4.0",
"eslint-plugin-lodash": "^5.1.0",
"eslint-plugin-no-use-extend-native": "^0.4.0",
"eslint-plugin-no-use-extend-native": "^0.4.1",
"eslint-plugin-prefer-object-spread": "^1.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-sort-class-members": "^1.4.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-sort-class-members": "^1.5.0",
"eslint-plugin-switch-case": "^1.1.2",
"eslint-plugin-vue": "^5.2.2",
"eslint-plugin-vue": "^5.2.3",
"friendly-errors-webpack-plugin": "^1.7.0",

@@ -93,9 +93,9 @@ "jest": "^24.8.0",

"rimraf": "^2.6.3",
"semver": "^6.1.1",
"semver": "^6.1.3",
"terser-webpack-plugin": "^1.3.0",
"typescript": "^3.5.2",
"vue": "^2.6.10",
"webpack": "^4.32.2",
"webpack": "^4.35.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.2",
"webpack-cli": "^3.3.5",
"webpack-merge": "^4.2.1"

@@ -102,0 +102,0 @@ },

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

* The directive definition.
* {@link https://vuejs.org/v2/guide/custom-directive.html|Custom directive}
* {@link https://vuejs.org/v2/guide/custom-directive.html|Custom directive}.
*

@@ -200,3 +200,3 @@ * @namespace

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

@@ -203,0 +203,0 @@ },

@@ -39,2 +39,3 @@ /**

* The NODE_ENV environment variable.
*
* @type {!object}

@@ -46,2 +47,3 @@ */

* The production string.
*
* @type {string}

@@ -53,2 +55,3 @@ */

* The development string.
*
* @type {string}

@@ -60,2 +63,3 @@ */

* The default include paths.
*
* @type {string}

@@ -77,3 +81,4 @@ */

/**
* The JSON content of `package.json`
* The JSON content of `package.json`.
*
* @type {!object}

@@ -84,3 +89,4 @@ */

/**
* The reference created bu git describe --dirty`
* The reference created bu git describe --dirty`.
*
* @type {string}

@@ -96,2 +102,3 @@ * @see {@link https://git-scm.com/docs/git-describe}

* The date as of now.
*
* @type {string}

@@ -105,7 +112,7 @@ */

*
* nosources-source-map - A SourceMap is created without the sourcesContent in it.
* Nosources-source-map - A SourceMap is created without the sourcesContent in it.
* It can be used to map stack traces on the client without exposing all of the
* source code. You can deploy the Source Map file to the web-server.
*
* eval-source-map - Each module is executed with eval() and a SourceMap is added as
* Eval-source-map - Each module is executed with eval() and a SourceMap is added as
* a DataUrl to the eval(). Initially it is slow, but it provides fast rebuild speed

@@ -115,3 +122,3 @@ * and yields real files. Line numbers are correctly mapped since it gets mapped to

*
* source-map - A full SourceMap is emitted as a separate file. It adds a reference
* Source-map - A full SourceMap is emitted as a separate file. It adds a reference
* comment to the bundle so development tools know where to find it.

@@ -126,3 +133,4 @@ *

* Define the entry points for the application.
* @type {array.<string>}
*
* @type {Array.<string>}
* @see {@link https://webpack.js.org/concepts/entry-points/}

@@ -141,7 +149,7 @@ */

*
* webpack supports modules written in a variety of languages and preprocessors, via loaders.
* Webpack supports modules written in a variety of languages and preprocessors, via loaders.
* Loaders describe to webpack how to process non-JavaScript modules and include these dependencies
* into your bundles.
*
* @type {array.<!Object>}
* @type {Array.<!object>}
* @see {@link https://webpack.js.org/configuration/module/#module-rules}

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

/**
* eslint-loader options.
* Eslint-loader options.
*
* @type {!object}

@@ -200,2 +209,3 @@ * @see {@link https://github.com/MoOx/eslint-loader}

* files to disk.
*
* @type {!object}

@@ -223,2 +233,3 @@ * @see {@link https://webpack.js.org/configuration/output/}

* Adds a banner to the top of each generated chunk.
*
* @type {!object}

@@ -248,2 +259,3 @@ * @see {@link https://webpack.js.org/plugins/banner-plugin/}

* These options change how modules are resolved.
*
* @type {!object}

@@ -255,2 +267,3 @@ * @see {@link https://webpack.js.org/configuration/resolve/}

* Create aliases to import or require certain modules more easily.
*
* @type {!object}

@@ -257,0 +270,0 @@ * @see {@link https://webpack.js.org/configuration/resolve/#resolve-alias}

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