Skip to content

Commit 1d1c38f

Browse files
committed
Re-enable .mjs tests and export library functions
- Re-enabled fontfaces.spec.mjs and pdfname.spec.mjs - Exported toPDFName, resolveFontFace, buildFontFaceMap, normalizeFontFace, parseFontFamily from index.ts - Updated .mjs tests to import from dist/jspdf.es.js instead of non-existent src/libs files - Added .mjs pattern to karma config files array - All library functions now accessible via main bundle exports
1 parent 22dabac commit 1d1c38f

18 files changed

+67
-48
lines changed

dist/jspdf.es.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 3.0.3 Built on 2025-11-09T21:09:43.430Z
5-
* CommitID 20a37b42ba
4+
* Version 3.0.3 Built on 2025-11-09T21:17:13.927Z
5+
* CommitID 22dabaca3f
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com
@@ -23521,5 +23521,5 @@ jsPDF.API.PDFObject = function () {
2352123521
return PDFObject;
2352223522
}();
2352323523

23524-
export { AcroForm, AcroFormAppearance, AcroFormButton, AcroFormCheckBox, AcroFormChoiceField, AcroFormComboBox, AcroFormEditBox, AcroFormListBox, AcroFormPasswordField, AcroFormPushButton, AcroFormRadioButton, AcroFormTextField, GState, ShadingPattern, TilingPattern, jsPDF as default, jsPDF };
23524+
export { AcroForm, AcroFormAppearance, AcroFormButton, AcroFormCheckBox, AcroFormChoiceField, AcroFormComboBox, AcroFormEditBox, AcroFormListBox, AcroFormPasswordField, AcroFormPushButton, AcroFormRadioButton, AcroFormTextField, GState, ShadingPattern, TilingPattern, buildFontFaceMap, jsPDF as default, jsPDF, normalizeFontFace, parseFontFamily, resolveFontFace, toPDFName };
2352523525
//# sourceMappingURL=jspdf.es.js.map

dist/jspdf.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.es.min.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.es.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 3.0.3 Built on 2025-11-09T21:09:43.462Z
5-
* CommitID 20a37b42ba
4+
* Version 3.0.3 Built on 2025-11-09T21:17:13.960Z
5+
* CommitID 22dabaca3f
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com
@@ -28609,6 +28609,11 @@ exports.AcroFormTextField = AcroFormTextField;
2860928609
exports.GState = GState;
2861028610
exports.ShadingPattern = ShadingPattern;
2861128611
exports.TilingPattern = TilingPattern;
28612+
exports.buildFontFaceMap = buildFontFaceMap;
2861228613
exports["default"] = jsPDF;
2861328614
exports.jsPDF = jsPDF;
28615+
exports.normalizeFontFace = normalizeFontFace;
28616+
exports.parseFontFamily = parseFontFamily;
28617+
exports.resolveFontFace = resolveFontFace;
28618+
exports.toPDFName = toPDFName;
2861428619
//# sourceMappingURL=jspdf.node.js.map

dist/jspdf.node.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.min.js

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.umd.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 3.0.3 Built on 2025-11-09T21:09:43.398Z
5-
* CommitID 20a37b42ba
4+
* Version 3.0.3 Built on 2025-11-09T21:17:13.890Z
5+
* CommitID 22dabaca3f
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com
@@ -32510,8 +32510,13 @@
3251032510
exports.GState = GState;
3251132511
exports.ShadingPattern = ShadingPattern;
3251232512
exports.TilingPattern = TilingPattern;
32513+
exports.buildFontFaceMap = buildFontFaceMap;
3251332514
exports["default"] = jsPDF;
3251432515
exports.jsPDF = jsPDF;
32516+
exports.normalizeFontFace = normalizeFontFace;
32517+
exports.parseFontFamily = parseFontFamily;
32518+
exports.resolveFontFace = resolveFontFace;
32519+
exports.toPDFName = toPDFName;
3251532520

3251632521
Object.defineProperty(exports, '__esModule', { value: true });
3251732522

dist/jspdf.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)