eurostat-map 4.3.39 → 4.3.41

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": "eurostat-map",
3
- "version": "4.3.39",
3
+ "version": "4.3.41",
4
4
  "description": "Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.",
5
5
  "keywords": [
6
6
  "eurostat",
@@ -26,6 +26,7 @@
26
26
  },
27
27
  "main": "build/eurostatmap.min.js",
28
28
  "unpkg": "build/eurostatmap.min.js",
29
+ "module": "build/eurostatmap.js",
29
30
  "files": [
30
31
  "build"
31
32
  ],
@@ -38,17 +39,26 @@
38
39
  "test": "jest"
39
40
  },
40
41
  "dependencies": {
41
- "colorbrewer": "^1.3.0",
42
- "d3": "^7.8.5",
42
+ "d3-array": "^3.2.4",
43
+ "d3-axis": "^3.0.0",
44
+ "d3-ease": "^3.0.1",
45
+ "d3-fetch": "^3.0.1",
46
+ "d3-force": "^3.0.0",
47
+ "d3-format": "^3.1.0",
48
+ "d3-geo": "^3.1.1",
49
+ "d3-interpolate": "^3.0.1",
50
+ "d3-scale": "^4.0.2",
51
+ "d3-scale-chromatic": "^3.1.0",
52
+ "d3-selection": "^3.0.0",
53
+ "d3-shape": "^3.2.0",
54
+ "d3-zoom": "^3.0.0",
43
55
  "d3-geo-projection": "^3.0.0",
44
- "d3-sankey": "^0.12.3",
45
56
  "d3-svg-annotation": "^2.5.1",
46
57
  "idb-keyval": "^6.2.2",
47
58
  "jsonstat-toolkit": "^1.0.8",
48
59
  "proj4": "^2.17.0",
49
60
  "simple-statistics": "^7.8.8",
50
- "topojson-client": "^3.1.0",
51
- "tricolore": "^0.1.0"
61
+ "topojson-client": "^3.1.0"
52
62
  },
53
63
  "overrides": {
54
64
  "d3-color": "3.1.0"
@@ -1,2 +0,0 @@
1
- /*! /*! eurostat-map v4.3.33 | 2026 Eurostat | EUPL License. See https://github.com/eurostat/eurostat-map/blob/master/LICENSE * / */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.eurostatmap=t():e.eurostatmap=t()}(self,()=>(onmessage=function(e){var t=e.data,o=t.nodes,r=t.radii,n=t.strengthX,s=t.strengthY,i=t.iterations,p=t.d3URL;importScripts(p||"https://unpkg.com/d3@7/dist/d3.min.js");for(var c=o.map(function(e,t){return e.x=e.properties.centroid[0],e.y=e.properties.centroid[1],e.r=r[t],e}),a=d3.forceSimulation(c).force("x",d3.forceX(function(e){return e.properties.centroid[0]}).strength(n)).force("y",d3.forceY(function(e){return e.properties.centroid[1]}).strength(s)).force("collide",d3.forceCollide(function(e){return e.r}).iterations(i)).stop(),d=Math.ceil(Math.log(a.alphaMin())/Math.log(1-a.alphaDecay())),f=0;f<d;f++)a.tick(),f%10==0&&postMessage({type:"progress",progress:f,total:d});postMessage({type:"end",nodes:c}),self.close()},{}));