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

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.5 to 0.1.0

9

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("fs");
const path = require("path");

@@ -60,2 +61,10 @@ const prh_1 = require("prh");

this.validationCache = {};
if (!fs.existsSync(this.configPath)) {
this.connection.console.log(`Config file not exists: ${this.configPath}`);
this.engine = null;
this.documents.all().forEach(document => {
this.connection.sendDiagnostics({ uri: document.uri, diagnostics: [] });
});
return;
}
this.engine = prh_1.fromYAMLFilePath(this.configPath);

@@ -62,0 +71,0 @@ this.documents.all().forEach(document => this.sendValidationDiagnostics(document));

2

package.json

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

"description": "Language Server of prh",
"version": "0.0.5",
"version": "0.1.0",
"publisher": "vvakame",

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

@@ -12,10 +12,1 @@ # prh Language Server

```
## How to release
see https://code.visualstudio.com/docs/extensions/publish-extension
```
$ npm install -g vsce
$ vsce publish patch
```

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