New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kieler/klighd-interactive

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kieler/klighd-interactive - npm Package Compare versions

Comparing version 0.3.0-next.ff4a31b to 0.4.0-next.775496f

6

lib/klighd-interactive-mouselistener.js

@@ -158,5 +158,3 @@ "use strict";

this.target = undefined;
// Appends a RefreshDiagramAction to the result. This fixes a bug
// where the interaction is only applied after the dragged node is
// clicked again, causing the second if case in this method to execute.
// Refresh the diagram according to the moved elements.
if (result.some(function (action) { return action.kind === actions_1.RefreshDiagramAction.KIND; })) {

@@ -171,3 +169,3 @@ return result;

this.target.selected = false;
var result = _super.prototype.mouseUp.call(this, this.target, event).concat([actions_1.RefreshDiagramAction.create()]);
var result = _super.prototype.mouseUp.call(this, this.target, event);
this.target = undefined;

@@ -174,0 +172,0 @@ return result;

{
"name": "@kieler/klighd-interactive",
"version": "0.3.0-next.ff4a31b",
"version": "0.4.0-next.775496f",
"description": "A module for klighd-core to interactively apply constraints to the diagram",

@@ -5,0 +5,0 @@ "author": "Kiel University <rt-kieler-devel@informatik.uni-kiel.de>",

@@ -144,5 +144,3 @@ /*

// Appends a RefreshDiagramAction to the result. This fixes a bug
// where the interaction is only applied after the dragged node is
// clicked again, causing the second if case in this method to execute.
// Refresh the diagram according to the moved elements.
if (result.some(action => action.kind === RefreshDiagramAction.KIND)) {

@@ -155,3 +153,3 @@ return result

this.target.selected = false
const result = super.mouseUp(this.target, event).concat([RefreshDiagramAction.create()]);
const result = super.mouseUp(this.target, event);
this.target = undefined

@@ -158,0 +156,0 @@ return result

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