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

diagram-js-direct-editing

Package Overview
Dependencies
Maintainers
9
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diagram-js-direct-editing - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

5

lib/DirectEditing.js

@@ -14,2 +14,3 @@ import {

* @param {EventBus} eventBus the event bus
* @param {Canvas} canvas the canvas
*/

@@ -19,2 +20,3 @@ export default function DirectEditing(eventBus, canvas) {

this._eventBus = eventBus;
this._canvas = canvas;

@@ -83,2 +85,5 @@ this._providers = [];

this.resizable = undefined;
// restoreFocus API is available from diagram-js@15.0.0
this._canvas.restoreFocus && this._canvas.restoreFocus();
};

@@ -85,0 +90,0 @@

10

package.json
{
"name": "diagram-js-direct-editing",
"version": "3.1.0",
"version": "3.2.0",
"description": "Direct editing support for diagram-js",

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

"chai": "^4.3.10",
"diagram-js": "^14.0.0",
"eslint": "^8.55.0",
"eslint-plugin-bpmn-io": "^1.0.0",
"diagram-js": "^15.0.0",
"eslint": "^9.12.0",
"eslint-plugin-bpmn-io": "^2.0.2",
"karma": "^6.4.2",

@@ -40,3 +40,3 @@ "karma-chrome-launcher": "^3.2.0",

"mocha-test-container-support": "^0.2.0",
"npm-run-all2": "^6.0.0",
"npm-run-all2": "^7.0.0",
"puppeteer": "^23.0.0",

@@ -43,0 +43,0 @@ "sinon": "^17.0.1",

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