Starting work on 2.0.0

This commit is contained in:
Jonathan Putney
2022-06-22 22:05:10 -04:00
parent 8dd28cf0c8
commit 6d1d2861a6
11 changed files with 22 additions and 28 deletions

View File

@@ -3,6 +3,9 @@
# SCORM Again
This project was created to modernize the SCORM JavaScript runtime, and to provide a stable, tested platform for running AICC, SCORM 1.2, and SCORM 2004 modules. This module is designed to be LMS agnostic, and is written to be able to be run without a backing LMS, logging all function calls and data instead of committing, if an LMS endpoint is not configured.
## Potential Breaking Change!
Version 2.0.0 of scorm-again switches to using `fetch` instead of `sendBeacon` when the `sendBeaconCommit` setting is enabled. Since `fetch` is not supported by IE11, you will need to provide your own polyfill for this functionality if you need to support it. With that said, now that support for IE11 has officially been dropped by Microsoft, I may start moving this library away from supporting it as well, which will probably include leaning into using `fetch` by default, and rewriting the commit code.
### What is this not and what doesn't it do?
1. This is not an LMS
1. This does not handle the uploading and verification of SCORM/AICC modules

2
dist/aicc.js.map vendored

File diff suppressed because one or more lines are too long

8
dist/aicc.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/scorm12.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/scorm12.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "scorm-again",
"version": "1.7.1",
"version": "2.0.0",
"description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004",
"main": "dist/scorm-again.min.js",
"browserslist": [
@@ -69,5 +69,6 @@
"bugs": {
"url": "https://github.com/jcputney/scorm-again/issues"
},
"homepage": "https://github.com/jcputney/scorm-again"
"homepage": "https://github.com/jcputney/scorm-again",
"dependencies": {}
}

View File

@@ -2294,17 +2294,7 @@ camelcase@^6.0.0:
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809"
integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==
caniuse-lite@^1.0.30001219:
version "1.0.30001230"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz#8135c57459854b2240b57a4a6786044bdc5a9f71"
integrity sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ==
caniuse-lite@^1.0.30001286:
version "1.0.30001298"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001298.tgz#0e690039f62e91c3ea581673d716890512e7ec52"
integrity sha512-AcKqikjMLlvghZL/vfTHorlQsLDhGRalYf1+GmWCf5SCMziSGjRYQW/JEksj14NaYHIR6KIhrFAy0HV5C25UzQ==
caniuse-lite@^1.0.30001358:
caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001286, caniuse-lite@^1.0.30001358:
version "1.0.30001358"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001358.tgz#473d35dabf5e448b463095cab7924e96ccfb8c00"
integrity sha512-hvp8PSRymk85R20bsDra7ZTCpSVGN/PAz9pSAjPSjKC+rNmnUk5vCRgJwiTT/O4feQ/yu/drvZYpKxxhbFuChw==