dot-language-support 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,11 @@ updates:
3
3
  - package-ecosystem: "npm"
4
4
  directory: "/"
5
5
  schedule:
6
- interval: "daily"
6
+ interval: "weekly"
7
+ groups:
8
+ patch-dependencies:
9
+ update-types:
10
+ - "patch"
7
11
 
8
12
  - package-ecosystem: "github-actions"
9
13
  directory: "/"
@@ -16,9 +16,9 @@ jobs:
16
16
  id-token: write
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v3
19
+ - uses: actions/checkout@v4
20
20
 
21
- - uses: actions/setup-node@v3
21
+ - uses: actions/setup-node@v4
22
22
  with:
23
23
  node-version: 20
24
24
  cache: npm
@@ -8,12 +8,12 @@ jobs:
8
8
 
9
9
  strategy:
10
10
  matrix:
11
- node-version: [16.x, 18.x, 19.x, 20.x]
11
+ node-version: [18.x, 20.x, 21.x]
12
12
 
13
13
  steps:
14
- - uses: actions/checkout@v3
14
+ - uses: actions/checkout@v4
15
15
 
16
- - uses: actions/setup-node@v3
16
+ - uses: actions/setup-node@v4
17
17
  with:
18
18
  node-version: ${{ matrix.node-version }}
19
19
  cache: npm
@@ -0,0 +1,26 @@
1
+ name: Dependabot auto-merge
2
+
3
+ # Taken and adapted from:
4
+ # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
5
+
6
+ on: pull_request
7
+
8
+ permissions:
9
+ contents: write
10
+ pull-requests: write
11
+
12
+ jobs:
13
+ dependabot:
14
+ runs-on: ubuntu-latest
15
+ if: ${{ github.actor == 'dependabot[bot]' }}
16
+
17
+ steps:
18
+ - id: metadata
19
+ uses: dependabot/fetch-metadata@v1
20
+
21
+ - name: Enable auto-merge for Dependabot PRs
22
+ if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
23
+ run: gh pr merge --auto --merge "$PR_URL"
24
+ env:
25
+ PR_URL: ${{ github.event.pull_request.html_url }}
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -84,8 +84,8 @@ function checkShapeLabelValues(root) {
84
84
  category: types_js_1.DiagnosticCategory.Warning,
85
85
  code: createCheckerError(1),
86
86
  message: `Unknown shape "${rightText}".`,
87
- start: assignment.pos,
88
- end: assignment.end,
87
+ start: rightId.pos,
88
+ end: rightId.end,
89
89
  });
90
90
  });
91
91
  return invalidShapes;
@@ -78,8 +78,8 @@ function checkShapeLabelValues(root) {
78
78
  category: DiagnosticCategory.Warning,
79
79
  code: createCheckerError(1),
80
80
  message: `Unknown shape "${rightText}".`,
81
- start: assignment.pos,
82
- end: assignment.end,
81
+ start: rightId.pos,
82
+ end: rightId.end,
83
83
  });
84
84
  });
85
85
  return invalidShapes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dot-language-support",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Parser and language service for graphviz (dot) files",
5
5
  "author": "Niklas Mollenhauer",
6
6
  "license": "MIT",
@@ -29,16 +29,16 @@
29
29
  "url": "https://github.com/nikeee/dot-language-support.git"
30
30
  },
31
31
  "dependencies": {
32
- "vscode-languageserver-textdocument": "^1.0.8",
33
- "vscode-languageserver-types": "^3.17.3"
32
+ "vscode-languageserver-textdocument": "^1.0.11",
33
+ "vscode-languageserver-types": "^3.17.5"
34
34
  },
35
35
  "devDependencies": {
36
- "@vitest/coverage-v8": "^0.32.4",
37
- "rimraf": "^5.0.1",
38
- "typescript": "^5.1.6",
39
- "vitest": "^0.32.4"
36
+ "@vitest/coverage-v8": "^1.1.0",
37
+ "rimraf": "^5.0.5",
38
+ "typescript": "^5.3.3",
39
+ "vitest": "^1.1.0"
40
40
  },
41
41
  "engines": {
42
- "node": ">=18"
42
+ "node": ">=20"
43
43
  }
44
44
  }