@hpcc-js/common 3.7.10 → 3.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/common",
3
- "version": "3.7.10",
3
+ "version": "3.8.1",
4
4
  "description": "hpcc-js - Viz Common",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
@@ -23,11 +23,11 @@
23
23
  "font-awesome/**/*"
24
24
  ],
25
25
  "scripts": {
26
- "clean": "rimraf --glob lib* types dist font-awesome *.tsbuildinfo .turbo",
26
+ "clean": "rimraf --glob lib* types types-3.4 dist font-awesome *.tsbuildinfo .turbo",
27
27
  "bundle": "vite build",
28
28
  "bundle-watch": "vite build --watch",
29
29
  "bundle-serve": "vite --port 5502",
30
- "gen-types": "tsc --project tsconfig.json",
30
+ "gen-types": "tsgo --project tsconfig.json",
31
31
  "gen-types-watch": "npm run gen-types -- --watch",
32
32
  "build": "run-p gen-types bundle",
33
33
  "watch": "run-p gen-types-watch bundle-watch",
@@ -41,7 +41,7 @@
41
41
  "update-major": "npx --yes npm-check-updates -u"
42
42
  },
43
43
  "dependencies": {
44
- "@hpcc-js/util": "^3.5.9",
44
+ "@hpcc-js/util": "^3.6.1",
45
45
  "@types/d3-array": "1.2.12",
46
46
  "@types/d3-brush": "1.1.8",
47
47
  "@types/d3-collection": "1.0.13",
@@ -59,7 +59,7 @@
59
59
  "@types/d3-zoom": "1.8.7"
60
60
  },
61
61
  "devDependencies": {
62
- "@hpcc-js/esbuild-plugins": "^1.8.11",
62
+ "@hpcc-js/esbuild-plugins": "^1.9.1",
63
63
  "colorbrewer": "1.7.0",
64
64
  "d3-array": "^1",
65
65
  "d3-brush": "^1",
@@ -90,5 +90,5 @@
90
90
  "url": "https://github.com/hpcc-systems/Visualization/issues"
91
91
  },
92
92
  "homepage": "https://github.com/hpcc-systems/Visualization",
93
- "gitHead": "1c0e8862859769465f70f384183f1399191d76e6"
93
+ "gitHead": "0cfcae9b4ccbd0b3c9f21381f4581bf121392585"
94
94
  }
@@ -35,7 +35,7 @@ export declare class SimpleSelection extends SelectionBase {
35
35
  mouseOver(domNode: any): void;
36
36
  mouseOut(domNode: any): void;
37
37
  selected(domNode: any): boolean;
38
- selection(_?: any): string[] | this;
38
+ selection(_?: any): this | string[];
39
39
  selection2(): any[];
40
40
  selection2(isSelected: (d: any) => boolean): this;
41
41
  }
package/types/Widget.d.ts CHANGED
@@ -103,10 +103,10 @@ export declare abstract class Widget extends PropertyExt {
103
103
  width?: undefined;
104
104
  height?: undefined;
105
105
  } | {
106
- width: number;
107
- height: number;
108
106
  x?: undefined;
109
107
  y?: undefined;
108
+ width: number;
109
+ height: number;
110
110
  })[];
111
111
  toWidget(domNode: any): Widget | null;
112
112
  parentOverlay(): any;