sprotty-vscode
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -51,7 +51,8 @@ "use strict"; | ||
SprottyLspVscodeExtension.prototype.didCloseWebview = function (identifier) { | ||
if (this.webviewMap.delete(this.getKey(identifier))) { | ||
_super.prototype.didCloseWebview.call(this, identifier); | ||
try { | ||
this.languageClient.sendNotification(protocol_1.didCloseMessageType, identifier.clientId); | ||
} | ||
if (this.singleton) { | ||
this.singleton = undefined; | ||
catch (err) { | ||
// Ignore the error and proceed | ||
} | ||
@@ -58,0 +59,0 @@ }; |
{ | ||
"name": "sprotty-vscode", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"displayName": "Sprotty VSCode Integration", | ||
@@ -52,14 +52,14 @@ "description": "Glue code to integrate Sprotty diagrams in VSCode extensions (extension part)", | ||
"@types/node": "^8.0.0", | ||
"@types/vscode": "1.46.0", | ||
"rimraf": "latest", | ||
"tslint": "^5.11.0", | ||
"typescript": "^3.1.3", | ||
"vscode": "^1.1.37" | ||
"typescript": "^3.1.3" | ||
}, | ||
"scripts": { | ||
"prepare": "yarn run clean && yarn run build", | ||
"clean": "rimraf lib", | ||
"build": "tsc", | ||
"build": "tsc && yarn run lint", | ||
"watch": "tsc -w", | ||
"lint": "tslint -c ./tslint.json --project ./tsconfig.json", | ||
"prepare": "npx vscode-install && yarn clean && yarn build" | ||
"lint": "tslint -c ./tslint.json --project ./tsconfig.json" | ||
} | ||
} |
@@ -42,8 +42,8 @@ /******************************************************************************** | ||
didCloseWebview(identifier: SprottyDiagramIdentifier): void { | ||
if (this.webviewMap.delete(this.getKey(identifier))) { | ||
super.didCloseWebview(identifier); | ||
try { | ||
this.languageClient.sendNotification(didCloseMessageType, identifier.clientId); | ||
} catch (err) { | ||
// Ignore the error and proceed | ||
} | ||
if (this.singleton) { | ||
this.singleton = undefined; | ||
} | ||
} | ||
@@ -50,0 +50,0 @@ |
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
2253
0
164913