@hpcc-js/common 3.3.7 → 3.3.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/common",
3
- "version": "3.3.7",
3
+ "version": "3.3.9",
4
4
  "description": "hpcc-js - Viz Common",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
@@ -39,7 +39,8 @@
39
39
  "update-major": "npx --yes npm-check-updates -u"
40
40
  },
41
41
  "dependencies": {
42
- "@hpcc-js/util": "^3.3.7",
42
+ "@hpcc-js/util": "^3.3.9",
43
+ "@types/colorbrewer": "1.0.32",
43
44
  "@types/d3-array": "1.2.12",
44
45
  "@types/d3-brush": "1.1.8",
45
46
  "@types/d3-collection": "1.0.13",
@@ -57,8 +58,8 @@
57
58
  "@types/d3-zoom": "1.8.7"
58
59
  },
59
60
  "devDependencies": {
60
- "@hpcc-js/esbuild-plugins": "^1.4.7",
61
- "colorbrewer": "1.5.9",
61
+ "@hpcc-js/esbuild-plugins": "^1.4.9",
62
+ "colorbrewer": "1.6.1",
62
63
  "d3-array": "^1",
63
64
  "d3-brush": "^1",
64
65
  "d3-collection": "^1",
@@ -88,5 +89,5 @@
88
89
  "url": "https://github.com/hpcc-systems/Visualization/issues"
89
90
  },
90
91
  "homepage": "https://github.com/hpcc-systems/Visualization",
91
- "gitHead": "44cd47dfe0d954df395002c2d5ce222a73d73f2a"
92
+ "gitHead": "92489547b0e57f479a691236b1a47e977b43cf2e"
92
93
  }
package/src/Palette.ts CHANGED
@@ -12,7 +12,7 @@ const d3Schemes = {
12
12
  category20c: d3SchemeCategory20c
13
13
  };
14
14
 
15
- const m_colorbrewer = _colorbrewer.default || _colorbrewer;
15
+ const m_colorbrewer = _colorbrewer["default"] || _colorbrewer;
16
16
 
17
17
  const m_d3 = {
18
18
  Viridis: d3InterpolateViridis,
@@ -321,7 +321,7 @@ export function test(ordinalDivID, brewerDivID, customDivID, customArr, steps) {
321
321
  .style("background-color", function (d) { return d; });
322
322
  }
323
323
 
324
- m_colorbrewer.RdWhGr = {
324
+ m_colorbrewer["RdWhGr"] = {
325
325
  3: ["red", "white", "green"]
326
326
  };
327
327