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

sprotty-vscode

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sprotty-vscode - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

7

lib/lsp/sprotty-lsp-vscode-extension.js

@@ -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

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