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.0.20 to 0.0.21

LICENSE

7

lib/sprotty-vscode-extension.js

@@ -146,5 +146,10 @@ "use strict";

var clientId = diagramType + '_' + sprotty_webview_1.SprottyWebview.viewCount++;
var uriString = uri.toString();
var match = uriString.match(/file:\/\/\/([a-z])%3A/i);
if (match) {
uriString = 'file:///' + match[1] + ':' + uriString.substring(match[0].length);
}
return {
diagramType: diagramType,
uri: uri.toString(),
uri: uriString,
clientId: clientId

@@ -151,0 +156,0 @@ };

92

package.json
{
"name": "sprotty-vscode",
"displayName": "Sprotty VSCode Integration",
"description": "Glue code to integrate Sprotty diagrams in VSCode extensions",
"publisher": "TypeFox",
"repository": {
"type": "git",
"url": "https://github.com/TypeFox/sprotty-vscode"
"name": "sprotty-vscode",
"version": "0.0.21",
"displayName": "Sprotty VSCode Integration",
"description": "Glue code to integrate Sprotty diagrams in VSCode extensions (extension part)",
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
"keywords": [
"vscode",
"graph",
"diagram",
"layout",
"sprotty"
],
"homepage": "https://github.com/eclipse/sprotty-vscode",
"bugs": "https://github.com/eclipse/sprotty-vscode/issues",
"author": {
"name": "Eclipse Sprotty"
},
"contributors": [
{
"name": "Jan Köhnlein",
"email": "jan.koehnlein@typefox.io",
"url": "http://typefox.io"
},
"version": "0.0.20",
"engines": {
"vscode": "^1.27.2"
},
"files": [
"lib",
"src"
],
"dependencies": {
"path": "^0.12.7",
"vscode": "^1.1.21",
"vscode-languageclient": "^5.1.0-next.9",
"vscode-languageserver": "^5.1.0-next.9"
},
"devDependencies": {
"@types/node": "^8.0.0",
"rimraf": "^2.6.3",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"scripts": {
"clean": "rimraf lib",
"build": "tsc",
"watch": "tsc -w",
"lint": "tslint -c ./tslint.json --project ./tsconfig.json",
"prepare": "node ./node_modules/vscode/bin/install && yarn build"
{
"name": "Miro Spönemann",
"email": "miro.spoenemann@typefox.io",
"url": "http://typefox.io"
}
],
"repository": {
"type": "git",
"url": "https://github.com/eclipse/sprotty-vscode.git"
},
"engines": {
"vscode": "^1.27.2"
},
"files": [
"lib",
"src"
],
"main": "lib/index",
"types": "lib/index",
"dependencies": {
"path": "^0.12.7",
"vscode": "^1.1.21",
"vscode-languageclient": "^5.1.0-next.9",
"vscode-languageserver": "^5.1.0-next.9"
},
"devDependencies": {
"@types/node": "^8.0.0",
"rimraf": "^2.6.3",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"scripts": {
"clean": "rimraf lib",
"build": "tsc",
"watch": "tsc -w",
"lint": "tslint -c ./tslint.json --project ./tsconfig.json",
"prepare": "node ./node_modules/vscode/bin/install && yarn build"
}
}

@@ -100,5 +100,10 @@ /********************************************************************************

const clientId = diagramType + '_' + SprottyWebview.viewCount++;
let uriString = uri.toString();
const match = uriString.match(/file:\/\/\/([a-z])%3A/i);
if (match) {
uriString = 'file:///' + match[1] + ':' + uriString.substring(match[0].length);
}
return {
diagramType,
uri: uri.toString(),
uri: uriString,
clientId

@@ -105,0 +110,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