html2canvas-pro 1.5.5 → 1.5.6

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,5 +1,5 @@
1
1
  /*!
2
- * html2canvas-pro 1.5.5 <undefined>
2
+ * undefined 1.5.6 <https://yorickshan.github.io/html2canvas-pro/>
3
3
  * Copyright (c) 2024 yorickshan <https://github.com/yorickshan>
4
4
  * Released under MIT License
5
5
  */
@@ -7,7 +7,7 @@
7
7
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
8
8
  typeof define === 'function' && define.amd ? define(factory) :
9
9
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.html2canvas = factory());
10
- }(this, (function () { 'use strict';
10
+ })(this, (function () { 'use strict';
11
11
 
12
12
  /*! *****************************************************************************
13
13
  Copyright (c) Microsoft Corporation.
@@ -2560,7 +2560,7 @@
2560
2560
  .replace(/r|x/, color[0].toString())
2561
2561
  .replace(/g|y/, color[1].toString())
2562
2562
  .replace(/b|z/, color[2].toString());
2563
- return eval(expression);
2563
+ return new Function('return ' + expression)();
2564
2564
  }
2565
2565
  }
2566
2566
  return null;
@@ -8767,5 +8767,5 @@
8767
8767
 
8768
8768
  return html2canvas;
8769
8769
 
8770
- })));
8770
+ }));
8771
8771
  //# sourceMappingURL=html2canvas-pro.js.map