@mapgis/webclient-vue-cesium 16.8.2 → 16.8.4

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.
@@ -3,7 +3,7 @@
3
3
  /***/ "c0c4":
4
4
  /***/ (function(module, exports, __webpack_require__) {
5
5
 
6
- /*! @license DOMPurify 2.5.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.5/LICENSE */
6
+ /*! @license DOMPurify 2.5.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.6/LICENSE */
7
7
 
8
8
  (function (global, factory) {
9
9
  true ? module.exports = factory() :
@@ -291,7 +291,7 @@
291
291
  * Version label, exposed for easier checks
292
292
  * if DOMPurify is up to date or not
293
293
  */
294
- DOMPurify.version = '2.5.5';
294
+ DOMPurify.version = '2.5.6';
295
295
 
296
296
  /**
297
297
  * Array of elements that DOMPurify removed during sanitation.
@@ -1153,6 +1153,13 @@
1153
1153
  hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
1154
1154
  _executeHook('uponSanitizeAttribute', currentNode, hookEvent);
1155
1155
  value = hookEvent.attrValue;
1156
+
1157
+ /* Work around a security issue with comments inside attributes */
1158
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
1159
+ _removeAttribute(name, currentNode);
1160
+ continue;
1161
+ }
1162
+
1156
1163
  /* Did the hooks approve of the attribute? */
1157
1164
  if (hookEvent.forceKeepAttr) {
1158
1165
  continue;
@@ -1172,12 +1179,6 @@
1172
1179
  continue;
1173
1180
  }
1174
1181
 
1175
- /* Work around a security issue with comments inside attributes */
1176
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
1177
- _removeAttribute(name, currentNode);
1178
- continue;
1179
- }
1180
-
1181
1182
  /* Sanitize attribute content to be template-safe */
1182
1183
  if (SAFE_FOR_TEMPLATES) {
1183
1184
  value = stringReplace(value, MUSTACHE_EXPR$1, ' ');