pdfmake 0.3.10 → 0.3.11

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.11 - 2026-06-12
4
+
5
+ - Updated pdfkit to 0.19.1 (fixed RGB JPEG embedded as DeviceGray, bug introduced in 0.19.0)
6
+
3
7
  ## 0.3.10 - 2026-06-07
4
8
 
5
9
  - Updated pdfkit to 0.19.0
package/build/pdfmake.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! pdfmake v0.3.10, @license MIT, @link http://pdfmake.org */
1
+ /*! pdfmake v0.3.11, @license MIT, @link http://pdfmake.org */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -25,7 +25,7 @@ __webpack_require__.d(__webpack_exports__, {
25
25
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
26
26
  var es_array_includes = __webpack_require__(187);
27
27
  // EXTERNAL MODULE: ./node_modules/pdfkit/js/pdfkit.es.js
28
- var pdfkit_es = __webpack_require__(7101);
28
+ var pdfkit_es = __webpack_require__(1771);
29
29
  ;// ./src/helpers/variableType.js
30
30
  /**
31
31
  * @param {any} variable
@@ -8757,7 +8757,7 @@ class OutputDocument {
8757
8757
  }
8758
8758
  /* harmony default export */ const src_OutputDocument = (OutputDocument);
8759
8759
  // EXTERNAL MODULE: ./node_modules/file-saver/dist/FileSaver.min.js
8760
- var FileSaver_min = __webpack_require__(1438);
8760
+ var FileSaver_min = __webpack_require__(5127);
8761
8761
  ;// ./src/browser-extensions/OutputDocumentBrowser.js
8762
8762
 
8763
8763
 
@@ -15286,7 +15286,7 @@ module.exports = {
15286
15286
 
15287
15287
  /***/ },
15288
15288
 
15289
- /***/ 7101
15289
+ /***/ 1771
15290
15290
  (__unused_webpack_module, exports, __webpack_require__) {
15291
15291
 
15292
15292
  "use strict";
@@ -19261,7 +19261,7 @@ class JPEG {
19261
19261
  pos += 2;
19262
19262
  this.width = this.data.readUInt16BE(pos);
19263
19263
  pos += 2;
19264
- const channels = this.data[pos + 1];
19264
+ const channels = this.data[pos];
19265
19265
  this.colorSpace = COLOR_SPACE_MAP[channels];
19266
19266
  this.obj = null;
19267
19267
  }
@@ -46129,7 +46129,7 @@ module.exports = function whichTypedArray(value) {
46129
46129
 
46130
46130
  /***/ },
46131
46131
 
46132
- /***/ 1438
46132
+ /***/ 5127
46133
46133
  (module, exports, __webpack_require__) {
46134
46134
 
46135
46135
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function(a,b){if(true)!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (b),