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

orchestra-components

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orchestra-components - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

28

components/component.js

@@ -116,2 +116,30 @@ // import { patch } from 'incremental-dom';

}
shouldComponentUpdate() {
let isDirty = false;
if (this.currentData) {
for (const prop in this.data) {
if (Array.isArray(this.data[prop])) {
const isEqual = this.data[prop].every((element, index) => element === this.currentData[prop][index]);
if (!isEqual) {
isDirty = true;
break;
}
} else {
if (this.data[prop] !== this.currentData[prop]) {
isDirty = true;
break;
}
}
}
} else {
isDirty = true;
}
this.currentData = this.data;
return isDirty;
}
}

2

package.json
{
"name": "orchestra-components",
"version": "0.6.1",
"version": "0.6.2",
"description": "",

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

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