execonvert 0.4.2 → 0.5.1

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +79 -0
  3. package/THIRD_PARTY_NOTICES.md +19 -0
  4. package/dist/cli/app/public/exelearning/app/common/common_i18n.js +4 -1
  5. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.ca.js +4 -1
  6. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.de.js +4 -1
  7. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.en.js +4 -1
  8. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.eo.js +4 -1
  9. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.es.js +4 -1
  10. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.eu.js +4 -1
  11. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.gl.js +4 -1
  12. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.it.js +4 -1
  13. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.pt.js +4 -1
  14. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.ro.js +4 -1
  15. package/dist/cli/app/public/exelearning/app/common/i18n/common_i18n.va.js +4 -1
  16. package/dist/cli/app/public/exelearning/bundles/common.zip +0 -0
  17. package/dist/cli/app/public/exelearning/bundles/content-css.zip +0 -0
  18. package/dist/cli/app/public/exelearning/bundles/idevices.zip +0 -0
  19. package/dist/cli/app/public/exelearning/bundles/libs.zip +0 -0
  20. package/dist/cli/app/public/exelearning/bundles/manifest.json +76 -75
  21. package/dist/cli/app/public/exelearning/bundles/themes/base.zip +0 -0
  22. package/dist/cli/app/public/exelearning/bundles/themes/flux.zip +0 -0
  23. package/dist/cli/app/public/exelearning/bundles/themes/neo.zip +0 -0
  24. package/dist/cli/app/public/exelearning/bundles/themes/nova.zip +0 -0
  25. package/dist/cli/app/public/exelearning/bundles/themes/universal.zip +0 -0
  26. package/dist/cli/app/public/exelearning/bundles/themes/zen.zip +0 -0
  27. package/dist/cli/app/public/exelearning/exporters.bundle.js +7250 -353
  28. package/dist/cli/app/public/exelearning/importers.bundle.js +693 -163
  29. package/dist/cli/app/public/exelearning/runtime-source.json +6 -6
  30. package/dist/cli/app/public/info/cli.html +105 -8
  31. package/dist/cli/cli/execonvert.js +47 -7
  32. package/dist/cli/cli/updates.js +315 -0
  33. package/dist/cli/src/docx-import.js +8 -49
  34. package/dist/cli/src/vendor/omml2mathml/LICENSE +201 -0
  35. package/dist/cli/src/vendor/omml2mathml/dom.js +17 -0
  36. package/dist/cli/src/vendor/omml2mathml/index.js +744 -0
  37. package/dist/cli/src/vendor/omml2mathml/operators.js +1144 -0
  38. package/package.json +13 -3
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "execonvert",
3
- "version": "0.4.2",
3
+ "version": "0.5.1",
4
4
  "private": false,
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/eXeConvert/eXeConvert.github.io.git"
8
+ },
5
9
  "type": "module",
6
10
  "bin": {
7
11
  "execonvert": "./bin/execonvert.js"
@@ -31,11 +35,16 @@
31
35
  "check:cli": "tsc -p tsconfig.cli.json --noEmit",
32
36
  "cli": "node ./bin/execonvert.js",
33
37
  "sync:exe": "bash scripts/sync-exe-bundles.sh",
34
- "prepack": "npm run build:cli"
38
+ "prepack": "npm run build:cli",
39
+ "test:updates": "node --import tsx --test tests/updates.test.ts",
40
+ "test:runtime": "node scripts/test-runtime.mjs",
41
+ "test:cli": "node --test tests/cli-update.test.mjs"
35
42
  },
36
43
  "dependencies": {
37
44
  "@resvg/resvg-js": "^2.6.2",
45
+ "@xmldom/xmldom": "^0.8.15",
38
46
  "docx": "^9.6.0",
47
+ "escape-string-regexp": "^1.0.5",
39
48
  "fflate": "^0.8.2",
40
49
  "html-to-pdfmake": "^2.5.33",
41
50
  "html2canvas": "^1.4.1",
@@ -44,18 +53,19 @@
44
53
  "katex": "^0.16.33",
45
54
  "linkedom": "^0.18.12",
46
55
  "mammoth": "^1.11.0",
56
+ "marcheur": "^0.9.0",
47
57
  "markdown-it": "^14.1.1",
48
58
  "markdown-it-texmath": "^1.0.0",
49
59
  "mathjax-full": "^3.2.1",
50
60
  "mathml-to-latex": "^1.5.0",
51
61
  "mathml2omml": "^0.5.0",
52
- "omml2mathml": "^1.3.0",
53
62
  "pdfmake": "^0.3.6",
54
63
  "puppeteer": "^24.8.2",
55
64
  "temml": "^0.13.1",
56
65
  "tsx": "^4.21.0",
57
66
  "turndown": "^7.2.2",
58
67
  "turndown-plugin-gfm": "^1.0.2",
68
+ "xpath": "^0.0.24",
59
69
  "yjs": "^13.6.29"
60
70
  },
61
71
  "devDependencies": {