geojs 1.12.2 → 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.
@@ -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
@@ -28073,7 +28073,7 @@ module.exports = _sceneObject;
28073
28073
  * @constant
28074
28074
  * @type {string}
28075
28075
  */
28076
- module.exports = "387c75b2969cf810edc226d9c92cc23acbd20c81";
28076
+ module.exports = "9247bbff883ef9933b82df63c762b4d0dfcce9ae";
28077
28077
 
28078
28078
  /***/ }),
28079
28079
 
@@ -37958,11 +37958,22 @@ var util = {
37958
37958
  * @memberof geo.util
37959
37959
  */
37960
37960
  escapeUnicodeHTML: function escapeUnicodeHTML(text) {
37961
- return text.replace(/./g, function (k) {
37961
+ return text.replace(/[^- 0-9A-Za-z~`!@#$%^&*()_+={}|[\]\\:";'<>?,./]/g, function (k, pos) {
37962
37962
  var code = k.charCodeAt(0);
37963
37963
  if (code < 127) {
37964
37964
  return k;
37965
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
+ }
37966
37977
  return '&#' + code.toString(10) + ';';
37967
37978
  });
37968
37979
  },
@@ -39901,7 +39912,7 @@ module.exports = _vectorFeature;
39901
39912
  * @constant
39902
39913
  * @type {string}
39903
39914
  */
39904
- module.exports = "1.12.2";
39915
+ module.exports = "1.12.3";
39905
39916
 
39906
39917
  /***/ }),
39907
39918
 
package/geo.lean.js CHANGED
@@ -25072,7 +25072,7 @@ module.exports = _sceneObject;
25072
25072
  * @constant
25073
25073
  * @type {string}
25074
25074
  */
25075
- module.exports = "387c75b2969cf810edc226d9c92cc23acbd20c81";
25075
+ module.exports = "9247bbff883ef9933b82df63c762b4d0dfcce9ae";
25076
25076
 
25077
25077
  /***/ }),
25078
25078
 
@@ -34957,11 +34957,22 @@ var util = {
34957
34957
  * @memberof geo.util
34958
34958
  */
34959
34959
  escapeUnicodeHTML: function escapeUnicodeHTML(text) {
34960
- return text.replace(/./g, function (k) {
34960
+ return text.replace(/[^- 0-9A-Za-z~`!@#$%^&*()_+={}|[\]\\:";'<>?,./]/g, function (k, pos) {
34961
34961
  var code = k.charCodeAt(0);
34962
34962
  if (code < 127) {
34963
34963
  return k;
34964
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
+ }
34965
34976
  return '&#' + code.toString(10) + ';';
34966
34977
  });
34967
34978
  },
@@ -36900,7 +36911,7 @@ module.exports = _vectorFeature;
36900
36911
  * @constant
36901
36912
  * @type {string}
36902
36913
  */
36903
- module.exports = "1.12.2";
36914
+ module.exports = "1.12.3";
36904
36915
 
36905
36916
  /***/ }),
36906
36917