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

gent-diagram

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gent-diagram - npm Package Compare versions

Comparing version 0.3.4 to 0.4.0

5

lib/index.js

@@ -59,5 +59,4 @@ "use strict";

var getFillColor = function (state, taskId, theme) {
var current = state === null || state === void 0 ? void 0 : state.current;
if (current && current.task === taskId && current.subtask !== 'timeout') {
switch (state.current.status) {
if ((state === null || state === void 0 ? void 0 : state.task) === taskId && (state === null || state === void 0 ? void 0 : state.subtask) !== 'timeout') {
switch (state.status) {
case 'error':

@@ -64,0 +63,0 @@ return theme.taskErrorBackground;

6

lib/TimeoutEvent.js

@@ -37,4 +37,3 @@ "use strict";

var active = react_1.useMemo(function () {
var current = state === null || state === void 0 ? void 0 : state.current;
if ((current === null || current === void 0 ? void 0 : current.task) === properties.from && (current === null || current === void 0 ? void 0 : current.subtask) === 'timeout') {
if ((state === null || state === void 0 ? void 0 : state.task) === properties.from && (state === null || state === void 0 ? void 0 : state.subtask) === 'timeout') {
return true;

@@ -45,4 +44,3 @@ }

var event = react_1.useMemo(function () {
var _a;
var taskId = (_a = state === null || state === void 0 ? void 0 : state.current) === null || _a === void 0 ? void 0 : _a.task;
var taskId = state === null || state === void 0 ? void 0 : state.task;
if (taskId !== properties.from) {

@@ -49,0 +47,0 @@ return null;

{
"name": "gent-diagram",
"version": "0.3.4",
"version": "0.4.0",
"description": "Gent diagram visualisation in React",

@@ -5,0 +5,0 @@ "scripts": {

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