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

angular2-select

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-select - npm Package Compare versions

Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7

2

package.json
{
"name": "angular2-select",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"description": "Select component for Angular 2 (based on select2 JQuery plugin).",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -243,9 +243,11 @@ "use strict";

this.value = value;
// Populate `selection` and `value` arrays.
for (var _i = 0, value_1 = value; _i < value_1.length; _i++) {
var optionValue = value_1[_i];
var option = this.optionsDict[optionValue];
option.selected = true;
this.selection.push(option);
for (var item in this.optionsDict) {
if (value.indexOf(item) > -1) {
this.optionsDict[item].selected = true;
}
else {
this.optionsDict[item].selected = false;
}
}
this.updateSelection();
};

@@ -252,0 +254,0 @@ SelectComponent.prototype.registerOnChange = function (fn) {

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