Skip to content

Commit

Permalink
0.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Aug 14, 2024
1 parent 757735f commit dc73c5a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.2.12 - 2024-08-14

- Fixed error message of bad image definition

Expand Down
14 changes: 9 additions & 5 deletions build/pdfmake.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! pdfmake v0.2.11, @license MIT, @link http://pdfmake.org */
/*! pdfmake v0.2.12, @license MIT, @link http://pdfmake.org */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
Expand Down Expand Up @@ -15135,7 +15135,7 @@ if ( true && module && typeof module.exports !== 'undefined') {

/***/ }),

/***/ 21408:
/***/ 82759:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
Expand Down Expand Up @@ -54429,7 +54429,7 @@ module.exports = URLBrowserResolver;
var isFunction = (__webpack_require__(91867).isFunction);
var isUndefined = (__webpack_require__(91867).isUndefined);
var isNull = (__webpack_require__(91867).isNull);
var FileSaver = __webpack_require__(12615);
var FileSaver = __webpack_require__(42616);
var saveAs = FileSaver.saveAs;

var defaultClientFonts = {
Expand Down Expand Up @@ -56977,6 +56977,10 @@ ImageMeasure.prototype.measureImage = function (src) {
return src;
}

if (typeof img === 'object') {
throw 'Not supported image definition: ' + JSON.stringify(img);
}

if (fs.existsSync(img)) {
return fs.readFileSync(img);
}
Expand Down Expand Up @@ -58151,7 +58155,7 @@ function _interopDefault(ex) {
return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex;
}

var PdfKit = _interopDefault(__webpack_require__(21408));
var PdfKit = _interopDefault(__webpack_require__(82759));

function getEngineInstance() {
return PdfKit;
Expand Down Expand Up @@ -61163,7 +61167,7 @@ module.exports = TraversalTracker;

/***/ }),

/***/ 12615:
/***/ 42616:
/***/ (function(module, exports, __webpack_require__) {

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),
Expand Down
2 changes: 1 addition & 1 deletion build/pdfmake.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/pdfmake.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pdfmake.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdfmake",
"version": "0.2.11",
"version": "0.2.12",
"description": "Client/server side PDF printing in pure JavaScript",
"main": "src/printer.js",
"browser": "build/pdfmake.js",
Expand Down

0 comments on commit dc73c5a

Please sign in to comment.