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

@doe-casl/verain-view

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doe-casl/verain-view - npm Package Compare versions

Comparing version 1.3.25 to 1.3.26

2

package.json
{
"name": "@doe-casl/verain-view",
"version": "1.3.25",
"version": "1.3.26",
"description": "VeraInView is a standalone HTML file that can act as an application to visualize your VERAin XML files.",

@@ -5,0 +5,0 @@ "author": "Kitware, Inc.",

@@ -44,2 +44,6 @@ import React from 'react';

// },
// rodsOffset: {
// 1: 0,
// 2: 4.5,
// },
// map: {

@@ -64,2 +68,3 @@ // size: 17,

rods: {},
rodsOffset: {},
map: {

@@ -97,2 +102,3 @@ size: assemblySize,

result.rods[rodId] = rods[rodId].rodStack.rod.value[0].stack;
result.rodsOffset[rodId] = rods[rodId].rodInfo.offset.value[0] || 0;
}

@@ -99,0 +105,0 @@

@@ -130,2 +130,6 @@ import macro from 'vtk.js/Sources/macro';

// },
// rodsOffset: {
// 1: 0,
// 2: 4.5,
// },
// map: {

@@ -141,3 +145,10 @@ // size: 17,

const { pitch, colors, cells, rods, map: { size, grid } } = rodMap;
const {
pitch,
colors,
cells,
rods,
map: { size, grid },
rodsOffset,
} = rodMap;
const matIdMapping = processColors(colors, model.lookupTable);

@@ -155,2 +166,3 @@ const cellMap = processCells(cells, matIdMapping);

const rod = rodsCells[grid[idx]];
const offset = rodsOffset[grid[idx]];
if (rod) {

@@ -165,3 +177,3 @@ const cellIds = Object.keys(rod);

cell.center.push(y);
cell.center.push(z);
cell.center.push(z + offset);
cell.scale.push(1);

@@ -168,0 +180,0 @@ cell.scale.push(1);

@@ -11,2 +11,3 @@ import React from 'react';

props.totalLength -
props.offset -
props.stack.map((i) => i.length).reduce((a, b) => a + b, 0)

@@ -13,0 +14,0 @@ ).toFixed(1);

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