diagram-js-direct-editing
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -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 @@ |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18603
515
1