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.
package/.github/dependabot.yml
CHANGED
package/.github/workflows/CD.yml
CHANGED
package/.github/workflows/CI.yml
CHANGED
|
@@ -8,12 +8,12 @@ jobs:
|
|
|
8
8
|
|
|
9
9
|
strategy:
|
|
10
10
|
matrix:
|
|
11
|
-
node-version: [
|
|
11
|
+
node-version: [18.x, 20.x, 21.x]
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
15
|
|
|
16
|
-
- uses: actions/setup-node@
|
|
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 }}
|
package/lib/cjs/checker.js
CHANGED
|
@@ -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:
|
|
88
|
-
end:
|
|
87
|
+
start: rightId.pos,
|
|
88
|
+
end: rightId.end,
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
91
|
return invalidShapes;
|
package/lib/esm/checker.js
CHANGED
|
@@ -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:
|
|
82
|
-
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.
|
|
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.
|
|
33
|
-
"vscode-languageserver-types": "^3.17.
|
|
32
|
+
"vscode-languageserver-textdocument": "^1.0.11",
|
|
33
|
+
"vscode-languageserver-types": "^3.17.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@vitest/coverage-v8": "^
|
|
37
|
-
"rimraf": "^5.0.
|
|
38
|
-
"typescript": "^5.
|
|
39
|
-
"vitest": "^
|
|
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": ">=
|
|
42
|
+
"node": ">=20"
|
|
43
43
|
}
|
|
44
44
|
}
|