bash-language-server
Advanced tools
Comparing version 4.8.1 to 4.8.2
# 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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
971961
9878
+ Addedzod@3.21.0(transitive)
- Removedzod@3.20.6(transitive)
Updatedzod@3.21.0