Huge News!Announcing our $40M Series B led by Abstract Ventures.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.47 to 1.3.48

2

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

@@ -144,3 +144,5 @@ import React from 'react';

const viz = this.props.ui.domain;
const materialIds = viz.types.materials || [];
let materialIds = viz.types.fuels || [];
if (viz.types.materials)
materialIds = materialIds.concat(viz.types.materials);

@@ -166,3 +168,3 @@ const materialOptions = materialIds.map((id) => {

dataKey: 'material',
label: 'Material',
label: 'Material / Fuel',
render: (matId, item) => {

@@ -169,0 +171,0 @@ const color = toRGB(viz.colors[matId]);

@@ -102,3 +102,4 @@ import React from 'react';

const vizData = Object.assign({ selected: this.props.viewData.id }, viz);
const types = viz.core.types[this.props.viewData.id] || [];
const types =
(viz.core.types && viz.core.types[this.props.viewData.id]) || [];
return (

@@ -105,0 +106,0 @@ <div className={style.container}>

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