Skip to content

Commit

Permalink
3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 7, 2019
1 parent 1af0f13 commit 7363bcc
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 35 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
SystemJS 3.1.1 (2019/04/07)
* Fix a Promise chaining bug with top-level await in s.js (https://github.com/systemjs/systemjs/issues/1921, https://github.com/systemjs/systemjs/commits/cc44badb954)
* Support registry iteration (https://github.com/systemjs/systemjs/issues/1918, 984dcd1c0fe, 532fdbddede7c2, 1af0f13f58, @joeldenning)
* Support late loading of import maps (https://github.com/systemjs/systemjs/issues/1916, @joeldenning)

SystemJS 3.1.0 (2019/03/24)
* Ensure resolve always returns a promise (https://github.com/systemjs/systemjs/commits/42ea052e9a97, @joeldenning)
* Fix error handling for AMD scripts (https://github.com/systemjs/systemjs/commits/56d515a2885ebce6b)
Expand Down
9 changes: 4 additions & 5 deletions dist/s.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SJS 3.1.0
* SJS 3.1.1
* Minimal SystemJS Build
*/
(function () {
Expand Down Expand Up @@ -322,7 +322,7 @@
}
});
if (depLoadPromises) {
return load.E = Promise.all(depLoadPromises).then(doExec);
return Promise.all(depLoadPromises).then(doExec);
}

return doExec();
Expand All @@ -331,11 +331,10 @@
try {
let execPromise = load.e.call(nullContext);
if (execPromise) {
execPromise.then(function () {
execPromise = execPromise.then(function () {
load.C = load.n;
load.E = null;
});
execPromise.catch(function () {});
}, function () {});
return load.E = load.E || execPromise;
}
// (should be a promise, but a minify optimization to leave out Promise.resolve)
Expand Down
2 changes: 1 addition & 1 deletion dist/s.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7363bcc

Please sign in to comment.