geojs 1.12.1 → 1.12.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,108 @@
1
1
  # GeoJS Change Log
2
2
 
3
+ ## Version 1.12.2
4
+
5
+ ### Improvements
6
+
7
+ - Expose original event as part of click events ([#1329](../../pull/1329))
8
+
9
+ ## Version 1.12.1
10
+
11
+ ### Improvements
12
+
13
+ - Attempt to reinitialize the webgl context when restored ([#1327](../../pull/1327))
14
+ - Zero out uniform arrays by default ([#1327](../../pull/1327))
15
+
16
+ ## Version 1.12.0
17
+
18
+ ### Changes
19
+
20
+ - Update to modern d3 ([#1309](../../pull/1309))
21
+
22
+ ## Version 1.11.2
23
+
24
+ ### Bug Fixes
25
+
26
+ - Fix textureHandle accessor ([#1308](../../pull/1308))
27
+
28
+ ## Version 1.11.1
29
+
30
+ ### Bug Fixes
31
+
32
+ - Ensure compatibility with older systems ([#1305](../../pull/1305))
33
+
34
+ ## Version 1.11.0
35
+
36
+ ### Changes
37
+
38
+ - Never include vtkjs in the bundle ([#1304](../../pull/1304))
39
+
40
+ ## Version 1.10.20
41
+
42
+ ### Performance Improvements
43
+
44
+ - Skip rendering empty text values ([#1300](../../pull/1300))
45
+
46
+ ## Version 1.10.19
47
+
48
+ ### Bug Fixes
49
+
50
+ - Ensure compatibility with older systems ([#1293](../../pull/1293))
51
+
52
+ ## Version 1.10.18
53
+
54
+ ### Changes
55
+
56
+ - Change default back to OSM ([#1292](../../pull/1292))
57
+
58
+ ## Version 1.10.17
59
+
60
+ ### Bug Fixes
61
+
62
+ - Fix the name of one of the tile map options ([#1277](../../pull/1277))
63
+
64
+ ## Version 1.10.16
65
+
66
+ ### Bug Fixes
67
+
68
+ - Remove debug statement ([#1276](../../pull/1276))
69
+
70
+ ## Version 1.10.15
71
+
72
+ ### Improvements
73
+
74
+ - Add mouseup and mousedown events ([#1275](../../pull/1275))
75
+
76
+ ## Version 1.10.14
77
+
78
+ ### Improvements
79
+
80
+ - Add an action where the middle mouse button pans ([#1269](../../pull/1269))
81
+
82
+ ## Version 1.10.13
83
+
84
+ ### Bug Fixes
85
+
86
+ - When binding an array of events, don't duplicate ([#1265](../../pull/1265))
87
+
88
+ ## Version 1.10.12
89
+
90
+ ### Bug Fixes
91
+
92
+ - Improve quad cropping to zero ([#1258](../../pull/1258))
93
+
94
+ ## Version 1.10.11
95
+
96
+ ### Bug Fixes
97
+
98
+ - Fix an issue cropping large canvas quads ([#1250](../../pull/1250))
99
+
100
+ ## Version 1.10.10
101
+
102
+ ### Bug Fixes
103
+
104
+ - Fix setting nearest pixel on texture creation ([#1246](../../pull/1246))
105
+
3
106
  ## Version 1.10.9
4
107
 
5
108
  ### Performance Improvements
@@ -1,6 +1,7 @@
1
1
  module.exports = {
2
2
  extends: ['@commitlint/config-conventional'],
3
3
  rules: {
4
+ // 0-disable, 1-warn, 2-error
4
5
  'subject-case': [0],
5
6
  // These are the standard values, but are listed here for easier reference
6
7
  'type-enum': [
@@ -19,6 +20,11 @@ module.exports = {
19
20
  'style',
20
21
  'test'
21
22
  ]
23
+ ],
24
+ 'body-max-line-length': [
25
+ 2,
26
+ 'always',
27
+ Infinity
22
28
  ]
23
29
  }
24
30
  };
package/geo.js CHANGED
@@ -21937,6 +21937,7 @@ var _mapInteractor = function mapInteractor(args) {
21937
21937
  // add information about the button state to the event information
21938
21938
  var details = m_this.mouse();
21939
21939
  details.buttonsDown = m_clickMaybe.buttons;
21940
+ details.evt = evt;
21940
21941
 
21941
21942
  // reset click detector variable
21942
21943
  m_this._setClickMaybe(false);
@@ -28072,7 +28073,7 @@ module.exports = _sceneObject;
28072
28073
  * @constant
28073
28074
  * @type {string}
28074
28075
  */
28075
- module.exports = "55bb73b4b1da3c3d7d7122b8266213d9693084dd";
28076
+ module.exports = "9247bbff883ef9933b82df63c762b4d0dfcce9ae";
28076
28077
 
28077
28078
  /***/ }),
28078
28079
 
@@ -37957,11 +37958,22 @@ var util = {
37957
37958
  * @memberof geo.util
37958
37959
  */
37959
37960
  escapeUnicodeHTML: function escapeUnicodeHTML(text) {
37960
- return text.replace(/./g, function (k) {
37961
+ return text.replace(/[^- 0-9A-Za-z~`!@#$%^&*()_+={}|[\]\\:";'<>?,./]/g, function (k, pos) {
37961
37962
  var code = k.charCodeAt(0);
37962
37963
  if (code < 127) {
37963
37964
  return k;
37964
37965
  }
37966
+ /* decode utf016 surrogate pairs */
37967
+ if (code >= 0xD800 && code <= 0xE000) {
37968
+ if (code < 0xDC00 || pos) {
37969
+ return '';
37970
+ }
37971
+ var code0 = text.charCodeAt(pos - 1);
37972
+ if (code0 < 0xD800 || code0 >= 0xDC00) {
37973
+ return '';
37974
+ }
37975
+ code = (code0 - 0xD800) * 0x400 + (code - 0xDC00);
37976
+ }
37965
37977
  return '&#' + code.toString(10) + ';';
37966
37978
  });
37967
37979
  },
@@ -39900,7 +39912,7 @@ module.exports = _vectorFeature;
39900
39912
  * @constant
39901
39913
  * @type {string}
39902
39914
  */
39903
- module.exports = "1.12.1";
39915
+ module.exports = "1.12.3";
39904
39916
 
39905
39917
  /***/ }),
39906
39918
 
package/geo.lean.js CHANGED
@@ -18936,6 +18936,7 @@ var _mapInteractor = function mapInteractor(args) {
18936
18936
  // add information about the button state to the event information
18937
18937
  var details = m_this.mouse();
18938
18938
  details.buttonsDown = m_clickMaybe.buttons;
18939
+ details.evt = evt;
18939
18940
 
18940
18941
  // reset click detector variable
18941
18942
  m_this._setClickMaybe(false);
@@ -25071,7 +25072,7 @@ module.exports = _sceneObject;
25071
25072
  * @constant
25072
25073
  * @type {string}
25073
25074
  */
25074
- module.exports = "55bb73b4b1da3c3d7d7122b8266213d9693084dd";
25075
+ module.exports = "9247bbff883ef9933b82df63c762b4d0dfcce9ae";
25075
25076
 
25076
25077
  /***/ }),
25077
25078
 
@@ -34956,11 +34957,22 @@ var util = {
34956
34957
  * @memberof geo.util
34957
34958
  */
34958
34959
  escapeUnicodeHTML: function escapeUnicodeHTML(text) {
34959
- return text.replace(/./g, function (k) {
34960
+ return text.replace(/[^- 0-9A-Za-z~`!@#$%^&*()_+={}|[\]\\:";'<>?,./]/g, function (k, pos) {
34960
34961
  var code = k.charCodeAt(0);
34961
34962
  if (code < 127) {
34962
34963
  return k;
34963
34964
  }
34965
+ /* decode utf016 surrogate pairs */
34966
+ if (code >= 0xD800 && code <= 0xE000) {
34967
+ if (code < 0xDC00 || pos) {
34968
+ return '';
34969
+ }
34970
+ var code0 = text.charCodeAt(pos - 1);
34971
+ if (code0 < 0xD800 || code0 >= 0xDC00) {
34972
+ return '';
34973
+ }
34974
+ code = (code0 - 0xD800) * 0x400 + (code - 0xDC00);
34975
+ }
34964
34976
  return '&#' + code.toString(10) + ';';
34965
34977
  });
34966
34978
  },
@@ -36899,7 +36911,7 @@ module.exports = _vectorFeature;
36899
36911
  * @constant
36900
36912
  * @type {string}
36901
36913
  */
36902
- module.exports = "1.12.1";
36914
+ module.exports = "1.12.3";
36903
36915
 
36904
36916
  /***/ }),
36905
36917