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

vscode-jsonrpc

Package Overview
Dependencies
Maintainers
9
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-jsonrpc - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

18

lib/main.js

@@ -190,2 +190,5 @@ /* --------------------------------------------------------------------------------------------

try {
if (trace != Trace.Off && tracer) {
traceReceivedNotification(message);
}
eventHandler(message.params);

@@ -225,3 +228,3 @@ }

}
function traceNotification(message) {
function traceSendNotification(message) {
tracer.log("[" + (new Date().toLocaleTimeString()) + "] Sending notification '" + message.method + "'.");

@@ -237,2 +240,13 @@ if (trace === Trace.Verbose) {

}
function traceReceivedNotification(message) {
tracer.log("[" + (new Date().toLocaleTimeString()) + "] Received notification '" + message.method + "'.");
if (trace === Trace.Verbose) {
if (message.params) {
tracer.log("Params: " + JSON.stringify(message.params, null, 4) + "\n\n");
}
else {
tracer.log('No parameters provided.\n\n');
}
}
}
function traceResponse(message, responsePromise) {

@@ -282,3 +296,3 @@ if (responsePromise) {

if (trace != Trace.Off && tracer) {
traceNotification(notificatioMessage);
traceSendNotification(notificatioMessage);
}

@@ -285,0 +299,0 @@ messageWriter.write(notificatioMessage);

2

package.json
{
"name": "vscode-jsonrpc",
"description": "A json rpc implementation over streams",
"version": "2.1.0",
"version": "2.1.1",
"author": "Microsoft Corporation",

@@ -6,0 +6,0 @@ "license": "MIT",

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