@lxpack/scorm 0.2.1 → 0.2.2

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  SCORM 1.2, SCORM 2004 (multi-SCO), and standalone HTML export for LXPack courses.
9
9
 
10
- Part of [LXPack](https://github.com/eddiethedean/lxpack) — an AI-native learning experience compiler and runtime (**v0.2.0**).
10
+ Part of [LXPack](https://github.com/eddiethedean/lxpack) — an AI-native learning experience compiler and runtime (**v0.2.2**).
11
11
 
12
12
  | Related | Package |
13
13
  |---------|---------|
package/dist/index.js CHANGED
@@ -155,7 +155,7 @@ import {
155
155
 
156
156
  // src/scorm2004-manifest.ts
157
157
  function escapeXml2(text) {
158
- return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
158
+ return text.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
159
159
  }
160
160
  function scoLaunchPath(activityId) {
161
161
  return `sco/${activityId}/index.html`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lxpack/scorm",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "SCORM and standalone HTML export for LXPack",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "jszip": "^3.10.1",
42
- "@lxpack/validators": "0.2.1"
42
+ "@lxpack/validators": "0.2.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^22.13.10",