Skip to content

Commit 9594e94

Browse files
committed
Fix all remaining .js to .ts references in configs
- Fixed jsdoc.json to look for .ts files instead of .js - Fixed jasmine.json to reference .ts spec and helper files - Fixed all karma configs to reference .ts test files instead of .js - Fixed asyncImportHelper files to import from .js dist files (not .ts) - Fixed loadGlobals to require .js dist files (not .ts) - Corrected dist file patterns in karma configs (.js not .ts) - All test configurations now properly reference TypeScript files - Build and tests verified working
1 parent faec173 commit 9594e94

File tree

18 files changed

+38
-38
lines changed

18 files changed

+38
-38
lines changed

dist/jspdf.es.js

Lines changed: 2 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-09T20:07:07.709Z
5-
* CommitID 73fb65c51f
4+
* Version 3.0.3 Built on 2025-11-09T20:17:11.487Z
5+
* CommitID faec173944
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com

dist/jspdf.es.min.js

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

dist/jspdf.node.js

Lines changed: 2 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-09T20:07:07.752Z
5-
* CommitID 73fb65c51f
4+
* Version 3.0.3 Built on 2025-11-09T20:17:11.524Z
5+
* CommitID faec173944
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com

dist/jspdf.node.min.js

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

dist/jspdf.umd.js

Lines changed: 2 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-09T20:07:07.655Z
5-
* CommitID 73fb65c51f
4+
* Version 3.0.3 Built on 2025-11-09T20:17:11.448Z
5+
* CommitID faec173944
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com

dist/jspdf.umd.min.js

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

dist/polyfills.es.js

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

dist/polyfills.umd.js

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

jsdoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
},
55
"source": {
66
"include": ["./src"],
7-
"includePattern": ".js$"
7+
"includePattern": ".ts$"
88
},
99
"plugins": ["node_modules/jsdoc/plugins/markdown"],
1010
"markdown": {

test/deployment/amd/karma.conf.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ module.exports = config => {
1313
"node_modules/requirejs/require.js",
1414
"node_modules/regenerator-runtime/runtime.js",
1515
{
16-
pattern: "dist/jspdf.umd*.ts",
16+
pattern: "dist/jspdf.umd*.js",
1717
included: false
1818
},
1919
{
2020
pattern: "node_modules/canvg/lib/umd.js*",
2121
included: false
2222
},
2323
{
24-
pattern: "node_modules/html2canvas/dist/html2canvas.ts",
24+
pattern: "node_modules/html2canvas/dist/html2canvas.js",
2525
included: false
2626
},
2727
{
28-
pattern: "node_modules/dompurify/dist/purify.ts",
28+
pattern: "node_modules/dompurify/dist/purify.js",
2929
included: false
3030
},
3131

32-
"test/utils/compare.js",
33-
"test/deployment/amd/loadGlobals.js",
32+
"test/utils/compare.ts",
33+
"test/deployment/amd/loadGlobals.ts",
3434

3535
"test/deployment/amd/amd.spec.ts",
3636

@@ -55,7 +55,7 @@ module.exports = config => {
5555

5656
preprocessors: {
5757
"test/**/!(acroform|unicode)*.spec.ts": "babel",
58-
"test/utils/compare.js": "babel"
58+
"test/utils/compare.ts": "babel"
5959
}
6060
});
6161
};

0 commit comments

Comments
 (0)