geojs 1.10.11 → 1.10.13
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 +13 -11
- package/LICENSE +0 -1
- package/NOTICE +13 -0
- package/README.md +3 -2
- package/geo.js +4396 -9513
- package/geo.lean.js +4395 -9512
- package/geo.lean.min.js +9 -9
- package/geo.min.js +11 -11
- package/package.json +14 -13
- package/src/pixelmapLayer.js +3 -1
- package/src/util/color.js +1 -0
- package/src/webgl/quadFeature.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geojs",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.13",
|
|
4
4
|
"description": "JavaScript Geo Visualization and Analysis Library",
|
|
5
5
|
"homepage": "https://github.com/OpenGeoscience/geojs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"url": "https://github.com/OpenGeoscience/geojs"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"color-name": "^
|
|
15
|
+
"color-name": "^2.0.0",
|
|
16
|
+
"docdash": "^2.0.1",
|
|
16
17
|
"earcut": "^2.2.3",
|
|
17
18
|
"gl-mat3": "^2.0.0",
|
|
18
19
|
"gl-mat4": "^1.2.0",
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"@babel/plugin-proposal-class-properties": "^7.16.5",
|
|
37
38
|
"@babel/preset-env": "^7.16.5",
|
|
38
39
|
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
|
|
39
|
-
"babel-loader": "^
|
|
40
|
+
"babel-loader": "^9.0.1",
|
|
40
41
|
"babel-plugin-istanbul": "^6.1.1",
|
|
41
42
|
"bootstrap": "^3.4.1",
|
|
42
43
|
"bootswatch": "^3.4.1",
|
|
@@ -52,13 +53,12 @@
|
|
|
52
53
|
"eslint-plugin-promise": "^6.0.0",
|
|
53
54
|
"expose-loader": "^4.0.0",
|
|
54
55
|
"express": "^4.17.2",
|
|
55
|
-
"fs-extra": "^
|
|
56
|
+
"fs-extra": "^11.0.0",
|
|
56
57
|
"glob": "^8.0.1",
|
|
57
58
|
"imports-loader": "^4.0.0",
|
|
58
|
-
"jaguarjs-jsdoc": "^1.0.2",
|
|
59
59
|
"jasmine-core": "^4.0.0",
|
|
60
60
|
"js-yaml": "^4.1.0",
|
|
61
|
-
"jsdoc": "^
|
|
61
|
+
"jsdoc": "^4.0.0",
|
|
62
62
|
"jsdoc-autoprivate": "0.0.1",
|
|
63
63
|
"jsonlint-mod": "^1.7.6",
|
|
64
64
|
"jstransformer-markdown-it": "^3.0.0",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"karma-jasmine": "^5.0.0",
|
|
70
70
|
"karma-jasmine-html-reporter": "^2.0.0",
|
|
71
71
|
"karma-sinon": "^1.0.5",
|
|
72
|
-
"karma-sourcemap-loader": "^0.
|
|
73
|
-
"karma-spec-reporter": "^0.0.
|
|
72
|
+
"karma-sourcemap-loader": "^0.4.0",
|
|
73
|
+
"karma-spec-reporter": "^0.0.36",
|
|
74
74
|
"karma-webpack": "^5.0.0",
|
|
75
75
|
"nib": "^1.1.2",
|
|
76
76
|
"npm-run-all": "^4.1.5",
|
|
@@ -79,19 +79,20 @@
|
|
|
79
79
|
"pug-lint": "^2.6.0",
|
|
80
80
|
"pug-load": "^3.0.0",
|
|
81
81
|
"raw-body": "^2.4.2",
|
|
82
|
-
"resemblejs": "
|
|
83
|
-
"semantic-release": "^19.0.
|
|
82
|
+
"resemblejs": "git+https://github.com/dominykas/Resemble.js",
|
|
83
|
+
"semantic-release": "^19.0.5",
|
|
84
84
|
"serve-index": "^1.9.1",
|
|
85
|
-
"shader-loader": "
|
|
86
|
-
"sinon": "^
|
|
85
|
+
"shader-loader": "git+https://github.com/Makio64/shader-loader",
|
|
86
|
+
"sinon": "^15.0.0",
|
|
87
87
|
"style-loader": "^3.3.1",
|
|
88
88
|
"stylus": "^0.59.0",
|
|
89
89
|
"stylus-loader": "^7.0.0",
|
|
90
|
+
"tar": "^6.1.13",
|
|
90
91
|
"terser-webpack-plugin": "^5.3.1",
|
|
91
92
|
"touch-emulator": "^1.0.0",
|
|
92
93
|
"typeface-lato": "^1.1.13",
|
|
93
94
|
"webpack": "^5.68.0",
|
|
94
|
-
"webpack-cli": "^
|
|
95
|
+
"webpack-cli": "^5.0.0",
|
|
95
96
|
"webpack-merge": "^5.8.0",
|
|
96
97
|
"webpack-string-replacer": "^0.0.20"
|
|
97
98
|
},
|
package/src/pixelmapLayer.js
CHANGED
|
@@ -120,7 +120,9 @@ var pixelmapLayer = function (arg) {
|
|
|
120
120
|
['modified', 'geoOn', 'geoOff', 'geoOnce'].forEach((funcName) => {
|
|
121
121
|
const superFunc = m_this[funcName];
|
|
122
122
|
m_this[funcName] = function () {
|
|
123
|
-
|
|
123
|
+
if (!Array.isArray(arguments[0])) {
|
|
124
|
+
m_pixelmapFeature[funcName].apply(this, arguments);
|
|
125
|
+
}
|
|
124
126
|
return superFunc.apply(this, arguments);
|
|
125
127
|
};
|
|
126
128
|
});
|
package/src/util/color.js
CHANGED
package/src/webgl/quadFeature.js
CHANGED
|
@@ -430,7 +430,7 @@ var webgl_quadFeature = function (arg) {
|
|
|
430
430
|
if (!crop || quadcrop.x !== crop.x || quadcrop.y !== crop.y) {
|
|
431
431
|
crop = quadcrop;
|
|
432
432
|
context.uniform2fv(renderState.m_material.shaderProgram()
|
|
433
|
-
.uniformLocation('crop'), new Float32Array([crop.x
|
|
433
|
+
.uniformLocation('crop'), new Float32Array([crop.x === undefined ? 1 : crop.x, crop.y === undefined ? 1 : crop.y]));
|
|
434
434
|
}
|
|
435
435
|
w = quad.image.width;
|
|
436
436
|
h = quad.image.height;
|