Dependency updates and fixing an issue with multiple final commits in SCORM 1.2

This commit is contained in:
Jonathan Putney
2020-07-14 10:33:05 -04:00
parent 97070184b8
commit 4a97c1c0a9
3 changed files with 547 additions and 1743 deletions

2262
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,30 +1,30 @@
{ {
"name": "scorm-again", "name": "scorm-again",
"version": "1.3.0", "version": "1.3.1",
"description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004", "description": "A modern SCORM JavaScript run-time library for AICC, SCORM 1.2, and SCORM 2004",
"main": "dist/scorm-again.min.js", "main": "dist/scorm-again.min.js",
"directories": { "directories": {
"test": "test" "test": "test"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.10.3", "@babel/cli": "^7.10.4",
"@babel/core": "^7.10.2", "@babel/core": "^7.10.4",
"@babel/node": "^7.10.3", "@babel/node": "^7.10.4",
"@babel/plugin-proposal-class-properties": "^7.10.1", "@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.10.3", "@babel/plugin-proposal-optional-chaining": "^7.10.4",
"@babel/plugin-proposal-private-methods": "^7.10.1", "@babel/plugin-proposal-private-methods": "^7.10.4",
"@babel/preset-env": "^7.10.3", "@babel/preset-env": "^7.10.4",
"@babel/preset-flow": "^7.10.1", "@babel/preset-flow": "^7.10.4",
"@babel/register": "^7.10.3", "@babel/register": "^7.10.4",
"@types/chai": "^4.2.11", "@types/chai": "^4.2.11",
"babel-eslint": "^11.0.0-beta.2", "babel-eslint": "^11.0.0-beta.2",
"babelify": "^10.0.0", "babelify": "^10.0.0",
"browserify": "^16.5.1", "browserify": "^16.5.1",
"chai": "^4.2.0", "chai": "^4.2.0",
"eslint": "^7.3.1", "eslint": "^7.4.0",
"eslint-config-google": "^0.14.0", "eslint-config-google": "^0.14.0",
"eslint-plugin-import": "^2.21.2", "eslint-plugin-import": "^2.22.0",
"grunt": "^1.1.0", "grunt": "^1.2.1",
"grunt-browserify": "^5.3.0", "grunt-browserify": "^5.3.0",
"grunt-cli": "^1.3.2", "grunt-cli": "^1.3.2",
"grunt-contrib-watch": "^1.1.0", "grunt-contrib-watch": "^1.1.0",

View File

@@ -63,7 +63,7 @@ export default class Scorm12API extends BaseAPI {
* @return {string} bool * @return {string} bool
*/ */
lmsFinish() { lmsFinish() {
const result = this.terminate('LMSFinish', false); const result = this.terminate('LMSFinish', true);
if (result === global_constants.SCORM_TRUE) { if (result === global_constants.SCORM_TRUE) {
if (this.nav.event !== '') { if (this.nav.event !== '') {