Skip to content

Commit d7fbcbe

Browse files
committed
【feature】升级三方插件; review by luox
1 parent 4c80b98 commit d7fbcbe

File tree

11 files changed

+31
-38
lines changed

11 files changed

+31
-38
lines changed

dist/leaflet/include-leaflet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
inputScript(libsurl + '/mapv/2.0.62/mapv.min.js');
9292
}
9393
if (inArray(includes, 'turf')) {
94-
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
94+
inputScript(libsurl + '/turf/7.2.0/turf.min.js');
9595
}
9696
if (inArray(includes, 'echarts')) {
9797
inputScript(libsurl + '/echarts/5.5.0/echarts.min.js');
@@ -107,7 +107,7 @@
107107
inputScript(libsurl + '/leaflet/plugins/leaflet-side-by-side/2.0.1/leaflet-side-by-side.min.js');
108108
}
109109
if (inArray(includes, 'd3')) {
110-
inputScript(libsurl + '/d3/7.8.2/d3.min.js');
110+
inputScript(libsurl + '/d3/7.9.0/d3.min.js');
111111
}
112112
if (inArray(includes, 'd3-hexbin')) {
113113
inputScript(libsurl + '/d3-hexbin/0.2.2/d3-hexbin.v0.2.min.js');

dist/mapboxgl/include-mapboxgl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
inputScript(libsurl + '/antv/g6/4.3.2/g6.min.js');
7373
}
7474
if (inArray(includes, 'turf')) {
75-
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
75+
inputScript(libsurl + '/turf/7.2.0/turf.min.js');
7676
}
7777
if (inArray(includes, 'draw')) {
7878
inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-draw/1.4.3/mapbox-gl-draw.min.css');
@@ -108,7 +108,7 @@
108108
inputScript(libsurl + '/xlsx/0.19.3/xlsx.core.min.js');
109109
}
110110
if (inArray(includes, 'proj4')) {
111-
inputScript(libsurl + '/proj4/2.11.0/proj4.min.js');
111+
inputScript(libsurl + '/proj4/2.17.0/proj4.min.js');
112112
}
113113
if (inArray(includes, 'shapefile')) {
114114
inputScript(libsurl + '/shapefile/shapefile.js');

dist/maplibregl/include-maplibregl.js

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
var includes = (targetScript.getAttribute('include') || '').split(',');
5656
var excludes = (targetScript.getAttribute('exclude') || '').split(',');
5757
if (!inArray(includes, 'maplibre-gl-enhance') && !inArray(excludes, 'maplibregl')) {
58-
inputCSS(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min.css');
59-
inputScript(libsurl + '/maplibre-gl-js/4.3.2/maplibre-gl.min.js');
58+
inputCSS(libsurl + '/maplibre-gl-js/5.6.0/maplibre-gl.min.css');
59+
inputScript(libsurl + '/maplibre-gl-js/5.6.0/maplibre-gl.min.js');
6060
}
6161
if (inArray(includes, 'maplibre-gl-enhance')) {
6262
inputCSS(libsurl + '/maplibre-gl-js-enhance/4.3.0-5/maplibre-gl-enhance.css');
@@ -69,7 +69,7 @@
6969
inputScript(libsurl + '/antv/g2/4.2.8/g2.min.js');
7070
}
7171
if (inArray(includes, 'turf')) {
72-
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
72+
inputScript(libsurl + '/turf/7.2.0/turf.min.js');
7373
}
7474
if (inArray(includes, 'draw')) {
7575
inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-draw/1.4.3/mapbox-gl-draw.min.css');
@@ -78,10 +78,6 @@
7878
if (inArray(includes, 'mapboxgl-draw-rectangle-drag')) {
7979
inputScript(libsurl + '/mapboxgl-draw-rectangle-drag/1.0.1/mapboxgl-draw-rectangle-drag.browser.js');
8080
}
81-
if (inArray(includes, 'compare')) {
82-
inputCSS(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.1/mapbox-gl-compare.css');
83-
inputScript(libsurl + '/mapbox-gl-js/plugins/mapbox-gl-compare/0.4.1/mapbox-gl-compare.js');
84-
}
8581
if (inArray(includes, 'mapv')) {
8682
inputScript(libsurl + '/mapv/2.0.62/mapv.min.js');
8783
}
@@ -105,7 +101,7 @@
105101
inputScript(libsurl + '/xlsx/0.19.3/xlsx.core.min.js');
106102
}
107103
if (inArray(includes, 'proj4')) {
108-
inputScript(libsurl + '/proj4/2.11.0/proj4.min.js');
104+
inputScript(libsurl + '/proj4/2.17.0/proj4.min.js');
109105
}
110106
if (inArray(includes, 'shapefile')) {
111107
inputScript(libsurl + '/shapefile/shapefile.js');
@@ -175,9 +171,6 @@
175171
if (inArray(includes, 'g6')) {
176172
inputScript(libsurl + '/antv/g6/4.3.2/g6.min.js');
177173
}
178-
if (inArray(includes, 'turf')) {
179-
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
180-
}
181174
if (inArray(includes, 'snap')) {
182175
inputScript(libsurl + '/mapbox-gl-draw-snap-mode/0.2.1/mapbox-gl-draw-snap-mode.min.js');
183176
}

dist/ol/include-ol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@
7474
inputScript(libsurl + '/mapv/2.0.62/mapv.min.js');
7575
}
7676
if (inArray(includes, 'turf')) {
77-
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
77+
inputScript(libsurl + '/turf/7.2.0/turf.min.js');
7878
}
7979
if (inArray(includes, 'echarts')) {
8080
inputScript(libsurl + '/echarts/5.5.0/echarts.min.js');
8181
}
8282
if (inArray(includes, 'proj4')) {
83-
inputScript(libsurl + '/proj4/2.11.0/proj4.min.js');
83+
inputScript(libsurl + '/proj4/2.17.0/proj4.min.js');
8484
}
8585
if (inArray(includes, 'ol3-echarts')) {
8686
inputScript(libsurl + '/openlayers/ol3-echarts/4.0.1-1/ol-echarts.js');

dist/openlayers/include-openlayers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@
7474
inputScript(libsurl + '/mapv/2.0.62/mapv.min.js');
7575
}
7676
if (inArray(includes, 'turf')) {
77-
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
77+
inputScript(libsurl + '/turf/7.2.0/turf.min.js');
7878
}
7979
if (inArray(includes, 'echarts')) {
8080
inputScript(libsurl + '/echarts/5.5.0/echarts.min.js');
8181
}
8282
if (inArray(includes, 'proj4')) {
83-
inputScript(libsurl + '/proj4/2.11.0/proj4.min.js');
83+
inputScript(libsurl + '/proj4/2.17.0/proj4.min.js');
8484
}
8585
if (inArray(includes, 'ol3-echarts')) {
8686
inputScript(includes + '/openlayers/ol3-echarts/4.0.1-1/ol-echarts.js');

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@
140140
"@antv/g6": "^4.8.14",
141141
"@mapbox/mapbox-gl-style-spec": "^14.3.0",
142142
"@mapbox/vector-tile": "1.3.1",
143-
"@maplibre/maplibre-gl-style-spec": "^20.3.0",
143+
"@maplibre/maplibre-gl-style-spec": "^23.3.0",
144144
"@supermapgis/iclient-common": "file:src/common",
145145
"@supermapgis/tile-decryptor": "^1.0.0",
146-
"@turf/center": "^6.5.0",
147-
"@turf/meta": "^6.5.0",
148-
"@turf/turf": "6.5.0",
146+
"@turf/center": "^7.2.0",
147+
"@turf/meta": "^7.2.0",
148+
"@turf/turf": "7.2.0",
149149
"canvg": "^4.0.3",
150150
"echarts": "5.5.0",
151151
"fast-xml-parser": "^4.2.7",
@@ -164,12 +164,12 @@
164164
"lodash.topairs": "4.3.0",
165165
"lodash.uniqby": "^4.7.0",
166166
"mapbox-gl": "1.13.2",
167-
"maplibre-gl": "4.3.2",
167+
"maplibre-gl": "5.6.0",
168168
"mapv": "2.0.62",
169169
"node-forge": "^1.3.1",
170170
"ol": "7.5.2",
171171
"pbf": "3.2.1",
172-
"proj4": "2.11.0",
172+
"proj4": "2.17.0",
173173
"promise-polyfill": "8.2.3",
174174
"rbush": "^2.0.2",
175175
"three": "0.150.1",

src/common/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"@antv/g2": "^4.2.11",
1818
"@antv/g6": "^4.8.14",
1919
"@supermapgis/tile-decryptor": "^1.0.0",
20-
"@turf/center": "^6.5.0",
21-
"@turf/meta": "^6.5.0",
20+
"@turf/center": "^7.2.0",
21+
"@turf/meta": "^7.2.0",
2222
"canvg": "^4.0.3",
2323
"echarts": "5.5.0",
2424
"fast-xml-parser": "^4.2.7",
@@ -35,7 +35,7 @@
3535
"lodash.throttle": "^4.1.1",
3636
"mapv": "2.0.62",
3737
"node-forge": "^1.3.1",
38-
"proj4": "2.11.0",
38+
"proj4": "2.17.0",
3939
"rbush": "^2.0.2",
4040
"urijs": "^1.19.11",
4141
"flv.js": "^1.6.2",

src/leaflet/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"author": "SuperMap",
1616
"license": "Apache-2.0",
1717
"dependencies": {
18-
"@turf/turf": "6.5.0",
18+
"@turf/turf": "7.2.0",
1919
"echarts":"5.5.0",
2020
"mapv":"2.0.62",
2121
"leaflet": "1.9.4",
@@ -24,7 +24,7 @@
2424
"jsonsql": "0.2.5",
2525
"pbf": "3.2.1",
2626
"flatgeobuf": "3.31.1",
27-
"proj4": "2.11.0",
27+
"proj4": "2.17.0",
2828
"rbush": "^2.0.2"
2929
}
3030
}

src/mapboxgl/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"license": "Apache-2.0",
1717
"dependencies": {
1818
"@mapbox/mapbox-gl-style-spec": "^14.3.0",
19-
"@turf/turf": "6.5.0",
20-
"@turf/meta": "^6.5.0",
19+
"@turf/turf": "7.2.0",
20+
"@turf/meta": "^7.2.0",
2121
"mapv": "2.0.62",
2222
"mapbox-gl": "1.13.2",
2323
"@supermapgis/iclient-common": "12.0.0-beta",
2424
"lodash.clonedeep": "^4.5.0",
25-
"proj4": "2.11.0"
25+
"proj4": "2.17.0"
2626
}
2727
}

src/maplibregl/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"author": "SuperMap",
1616
"license": "Apache-2.0",
1717
"dependencies": {
18-
"@maplibre/maplibre-gl-style-spec": "^20.3.0",
19-
"maplibre-gl": "4.3.2",
18+
"@maplibre/maplibre-gl-style-spec": "^23.3.0",
19+
"maplibre-gl": "5.6.0",
2020
"@supermapgis/iclient-common": "12.0.0-beta",
2121
"lodash.clonedeep": "^4.5.0",
22-
"proj4": "2.11.0"
22+
"proj4": "2.17.0"
2323
}
2424
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy