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.5 to 1.3.6

2

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

@@ -134,5 +134,14 @@ import React from 'react';

if (this.props.data.value && this.props.data.value.length) {
items = this.props.data.value[0].stack.map((layer, idx) =>
Object.assign({ key: idx }, layer)
);
items = this.props.data.value[0].stack.map((layer, idx) => {
const color = this.props.ui.domain.cells[layer.label].color;
// adds alpha channel
const background = ColorManager.toRGBA(color.concat([1]));
return Object.assign(
{
key: idx,
color: background,
},
layer
);
});
}

@@ -139,0 +148,0 @@

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