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

@disputas/diagram

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@disputas/diagram - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

8

lib/components.js

@@ -90,3 +90,5 @@ 'use strict';

var isBuilding = activePropositionId && activePropositionId !== propositionId;
var hasConnections = getArgumentsByPropositionId(propositionId).length > 0;
var args = getArgumentsByPropositionId(propositionId);
var hasConnections = args.length > 0;
var isRelevance = args.some(function (arg) { return arg.type === "relevance"; });
return (React__default["default"].createElement(React__default["default"].Fragment, null,

@@ -129,3 +131,5 @@ React__default["default"].createElement("foreignObject", { width: width, ref: containerRef, height: height, x: x, id: "node_".concat(propositionId), y: y, onMouseOver: function () {

constants.NodeAttrs.borderWidth,
}, propositionId: propositionId, categories: categories, hideContext: hideContext }))));
}, propositionId: propositionId, categories: isRelevance
? categories
: categories.filter(function (cat) { return cat.shadowName !== "relevance"; }), hideContext: hideContext }))));
};

@@ -132,0 +136,0 @@ var Edge = function (_a) {

{
"name": "@disputas/diagram",
"version": "1.0.14",
"version": "1.0.15",
"description": "D3 and Dagre based diagram",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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