New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-checkbox

Package Overview
Dependencies
Maintainers
17
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-checkbox - npm Package Compare versions

Comparing version 2.2.7 to 2.2.8

2

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-checkbox",
"version": "2.2.7",
"version": "2.2.8",
"main": "vaadin-checkbox.js",

@@ -16,0 +16,0 @@ "author": "Vaadin Ltd",

@@ -117,3 +117,3 @@ [![npm version](https://badgen.net/npm/v/@vaadin/vaadin-checkbox)](https://www.npmjs.com/package/@vaadin/vaadin-checkbox)

We are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `gulp lint`, which will automatically lint all `.js` files as well as JavaScript snippets inside `.html` files.
We are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `npm run lint`, which will automatically lint all `.js` files as well as JavaScript snippets inside `.html` files.

@@ -120,0 +120,0 @@

@@ -186,2 +186,4 @@ /**

this._addCheckboxToValue(checkbox.value);
} else if (this.value.indexOf(checkbox.value) > -1) {
checkbox.checked = true;
}

@@ -230,12 +232,9 @@ });

_addCheckboxToValue(value) {
const update = this.value.slice(0);
update.push(value);
this.value = update;
if (this.value.indexOf(value) === -1) {
this.value = this.value.concat(value);
}
}
_removeCheckboxFromValue(value) {
const update = this.value.slice(0);
const index = update.indexOf(value);
update.splice(index, 1);
this.value = update;
this.value = this.value.filter(v => v !== value);
}

@@ -242,0 +241,0 @@

@@ -113,3 +113,3 @@ /**

static get version() {
return '2.2.7';
return '2.2.8';
}

@@ -305,3 +305,3 @@

this.checked = !this.checked;
this.dispatchEvent(new CustomEvent('change', {composed: true, bubbles: true}));
this.dispatchEvent(new CustomEvent('change', {composed: false, bubbles: true}));
}

@@ -308,0 +308,0 @@

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