dot-language-support 2.0.2 → 2.0.3

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.
@@ -60,7 +60,7 @@ function colorTableToColorInformation(doc, sf, colors) {
60
60
  function getColorFromName(name) {
61
61
  if (name.charAt(0) === "#")
62
62
  return getHexCodeColor(name);
63
- const colorAlias = colorMap[name];
63
+ const colorAlias = colorMap[name.toLowerCase()];
64
64
  return colorAlias
65
65
  ? getHexCodeColor(colorAlias)
66
66
  : undefined;
@@ -32,7 +32,7 @@ function colorTableToColorInformation(doc, sf, colors) {
32
32
  function getColorFromName(name) {
33
33
  if (name.charAt(0) === "#")
34
34
  return getHexCodeColor(name);
35
- const colorAlias = colorMap[name];
35
+ const colorAlias = colorMap[name.toLowerCase()];
36
36
  return colorAlias
37
37
  ? getHexCodeColor(colorAlias)
38
38
  : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dot-language-support",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Parser and language service for graphviz (dot) files",
5
5
  "author": "Niklas Mollenhauer",
6
6
  "license": "MIT",
@@ -29,13 +29,13 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "vscode-languageserver-textdocument": "^1.0.4",
32
- "vscode-languageserver-types": "^3.16.0"
32
+ "vscode-languageserver-types": "^3.17.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/jest": "^27.5.0",
36
- "jest": "^28.0.3",
35
+ "@types/jest": "^27.5.1",
36
+ "jest": "^28.1.0",
37
37
  "rimraf": "^3.0.2",
38
- "ts-jest": "^28.0.1",
38
+ "ts-jest": "^28.0.2",
39
39
  "typescript": "^4.6.4"
40
40
  },
41
41
  "engines": {