html2canvas-pro 1.6.1 → 1.6.2

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,13 +1,13 @@
1
1
  /*!
2
- * html2canvas-pro 1.6.1 <https://yorickshan.github.io/html2canvas-pro/>
2
+ * html2canvas-pro 1.6.2 <https://yorickshan.github.io/html2canvas-pro/>
3
3
  * Copyright (c) 2024-present yorickshan and html2canvas-pro contributors
4
4
  * Released under MIT License
5
5
  */
6
6
  (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
8
- typeof define === 'function' && define.amd ? define(factory) :
9
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.html2canvas = factory());
10
- })(this, (function () { 'use strict';
7
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
8
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
9
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.html2canvas = {}));
10
+ })(this, (function (exports) { 'use strict';
11
11
 
12
12
  class Bounds {
13
13
  constructor(left, top, width, height) {
@@ -8464,7 +8464,11 @@
8464
8464
  : defaultBackgroundColor;
8465
8465
  };
8466
8466
 
8467
- return html2canvas;
8467
+ exports.default = html2canvas;
8468
+ exports.html2canvas = html2canvas;
8469
+
8470
+ Object.defineProperty(exports, '__esModule', { value: true });
8468
8471
 
8469
8472
  }));
8473
+ if (typeof window !== "undefined" && window.html2canvas && window.html2canvas.default) { window.html2canvas = window.html2canvas.default; }
8470
8474
  //# sourceMappingURL=html2canvas-pro.js.map