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 3.0.3 to 3.1.0

6

__tests__/v-click-outside-x.test.js

@@ -237,3 +237,3 @@ import * as ESM from '../src/index';

clickCaptureInstances.find(item => item.el === div1),
).toEqual({
).toStrictEqual({
binding: {

@@ -266,3 +266,3 @@ arg: 'pointerdown',

clickNonCaptureInstances.find(item => item.el === div2),
).toEqual({
).toStrictEqual({
binding: {

@@ -282,3 +282,3 @@ arg: 'pointerdown',

clickNonCaptureInstances.find(item => item.el === div3),
).toEqual({
).toStrictEqual({
binding: {

@@ -285,0 +285,0 @@ arg: 'pointerdown',

@@ -239,3 +239,2 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (newInstance.length) {
/* eslint-disable-next-line no-param-reassign */
instances[eventName] = newInstance;

@@ -247,3 +246,2 @@ } else {

/* eslint-disable-next-line no-param-reassign */
delete instances[eventName];

@@ -250,0 +248,0 @@ }

{
"name": "v-click-outside-x",
"version": "3.0.3",
"version": "3.1.0",
"description": "Vue directive to react on clicks outside an element.",

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

"devDependencies": {
"@prorenata/eslint-config-vue": "^1.0.7",
"@prorenata/eslint-config-vue": "^1.1.3",
"babel-cli": "^6.26.0",

@@ -65,17 +65,17 @@ "babel-core": "^6.26.3",

"cross-env": "^5.2.0",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint": "^5.4.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-friendly-formatter": "^4.0.1",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-loader": "^2.0.0",
"eslint-loader": "^2.1.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-compat": "^2.5.0",
"eslint-plugin-compat": "^2.5.1",
"eslint-plugin-css-modules": "^2.7.5",
"eslint-plugin-eslint-comments": "^2.0.2",
"eslint-plugin-eslint-comments": "^3.0.1",
"eslint-plugin-html": "^4.0.5",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.17.0",
"eslint-plugin-jsdoc": "^3.7.1",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-jsdoc": "^3.8.0",
"eslint-plugin-json": "^1.2.1",
"eslint-plugin-lodash": "^2.7.0",

@@ -85,22 +85,22 @@ "eslint-plugin-no-use-extend-native": "^0.3.12",

"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-sort-class-members": "^1.3.1",
"eslint-plugin-vue": "^4.5.0",
"eslint-plugin-vue": "^5.0.0-beta.3",
"friendly-errors-webpack-plugin": "^1.7.0",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.4.0",
"jest-cli": "^23.4.0",
"jest": "^23.5.0",
"jest-cli": "^23.5.0",
"jest-file": "^1.0.0",
"jsdoc-to-markdown": "^4.0.1",
"nodemon": "^1.18.1",
"prettier": "^1.13.7",
"nodemon": "^1.18.3",
"prettier": "^1.14.2",
"pretty-quick": "^1.6.0",
"rimraf": "^2.6.2",
"semver": "^5.5.0",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.16.0",
"semver": "^5.5.1",
"uglifyjs-webpack-plugin": "^1.3.0",
"webpack": "^4.17.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.0.8",
"webpack-merge": "^4.1.3"
"webpack-cli": "^3.1.0",
"webpack-merge": "^4.1.4"
},

@@ -107,0 +107,0 @@ "engines": {

@@ -123,3 +123,2 @@ const CLICK = 'click';

if (newInstance.length) {
/* eslint-disable-next-line no-param-reassign */
instances[eventName] = newInstance;

@@ -135,3 +134,2 @@ } else {

/* eslint-disable-next-line no-param-reassign */
delete instances[eventName];

@@ -138,0 +136,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