Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/babel/traverse-7.23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Beaglefoot committed Mar 14, 2024
2 parents 2d37866 + f391297 commit 27b7219
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 45 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,31 @@ on:
push:
branches:
- master
paths:
- '**/*.ts'
- '**/package.json'
- '**/tsconfig.json'
- .prettierrc
pull_request:
branches:
- master
paths:
- '**/*.ts'
- '**/package.json'
- '**/tsconfig.json'
- .prettierrc

jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: yarn
cache-dependency-path: '**/yarn.lock'
- run: yarn install --frozen-lockfile
- run: yarn check:types
- run: yarn check:style
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node: [16, 18, 19]
node: [20, 21]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
cache-dependency-path: '**/yarn.lock'
- run: yarn install --frozen-lockfile
- run: yarn test:ci
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "VSCode client for AWK Language Server",
"author": "Stanislav Chernov <ch-e-st@yandex.ru>",
"license": "MIT",
"version": "0.10.1",
"version": "0.10.5",
"publisher": "beaglefoot",
"repository": {
"type": "git",
Expand Down Expand Up @@ -80,7 +80,7 @@
"vscode:prepublish": "cd .. && yarn build:client:force"
},
"dependencies": {
"awk-language-server": "0.10.1",
"awk-language-server": "0.10.5",
"vscode-languageclient": "^7.0.0"
},
"devDependencies": {
Expand Down
44 changes: 25 additions & 19 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ agent-base@6:
dependencies:
debug "4"

awk-language-server@0.10.1:
version "0.10.1"
resolved "https://registry.yarnpkg.com/awk-language-server/-/awk-language-server-0.10.1.tgz#8795b14c2af47b2c656e5605a2c7c2d11c7ba006"
integrity sha512-kb+FrBbfsCVHyIPaJspacZ/n5xTn7tzR2w84wT576EKs5y5LENlZm5nJHorkIV2VeU4qzVYNmqXEKNfdtsdzVA==
awk-language-server@0.10.5:
version "0.10.5"
resolved "https://registry.yarnpkg.com/awk-language-server/-/awk-language-server-0.10.5.tgz#4553a60bb6c89b9aa99dea882b458107c0584a1c"
integrity sha512-9as4R1Og2lOAT/AHyyjKHtc8T1/dOsNsC2aUGy7thdZWOiju1HsWo4jh6VeRu2TqLttN77xh2Ar2tFrNbbYGqg==
dependencies:
minimist "1.2.6"
tree-sitter-awk "0.6.0"
tree-sitter-awk "0.7.1"
vscode-languageserver "^7.0.0"
vscode-languageserver-textdocument "^1.0.1"
web-tree-sitter "0.20.8"
web-tree-sitter "0.22.1"

balanced-match@^1.0.0:
version "1.0.2"
Expand Down Expand Up @@ -205,10 +205,15 @@ ms@2.1.2:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==

nan@2.17.0:
version "2.17.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==
node-addon-api@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.0.tgz#71f609369379c08e251c558527a107107b5e0fdb"
integrity sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==

node-gyp-build@^4.8.0:
version "4.8.0"
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd"
integrity sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==

once@^1.3.0:
version "1.4.0"
Expand Down Expand Up @@ -283,12 +288,13 @@ string_decoder@~1.1.1:
resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.3.9.tgz#717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9"
integrity sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk=

tree-sitter-awk@0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/tree-sitter-awk/-/tree-sitter-awk-0.6.0.tgz#c99bf1f0a6ba1619ebc317958d826a995add1e72"
integrity sha512-bOz2UWopGA5vdgXWRBweiscyQWd8PuZtgGHpKKf1TQ0IMfZMRHqCo9YM5qcrBeMESDBOzu4pcAT6xT9z/18Uqw==
tree-sitter-awk@0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/tree-sitter-awk/-/tree-sitter-awk-0.7.1.tgz#6ac93a10f58bacec9a7238b2356ae26c0b73e196"
integrity sha512-sCLS5P6oSqFgXqXN4vvp0JdBsdWPZy61Zl51Pv1MamOKXJpQxbjLTVeyBpx+kEhA9PuixeLOYNUIWo3gAJkRBg==
dependencies:
nan "2.17.0"
node-addon-api "^7.1.0"
node-gyp-build "^4.8.0"

unzipper@^0.10.11:
version "0.10.11"
Expand Down Expand Up @@ -360,10 +366,10 @@ vscode-test@^1.3.0:
rimraf "^3.0.2"
unzipper "^0.10.11"

web-tree-sitter@0.20.8:
version "0.20.8"
resolved "https://registry.yarnpkg.com/web-tree-sitter/-/web-tree-sitter-0.20.8.tgz#1e371cb577584789cadd75cb49c7ddfbc99d04c8"
integrity sha512-weOVgZ3aAARgdnb220GqYuh7+rZU0Ka9k9yfKtGAzEYMa6GgiCzW9JjQRJyCJakvibQW+dfjJdihjInKuuCAUQ==
web-tree-sitter@0.22.1:
version "0.22.1"
resolved "https://registry.yarnpkg.com/web-tree-sitter/-/web-tree-sitter-0.22.1.tgz#4b5243b082e85bd6ab5c0c56d1f826df29d8b9ed"
integrity sha512-3wfVqI6KredBmIo8Z1kycbcUIhPLzvqvuD1Y2GA6eRjYJOCypqy7Pv4P0Dm0JToi/oloBwvXfr7+7p42DgbC4Q==

wrappy@1:
version "1.0.2"
Expand Down
6 changes: 3 additions & 3 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "awk-language-server",
"description": "AWK Language Server",
"version": "0.10.1",
"version": "0.10.5",
"author": "Stanislav Chernov <ch-e-st@yandex.ru>",
"publisher": "beaglefoot",
"license": "MIT",
Expand All @@ -24,10 +24,10 @@
},
"dependencies": {
"minimist": "1.2.6",
"tree-sitter-awk": "0.6.0",
"tree-sitter-awk": "0.7.1",
"vscode-languageserver": "^7.0.0",
"vscode-languageserver-textdocument": "^1.0.1",
"web-tree-sitter": "0.20.8"
"web-tree-sitter": "0.22.1"
},
"devDependencies": {
"@types/minimist": "1.2.2"
Expand Down
2 changes: 1 addition & 1 deletion server/src/validation/missingNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ValidationContext } from './validator'
export function validateMissingNode(context: ValidationContext): Diagnostic | null {
const { node } = context

if (node.isMissing()) {
if (node.isMissing) {
return Diagnostic.create(
getRange(node),
`Syntax error: missing ${node.type}`,
Expand Down
34 changes: 20 additions & 14 deletions server/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,23 @@ minimist@1.2.6:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44"
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==

nan@2.17.0:
version "2.17.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==

tree-sitter-awk@0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/tree-sitter-awk/-/tree-sitter-awk-0.6.0.tgz#c99bf1f0a6ba1619ebc317958d826a995add1e72"
integrity sha512-bOz2UWopGA5vdgXWRBweiscyQWd8PuZtgGHpKKf1TQ0IMfZMRHqCo9YM5qcrBeMESDBOzu4pcAT6xT9z/18Uqw==
node-addon-api@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.0.tgz#71f609369379c08e251c558527a107107b5e0fdb"
integrity sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==

node-gyp-build@^4.8.0:
version "4.8.0"
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd"
integrity sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==

tree-sitter-awk@0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/tree-sitter-awk/-/tree-sitter-awk-0.7.1.tgz#6ac93a10f58bacec9a7238b2356ae26c0b73e196"
integrity sha512-sCLS5P6oSqFgXqXN4vvp0JdBsdWPZy61Zl51Pv1MamOKXJpQxbjLTVeyBpx+kEhA9PuixeLOYNUIWo3gAJkRBg==
dependencies:
nan "2.17.0"
node-addon-api "^7.1.0"
node-gyp-build "^4.8.0"

vscode-jsonrpc@6.0.0:
version "6.0.0"
Expand Down Expand Up @@ -54,7 +60,7 @@ vscode-languageserver@^7.0.0:
dependencies:
vscode-languageserver-protocol "3.16.0"

web-tree-sitter@0.20.8:
version "0.20.8"
resolved "https://registry.yarnpkg.com/web-tree-sitter/-/web-tree-sitter-0.20.8.tgz#1e371cb577584789cadd75cb49c7ddfbc99d04c8"
integrity sha512-weOVgZ3aAARgdnb220GqYuh7+rZU0Ka9k9yfKtGAzEYMa6GgiCzW9JjQRJyCJakvibQW+dfjJdihjInKuuCAUQ==
web-tree-sitter@0.22.1:
version "0.22.1"
resolved "https://registry.yarnpkg.com/web-tree-sitter/-/web-tree-sitter-0.22.1.tgz#4b5243b082e85bd6ab5c0c56d1f826df29d8b9ed"
integrity sha512-3wfVqI6KredBmIo8Z1kycbcUIhPLzvqvuD1Y2GA6eRjYJOCypqy7Pv4P0Dm0JToi/oloBwvXfr7+7p42DgbC4Q==

0 comments on commit 27b7219

Please sign in to comment.