@hpcc-js/map 3.5.5 → 3.5.7

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/map",
3
- "version": "3.5.5",
3
+ "version": "3.5.7",
4
4
  "description": "hpcc-js - Viz Map",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
@@ -25,10 +25,12 @@
25
25
  "scripts": {
26
26
  "clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo",
27
27
  "bundle": "vite build",
28
- "bundle-watch": "vite --port 5512",
28
+ "bundle-watch": "vite build --watch",
29
+ "bundle-serve": "vite --port 5512",
29
30
  "gen-types": "tsc --project tsconfig.json",
30
31
  "gen-types-watch": "npm run gen-types -- --watch",
31
32
  "build": "run-p gen-types bundle",
33
+ "watch": "run-p gen-types-watch bundle-watch",
32
34
  "lint": "eslint ./src",
33
35
  "lint-fix": "eslint --fix src/**/*.ts",
34
36
  "docs": "typedoc --options tdoptions.json .",
@@ -39,15 +41,15 @@
39
41
  "update-major": "npx --yes npm-check-updates -u"
40
42
  },
41
43
  "dependencies": {
42
- "@hpcc-js/api": "^3.4.16",
43
- "@hpcc-js/common": "^3.7.6",
44
- "@hpcc-js/graph": "^3.7.5",
45
- "@hpcc-js/layout": "^3.5.11",
46
- "@hpcc-js/other": "^3.5.5",
47
- "@hpcc-js/util": "^3.5.5"
44
+ "@hpcc-js/api": "^3.4.18",
45
+ "@hpcc-js/common": "^3.7.8",
46
+ "@hpcc-js/graph": "^3.7.7",
47
+ "@hpcc-js/layout": "^3.5.13",
48
+ "@hpcc-js/other": "^3.5.7",
49
+ "@hpcc-js/util": "^3.5.7"
48
50
  },
49
51
  "devDependencies": {
50
- "@hpcc-js/esbuild-plugins": "^1.8.7",
52
+ "@hpcc-js/esbuild-plugins": "^1.8.9",
51
53
  "@types/leaflet-draw": "1.0.13",
52
54
  "@types/leaflet.heat": "0.2.5",
53
55
  "@types/leaflet.markercluster": "1.5.6",
@@ -77,5 +79,5 @@
77
79
  "url": "https://github.com/hpcc-systems/Visualization/issues"
78
80
  },
79
81
  "homepage": "https://github.com/hpcc-systems/Visualization",
80
- "gitHead": "6f134126379fe058a052986758b792d7b4ddb84b"
82
+ "gitHead": "6695c9be7e44c9a4dd50e36fad2044b287685e2e"
81
83
  }
package/src/CanvasPins.ts CHANGED
@@ -34,7 +34,7 @@ class Quadtree {
34
34
  searchRect(left: number, top: number, right: number, bottom: number): CanvasPinRow[] {
35
35
  const ret: any = [];
36
36
  this._tree.visit((node: any, x1: number, y1: number, x2: number, y2: number) => {
37
- let next_exists = false;
37
+ let next_exists;
38
38
  do {
39
39
  if (!node.length) {
40
40
  if (node.data && !node.data.already_flagged) {