Socket
Socket
Sign inDemoInstall

prh-languageserver

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prh-languageserver - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

lib/index.js

@@ -51,3 +51,2 @@ "use strict";

onDidChangeConfiguration(change) {
this.connection.tracer.log("aaa");
this.connection.console.log(`onDidChangeConfiguration: ${JSON.stringify(change, null, 2)}`);

@@ -66,7 +65,5 @@ const settings = change.settings;

onDidChangeContent(change) {
this.connection.console.log(`onDidChangeContent: ${JSON.stringify(change, null, 2)}`);
this.sendValidationDiagnostics(change.document);
}
onDidChangeWatchedFiles(change) {
this.connection.console.log(`onDidChangeWatchedFiles: ${JSON.stringify(change, null, 2)}`);
if (this.workspaceRoot == null) {

@@ -130,3 +127,2 @@ return;

onCodeAction(params) {
this.connection.console.log(`onCodeAction: ${JSON.stringify(params)}`);
const textDocument = this.documents.get(params.textDocument.uri);

@@ -141,3 +137,2 @@ const changeSet = this.documentValidate(textDocument);

const tailIndex = textDocument.offsetAt(params.range.end);
this.connection.console.log(`Diff: ${JSON.stringify(diff)} ${index}:${tailIndex}`);
return diff.index === index && diff.tailIndex === tailIndex;

@@ -162,3 +157,2 @@ })

onExecuteCommand(args) {
this.connection.console.log(`onExecuteCommand: ${JSON.stringify(args)}`);
switch (args.command) {

@@ -165,0 +159,0 @@ case "replace":

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Language Server of prh",
"version": "0.0.3",
"version": "0.0.4",
"publisher": "vvakame",

@@ -8,0 +8,0 @@ "engines": {

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