Update Dockerfile language server to 0.11.0 (#4065)

This update adds support for a few new flags that have been added to
Dockerfile so that they no longer get flagged as errors. The other big
change is the introduction of a comment that can be inserted into the
Dockerfile to instruct the linter to not flag something as an error.
While most errors can be ignored this way, clearly fatal errors that
suggest the Dockerfile is completely broken cannot be ignored.

Signed-off-by: Remy Suen <remy.suen@gmail.com>
This commit is contained in:
Remy Suen 2023-09-19 12:03:11 -04:00 коммит произвёл GitHub
Родитель 97fa469cc9
Коммит fe82b631d0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 64 добавлений и 34 удалений

96
package-lock.json сгенерированный
Просмотреть файл

@ -18,7 +18,7 @@
"@microsoft/vscode-azext-utils": "^1.2.2",
"@microsoft/vscode-container-client": "^0.1.0",
"dayjs": "^1.11.7",
"dockerfile-language-server-nodejs": "^0.10.2",
"dockerfile-language-server-nodejs": "^0.11.0",
"fs-extra": "^11.1.1",
"gradle-to-js": "^2.0.1",
"handlebars": "^4.7.7",
@ -2384,25 +2384,26 @@
"integrity": "sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ=="
},
"node_modules/dockerfile-ast": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/dockerfile-ast/-/dockerfile-ast-0.5.0.tgz",
"integrity": "sha512-YsRrWww6mKRS1HK32gbherPlgfvwS593ZeDegb5glNCBJgByICAYZCP5F+njY6TSB0eiPdFgCU9RkuO516mLFQ==",
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/dockerfile-ast/-/dockerfile-ast-0.6.1.tgz",
"integrity": "sha512-m3rH2qHHU2pSTCppXgJT+1KLxhvkdROOxVPof5Yz4IPGSw6K+x0B0/RFdYgXN5zsIUTlbOSRyfDCv3/uVhnNmg==",
"dependencies": {
"vscode-languageserver-textdocument": "^1.0.1",
"vscode-languageserver-types": "^3.17.0-next.3"
"vscode-languageserver-textdocument": "^1.0.8",
"vscode-languageserver-types": "^3.17.3"
},
"engines": {
"node": "*"
}
},
"node_modules/dockerfile-language-server-nodejs": {
"version": "0.10.2",
"resolved": "https://registry.npmjs.org/dockerfile-language-server-nodejs/-/dockerfile-language-server-nodejs-0.10.2.tgz",
"integrity": "sha512-vLbaeYv4h3XEzrZ9JOhP6bD1eLzbzGzFFF03F3Ofd6kh9PU2aGBS/LVjd/w1omCyNV2LHviFX0ZGHINmWsZYyw==",
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/dockerfile-language-server-nodejs/-/dockerfile-language-server-nodejs-0.11.0.tgz",
"integrity": "sha512-kv97EVYcKXh4SiteaVX8LDSwpcdAOIJM/3Wm6rWxTH4gLbozocDekoU5YpX1X2kKOI4L5gvzFIhzgxqPhFnRzg==",
"dependencies": {
"dockerfile-language-service": "0.10.2",
"dockerfile-utils": "0.11.0",
"vscode-languageserver": "^8.0.0-next.2"
"dockerfile-language-service": "0.11.0",
"dockerfile-utils": "0.15.0",
"vscode-languageserver": "~8.0.0",
"vscode-languageserver-textdocument": "~1.0.8"
},
"bin": {
"docker-langserver": "bin/docker-langserver"
@ -2411,27 +2412,61 @@
"node": "*"
}
},
"node_modules/dockerfile-language-service": {
"version": "0.10.2",
"resolved": "https://registry.npmjs.org/dockerfile-language-service/-/dockerfile-language-service-0.10.2.tgz",
"integrity": "sha512-W561U9gj5Eol55j/hanLRPVarXDq+WXPai1lG5f1fW7/kYElsmWJZoRd585SQBahvC9VlJfFAs6IpzZlvN41Hg==",
"node_modules/dockerfile-language-server-nodejs/node_modules/vscode-jsonrpc": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.0.2.tgz",
"integrity": "sha512-RY7HwI/ydoC1Wwg4gJ3y6LpU9FJRZAUnTYMXthqhFXXu77ErDd/xkREpGuk4MyYkk4a+XDWAMqe0S3KkelYQEQ==",
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/dockerfile-language-server-nodejs/node_modules/vscode-languageserver": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-8.0.2.tgz",
"integrity": "sha512-bpEt2ggPxKzsAOZlXmCJ50bV7VrxwCS5BI4+egUmure/oI/t4OlFzi/YNtVvY24A2UDOZAgwFGgnZPwqSJubkA==",
"dependencies": {
"dockerfile-ast": "0.5.0",
"dockerfile-utils": "0.11.0",
"vscode-languageserver-types": "3.17.0-next.3"
"vscode-languageserver-protocol": "3.17.2"
},
"bin": {
"installServerIntoExtension": "bin/installServerIntoExtension"
}
},
"node_modules/dockerfile-language-server-nodejs/node_modules/vscode-languageserver-protocol": {
"version": "3.17.2",
"resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.2.tgz",
"integrity": "sha512-8kYisQ3z/SQ2kyjlNeQxbkkTNmVFoQCqkmGrzLH6A9ecPlgTbp3wDTnUNqaUxYr4vlAcloxx8zwy7G5WdguYNg==",
"dependencies": {
"vscode-jsonrpc": "8.0.2",
"vscode-languageserver-types": "3.17.2"
}
},
"node_modules/dockerfile-language-server-nodejs/node_modules/vscode-languageserver-types": {
"version": "3.17.2",
"resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2.tgz",
"integrity": "sha512-zHhCWatviizPIq9B7Vh9uvrH6x3sK8itC84HkamnBWoDFJtzBf7SWlpLCZUit72b3os45h6RWQNC9xHRDF8dRA=="
},
"node_modules/dockerfile-language-service": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/dockerfile-language-service/-/dockerfile-language-service-0.11.0.tgz",
"integrity": "sha512-Y0TtqZNnI3EC5g/zCZitNV191oZoYCva2r6lt0T1k+W5VX1kjz0vwKbkgBIpk2Rzh4fQlYFJALALtvd/kw5ixA==",
"dependencies": {
"dockerfile-ast": "0.6.1",
"dockerfile-utils": "0.15.0",
"vscode-languageserver-textdocument": "1.0.8",
"vscode-languageserver-types": "3.17.3"
},
"engines": {
"node": "*"
}
},
"node_modules/dockerfile-utils": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/dockerfile-utils/-/dockerfile-utils-0.11.0.tgz",
"integrity": "sha512-b7uGmYAeneg/zP63vfUrkIWw4frvtviXe7QGV0Vw58kJwyEYmrKxjm+N+NbBgk6mwq5FEIDT5rx08pBpjstpEw==",
"version": "0.15.0",
"resolved": "https://registry.npmjs.org/dockerfile-utils/-/dockerfile-utils-0.15.0.tgz",
"integrity": "sha512-hV2OExB797C3/GlOloywmMZzu3MPmzMziGuCaPWh/m9qHgTyfN4+EI3b6xhHDXy78PU0GqwvHnZVX7wfpqOCkg==",
"dependencies": {
"dockerfile-ast": "0.5.0",
"vscode-languageserver-textdocument": "^1.0.1",
"vscode-languageserver-types": "^3.17.0-next.3"
"dockerfile-ast": "0.6.1",
"vscode-languageserver-textdocument": "^1.0.8",
"vscode-languageserver-types": "^3.17.3"
},
"bin": {
"dockerfile-utils": "bin/dockerfile-utils"
@ -6189,20 +6224,15 @@
"vscode-languageserver-types": "3.17.3"
}
},
"node_modules/vscode-languageserver-protocol/node_modules/vscode-languageserver-types": {
"version": "3.17.3",
"resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.3.tgz",
"integrity": "sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA=="
},
"node_modules/vscode-languageserver-textdocument": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.8.tgz",
"integrity": "sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q=="
},
"node_modules/vscode-languageserver-types": {
"version": "3.17.0-next.3",
"resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.0-next.3.tgz",
"integrity": "sha512-VQcXnhKYxUW6OiRMhG++SzmZYMJwusXknJGd+FfdOnS1yHAo734OHyR0e2eEHDlv0/oWc8RZPgx/VKSKyondVg=="
"version": "3.17.3",
"resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.3.tgz",
"integrity": "sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA=="
},
"node_modules/vscode-tas-client": {
"version": "0.1.63",

Просмотреть файл

@ -3038,7 +3038,7 @@
"@microsoft/vscode-azext-utils": "^1.2.2",
"@microsoft/vscode-container-client": "^0.1.0",
"dayjs": "^1.11.7",
"dockerfile-language-server-nodejs": "^0.10.2",
"dockerfile-language-server-nodejs": "^0.11.0",
"fs-extra": "^11.1.1",
"gradle-to-js": "^2.0.1",
"handlebars": "^4.7.7",