geojs 1.6.1 → 1.6.2
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/.github/workflows/main.yml +3 -3
- package/CHANGELOG.md +12 -0
- package/geo.js +13 -10
- package/geo.lean.js +10 -7
- package/geo.lean.min.js +2 -2
- package/geo.min.js +6 -6
- package/package.json +10 -9
- package/src/osmLayer.js +2 -0
- package/src/tile.js +1 -1
- package/src/ui/colorLegendWidget.styl +1 -1
- package/src/webgl/quadFeatureColor.vert +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geojs",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "JavaScript Geo Visualization and Analysis Library",
|
|
5
5
|
"homepage": "https://github.com/OpenGeoscience/geojs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,12 +27,13 @@
|
|
|
27
27
|
"optionalDependencies": {
|
|
28
28
|
"d3": "^3.5.17",
|
|
29
29
|
"hammerjs": "^2.0.8",
|
|
30
|
-
"vtk.js": "^
|
|
30
|
+
"vtk.js": "^21.6.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/core": "^7.16.5",
|
|
34
34
|
"@babel/plugin-proposal-class-properties": "^7.16.5",
|
|
35
35
|
"@babel/preset-env": "^7.16.5",
|
|
36
|
+
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
|
|
36
37
|
"babel-loader": "^8.2.3",
|
|
37
38
|
"babel-plugin-istanbul": "^6.1.1",
|
|
38
39
|
"bootstrap": "^3.4.1",
|
|
@@ -41,12 +42,12 @@
|
|
|
41
42
|
"colorbrewer": "^1.5.1",
|
|
42
43
|
"css-loader": "^6.5.1",
|
|
43
44
|
"docco": "^0.9.1",
|
|
44
|
-
"eslint": "^
|
|
45
|
+
"eslint": "^7.12.1",
|
|
45
46
|
"eslint-config-semistandard": "^16.0.0",
|
|
46
47
|
"eslint-config-standard": "^16.0.3",
|
|
47
48
|
"eslint-plugin-import": "^2.25.3",
|
|
48
49
|
"eslint-plugin-node": "^11.1.0",
|
|
49
|
-
"eslint-plugin-promise": "^
|
|
50
|
+
"eslint-plugin-promise": "^5.0.0",
|
|
50
51
|
"expose-loader": "^3.1.0",
|
|
51
52
|
"express": "^4.17.2",
|
|
52
53
|
"fs-extra": "^10.0.0",
|
|
@@ -54,7 +55,6 @@
|
|
|
54
55
|
"glslang-validator-prebuilt": "0.0.6",
|
|
55
56
|
"imports-loader": "^3.1.1",
|
|
56
57
|
"istanbul-combine": "^0.3.0",
|
|
57
|
-
"istanbul-instrumenter-loader": "^3.0.1",
|
|
58
58
|
"jaguarjs-jsdoc": "^1.0.2",
|
|
59
59
|
"jasmine-core": "^4.0.0",
|
|
60
60
|
"js-yaml": "^4.1.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"jsdoc-autoprivate": "0.0.1",
|
|
63
63
|
"jsonlint-mod": "^1.7.6",
|
|
64
64
|
"jstransformer-markdown-it": "^2.0.0",
|
|
65
|
-
"karma": "^6.3.
|
|
65
|
+
"karma": "^6.3.11",
|
|
66
66
|
"karma-chrome-launcher": "^3.1.0",
|
|
67
67
|
"karma-coverage": "^2.1.0",
|
|
68
68
|
"karma-firefox-launcher": "^2.1.2",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"karma-jasmine-html-reporter": "^1.7.0",
|
|
71
71
|
"karma-sinon": "^1.0.5",
|
|
72
72
|
"karma-sourcemap-loader": "^0.3.8",
|
|
73
|
-
"karma-spec-reporter": "^0.0.
|
|
73
|
+
"karma-spec-reporter": "^0.0.33",
|
|
74
74
|
"karma-webpack": "^5.0.0",
|
|
75
75
|
"nib": "^1.1.2",
|
|
76
76
|
"pako": "^2.0.4",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"pug-load": "^3.0.0",
|
|
80
80
|
"raw-body": "^2.4.2",
|
|
81
81
|
"resemblejs": "^4.0.0",
|
|
82
|
-
"semantic-release": "^
|
|
82
|
+
"semantic-release": "^19.0.2",
|
|
83
83
|
"serve-index": "^1.9.1",
|
|
84
84
|
"shader-loader": "^1.3.1",
|
|
85
85
|
"sinon": "^12.0.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"terser-webpack-plugin": "^5.3.0",
|
|
91
91
|
"touch-emulator": "^1.0.0",
|
|
92
92
|
"typeface-lato": "^1.1.13",
|
|
93
|
-
"webpack": "^5.
|
|
93
|
+
"webpack": "^5.66.0",
|
|
94
94
|
"webpack-cli": "^4.9.1",
|
|
95
95
|
"webpack-merge": "^5.8.0"
|
|
96
96
|
},
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"ci-clean": "git clean -fxd dist -e dist/data jsdoc/tmpl jsdoc/static images lcov",
|
|
147
147
|
"ci": "npm run ci-build && npm run ci-test",
|
|
148
148
|
"ci-build": "bash -c '(webpack --config webpack.config.js & webpack --config webpack-lean.config.js & npm run docs & npm run get-data-files & npm run lint & npm run puglint & npm run glsllint & npm run build-examples & npm run build-tutorials & wait -n && wait -n && wait -n && wait -n && wait -n && wait -n && wait -n && wait -n && wait -n)'",
|
|
149
|
+
"ci-build-wait": "bash -c '(webpack --config webpack.config.js & webpack --config webpack-lean.config.js & npm run docs & npm run get-data-files & npm run lint & npm run puglint & npm run glsllint & npm run build-examples & npm run build-tutorials & wait -n && wait -n && wait -n && wait -n && wait -n && wait -n && wait -n && wait -n && wait -n && FAIL=0 || FAIL=1; wait; [ \"$FAIL\" == \"0\" ])'",
|
|
149
150
|
"ci-test": "npm run test-headless && npm run test-webglheadless && npm run test-headed && npm run test-tutorials && npm run combine-coverage",
|
|
150
151
|
"ci-xvfb": "npm run ci-clean && npm run ci-build && TEST_SAVE_IMAGE='all' xvfb-run -s '-ac -screen 0 1280x1024x24' npm run ci-test",
|
|
151
152
|
"start": "karma start karma.conf.js",
|
package/src/osmLayer.js
CHANGED
|
@@ -44,6 +44,8 @@ var osmLayer = function (arg) {
|
|
|
44
44
|
this.constructor.defaults,
|
|
45
45
|
osmLayer.tileSources[this.constructor.defaults.source] || {},
|
|
46
46
|
osmLayer.tileSources[arg.source] || {},
|
|
47
|
+
// don't name the layer based on the source
|
|
48
|
+
{name: ''},
|
|
47
49
|
arg);
|
|
48
50
|
tileLayer.call(this, arg);
|
|
49
51
|
|
package/src/tile.js
CHANGED
|
@@ -144,7 +144,7 @@ var tile = function (spec) {
|
|
|
144
144
|
};
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* Return a unique string representation of the given tile
|
|
147
|
+
* Return a unique string representation of the given tile usable as a hash
|
|
148
148
|
* key. Possibly extend later to include url information to make caches
|
|
149
149
|
* aware of the tile source.
|
|
150
150
|
*
|