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

bash-language-server

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bash-language-server - npm Package Compare versions

Comparing version 4.8.1 to 4.8.2

4

CHANGELOG.md
# Bash Language Server
## 4.8.2
- ShellCheck: avoid using the diagnostic tag "deprecated" that allow clients to render diagnostics with a strike through https://github.com/bash-lsp/bash-language-server/pull/753
## 4.8.1

@@ -4,0 +8,0 @@

5

out/shellcheck/config.js

@@ -8,8 +8,3 @@ "use strict";

exports.CODE_TO_TAGS = {
2006: [LSP.DiagnosticTag.Deprecated],
2007: [LSP.DiagnosticTag.Deprecated],
2034: [LSP.DiagnosticTag.Unnecessary],
2186: [LSP.DiagnosticTag.Deprecated],
2196: [LSP.DiagnosticTag.Deprecated],
2197: [LSP.DiagnosticTag.Deprecated],
};

@@ -16,0 +11,0 @@ // https://github.com/koalaman/shellcheck/blob/364c33395e2f2d5500307f01989f70241c247d5a/src/ShellCheck/Formatter/Format.hs#L50

@@ -37,2 +37,5 @@ "use strict";

const [commandNameNode, argumentNode] = node.namedChildren;
if (!commandNameNode || !argumentNode) {
return null;
}
if (commandNameNode.type === 'command_name' &&

@@ -39,0 +42,0 @@ SOURCING_COMMANDS.includes(commandNameNode.text)) {

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "4.8.1",
"version": "4.8.2",
"main": "./out/server.js",

@@ -28,3 +28,3 @@ "typings": "./out/server.d.ts",

"web-tree-sitter": "0.20.7",
"zod": "3.20.6"
"zod": "3.21.0"
},

@@ -31,0 +31,0 @@ "scripts": {

@@ -9,8 +9,3 @@ import * as LSP from 'vscode-languageserver/node'

export const CODE_TO_TAGS: Record<number, LSP.DiagnosticTag[] | undefined> = {
2006: [LSP.DiagnosticTag.Deprecated],
2007: [LSP.DiagnosticTag.Deprecated],
2034: [LSP.DiagnosticTag.Unnecessary],
2186: [LSP.DiagnosticTag.Deprecated],
2196: [LSP.DiagnosticTag.Deprecated],
2197: [LSP.DiagnosticTag.Deprecated],
}

@@ -17,0 +12,0 @@

@@ -176,2 +176,4 @@ import * as fs from 'fs'

source ./testing/fixtures/issue101.sh
source # not finished
`

@@ -178,0 +180,0 @@

@@ -62,2 +62,7 @@ import * as fs from 'fs'

const [commandNameNode, argumentNode] = node.namedChildren
if (!commandNameNode || !argumentNode) {
return null
}
if (

@@ -64,0 +69,0 @@ commandNameNode.type === 'command_name' &&

Sorry, the diff of this file is not supported yet

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