@hpcc-js/common 3.3.9 → 3.4.1
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/dist/index.js +243 -244
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +4 -5
- package/src/Palette.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/common",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "hpcc-js - Viz Common",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.umd.cjs",
|
|
@@ -39,8 +39,7 @@
|
|
|
39
39
|
"update-major": "npx --yes npm-check-updates -u"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@hpcc-js/util": "^3.3.
|
|
43
|
-
"@types/colorbrewer": "1.0.32",
|
|
42
|
+
"@hpcc-js/util": "^3.3.11",
|
|
44
43
|
"@types/d3-array": "1.2.12",
|
|
45
44
|
"@types/d3-brush": "1.1.8",
|
|
46
45
|
"@types/d3-collection": "1.0.13",
|
|
@@ -58,7 +57,7 @@
|
|
|
58
57
|
"@types/d3-zoom": "1.8.7"
|
|
59
58
|
},
|
|
60
59
|
"devDependencies": {
|
|
61
|
-
"@hpcc-js/esbuild-plugins": "^1.
|
|
60
|
+
"@hpcc-js/esbuild-plugins": "^1.5.1",
|
|
62
61
|
"colorbrewer": "1.6.1",
|
|
63
62
|
"d3-array": "^1",
|
|
64
63
|
"d3-brush": "^1",
|
|
@@ -89,5 +88,5 @@
|
|
|
89
88
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
90
89
|
},
|
|
91
90
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
92
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "111cb62ebdf2ab518e094f321223ca3ebdc628bd"
|
|
93
92
|
}
|
package/src/Palette.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import colorbrewer from "colorbrewer";
|
|
2
2
|
import { values as d3Values } from "d3-collection";
|
|
3
3
|
import { rgb as d3RGB } from "d3-color";
|
|
4
4
|
import { interpolateLab as d3InterpolateLab } from "d3-interpolate";
|
|
@@ -12,7 +12,7 @@ const d3Schemes = {
|
|
|
12
12
|
category20c: d3SchemeCategory20c
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
const m_colorbrewer =
|
|
15
|
+
const m_colorbrewer = colorbrewer;
|
|
16
16
|
|
|
17
17
|
const m_d3 = {
|
|
18
18
|
Viridis: d3InterpolateViridis,
|