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

dresscode-quantum

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dresscode-quantum - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

15

lib/Quantum/Array.js

@@ -15,6 +15,2 @@ Quantum.Array = Bricks.inherit(Quantum.Quant, {

setValue: function() {
throw new Error('Not supported');
},
append: function(items) {

@@ -52,8 +48,9 @@ this.splice(this._value.length, 0, items);

insertItems = insertItems || [];
var newValue = this._value.slice(0);
for (var i = 0; i < deleteCount; i++) {
var index = start + i;
if (index < this._value.length) {
if (index < newValue.length) {
this._fireEvent('remove', {
index: index,
item: this._value[index]
item: newValue[index]
});

@@ -66,6 +63,6 @@ }

item: item,
nextItem: this._value[start + deleteCount]
nextItem: newValue[start + deleteCount]
});
}, this);
var deletedItems = this._value.splice.apply(this._value, [start, deleteCount].concat(insertItems));
var deletedItems = newValue.splice.apply(newValue, [start, deleteCount].concat(insertItems));
this._fireEvent('splice', {

@@ -76,3 +73,3 @@ start: start,

});
this.touch();
this.setValue(newValue);
return deletedItems;

@@ -79,0 +76,0 @@ },

2

package.json
{
"name": "dresscode-quantum",
"version": "1.1.1",
"version": "1.1.2",
"dependencies": {

@@ -5,0 +5,0 @@ "dresscode-bricks": ">=0.2.10"

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