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 3.0.1-alpha.7 to 3.0.2-beta.1

2

lib/messages.d.ts

@@ -35,2 +35,4 @@ /**

const serverErrorEnd: number;
const ServerNotInitialized: number;
const UnknownErrorCode: number;
const MessageWriteError: number;

@@ -37,0 +39,0 @@ const MessageReadError: number;

5

lib/messages.js

@@ -25,3 +25,4 @@ /* --------------------------------------------------------------------------------------------

ErrorCodes.serverErrorEnd = -32000;
// export const serverNotInitialized: number = -32001;
ErrorCodes.ServerNotInitialized = -32002;
ErrorCodes.UnknownErrorCode = -32001;
// Defined by VSCode.

@@ -39,3 +40,3 @@ ErrorCodes.MessageWriteError = 1;

var _this = _super.call(this, message) || this;
_this.code = code;
_this.code = is.number(code) ? code : ErrorCodes.UnknownErrorCode;
if (data !== void 0) {

@@ -42,0 +43,0 @@ _this.data = data;

Copyright (c) Microsoft Corporation
All rights reserved.
All rights reserved.

@@ -5,0 +5,0 @@ MIT License

{
"name": "vscode-jsonrpc",
"description": "A json rpc implementation over streams",
"version": "3.0.1-alpha.7",
"version": "3.0.2-beta.1",
"author": "Microsoft Corporation",

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

@@ -0,0 +0,0 @@ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION

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