Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cp-multi-selector

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cp-multi-selector - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

22

build/cp-multi-selector.js

@@ -6,3 +6,3 @@ /*!

* license: MIT
* version: 2.0.1
* version: 2.0.2
*/

@@ -255,3 +255,3 @@ exports['cp-multi-selector'] = function (modules) {

if (!$(e.target).closest(el).length) {
scope.$apply(function () {
safeApply(scope, function () {
scope.showDialog = false;

@@ -267,7 +267,5 @@ });

function triggerChange() {
$timeout(function () {
scope.$apply(function () {
scope.onChange();
});
}, null, false);
safeApply(scope, function () {
scope.onChange();
});
}

@@ -304,3 +302,11 @@ }

}
]); /***/
]);
function safeApply(scope, fn) {
var phase = scope.$root.$$phase;
if (phase === '$apply' || phase === '$digest') {
fn();
} else {
scope.$apply(fn);
}
} /***/
},

@@ -307,0 +313,0 @@ function (module, exports) {

{
"name": "cp-multi-selector",
"version": "2.0.1",
"version": "2.0.2",
"description": "Component Description",

@@ -5,0 +5,0 @@ "main": "build/cp-multi-selector.js",

@@ -199,3 +199,3 @@ var _ = require('lodash');

if(!$(e.target).closest(el).length) {
scope.$apply(function() {
safeApply(scope, function() {
scope.showDialog = false;

@@ -213,7 +213,5 @@ })

function triggerChange() {
$timeout(function() {
scope.$apply(function() {
scope.onChange();
});
}, null, false);
safeApply(scope, function() {
scope.onChange();
});
}

@@ -253,1 +251,11 @@ }

}]);
function safeApply(scope, fn) {
var phase = scope.$root.$$phase;
if (phase === '$apply' || phase === '$digest') {
fn();
} else {
scope.$apply(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