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.8 to 1.3.9

2

package.json
{
"name": "@doe-casl/verain-view",
"version": "1.3.8",
"version": "1.3.9",
"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.",

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

import VTKWidget from '../widgets/VTKWidget';
import Color from '../widgets/Color';

@@ -80,36 +79,30 @@ import vtkRodVTKViewer from '../utils/RodVTKViewer';

{
key: 'color',
dataKey: '',
label: 'Color',
key: 'cell',
dataKey: 'label',
label: 'Cell',
classes: style.centeredCell,
render: (_, layer) => {
render: (cellName, layer) => {
const color = this.props.ui.domain.cells[layer.label].color;
// adds alpha channel
const out = ColorManager.toRGBA(color.concat([1]));
return <Color color={out} title="" border />;
const background = ColorManager.toRGBA(color.concat([1]));
return (
<select
className={style.fullWidth}
style={{ background }}
value={cellName}
onChange={(e) => this.onCellChange(layer, e.target.value)}
>
{cells.map((name) => (
<option key={name} value={name}>
{name}
</option>
))}
</select>
);
},
},
{
key: 'cell',
dataKey: 'label',
label: 'Cell/Layer Type',
classes: style.centeredCell,
render: (cellName, layer) => (
<select
className={style.fullWidth}
value={cellName}
onChange={(e) => this.onCellChange(layer, e.target.value)}
>
{cells.map((name) => (
<option key={name} value={name}>
{name}
</option>
))}
</select>
),
},
{
key: 'length',
dataKey: 'length',
label: 'Length',
label: 'Axial Length',
classes: style.centeredCell,

@@ -116,0 +109,0 @@ render: (value, layer) => (

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