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.28 to 1.0.29

21

lib/components.js

@@ -178,10 +178,15 @@ 'use strict';

return (React__default["default"].createElement(ContextMenu, { positions: position, hideContext: hideContext },
categories.map(function (category) { return (React__default["default"].createElement("button", { key: category.id, onClick: function () {
events.dispatchEvent(events.SetCategory(propositionId, category.shadowName || category.name));
hideContext();
} },
React__default["default"].createElement("div", { style: {
backgroundColor: category.color,
} }),
React__default["default"].createElement("h4", null, category.name))); }),
categories.reduce(function (previousCategories, currentCategory) {
var RELEVANCE_ID = "175c33e4-5261-44cc-b246-b27689150013";
if (currentCategory.id !== RELEVANCE_ID)
previousCategories.push(React__default["default"].createElement("button", { key: currentCategory.id, onClick: function () {
events.dispatchEvent(events.SetCategory(propositionId, currentCategory.shadowName || currentCategory.name));
hideContext();
} },
React__default["default"].createElement("div", { style: {
backgroundColor: currentCategory.color,
} }),
React__default["default"].createElement("h4", null, currentCategory.name)));
return previousCategories;
}, []),
React__default["default"].createElement("button", { onClick: function () { return events.dispatchEvent(events.DeleteNode(propositionId)); } },

@@ -188,0 +193,0 @@ React__default["default"].createElement("div", { style: {

{
"name": "@disputas/diagram",
"version": "1.0.28",
"version": "1.0.29",
"description": "D3 and Dagre based diagram",

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

Sorry, the diff of this file is not supported yet

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