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

@eturnity/eturnity_maths

Package Overview
Dependencies
Maintainers
0
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eturnity/eturnity_maths - npm Package Compare versions

Comparing version 7.42.1-EPDM-11570.0 to 7.42.1-EPDM-11570.1

2

package.json
{
"name": "@eturnity/eturnity_maths",
"version": "7.42.1-EPDM-11570.0",
"version": "7.42.1-EPDM-11570.1",
"author": "Eturnity Team",

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

@@ -229,27 +229,27 @@ import { translate2D, getDegree } from '../geometry'

} else if (this.layer == 'moduleField') {
// const modules = []
// if (this.panels) {
// this.panels.forEach((p) => {
// modules.push({
// id: p.id,
// row_index: p.row_index,
// col_index: p.col_index,
// outline: p.outline,
// status: p.status || 'active',
// clipped: p.clipped || false,
// })
// })
// }
// if (this.userDeactivatedPanels) {
// this.userDeactivatedPanels.forEach((p) => {
// modules.push({
// id: p.id,
// row_index: p.row_index,
// col_index: p.col_index,
// outline: p.outline,
// status: p.status || 'user_deactivated',
// clipped: p.clipped || false,
// })
// })
// }
const modules = []
if (this.panels) {
this.panels.forEach((p) => {
modules.push({
id: p.id,
row_index: p.row_index,
col_index: p.col_index,
outline: p.outline,
status: p.status || 'active',
clipped: p.clipped || false,
})
})
}
if (this.userDeactivatedPanels) {
this.userDeactivatedPanels.forEach((p) => {
modules.push({
id: p.id,
row_index: p.row_index,
col_index: p.col_index,
outline: p.outline,
status: p.status || 'user_deactivated',
clipped: p.clipped || false,
})
})
}
extraSerialization.data = {

@@ -264,3 +264,3 @@ ...this.data,

: null
// extraSerialization.modules = modules // needed?
extraSerialization.modules = modules
extraSerialization.needsOptimisation = this.needsOptimisation

@@ -267,0 +267,0 @@ extraSerialization.priority = this.priority

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