Skip to content

Commit

Permalink
6.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Jan 21, 2022
1 parent 8abe4c6 commit 949272a
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 14 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
@@ -1,6 +1,9 @@
SystemJS 6.12.0
SystemJS 6.12.1
* Call fetch hook when retrieving external import maps. Resolves #2374. (https://github.com/systemjs/systemjs/pull/2376)

SystemJS 6.12.0
* This version was published in error. Please use 6.12.1 instead.

SystemJS 6.11.0
* Add the possibility to use an async createScript hook (https://github.com/systemjs/systemjs/pull/2362 @legarsjules)
* Use Promise.resolve in named-register. Resolves #2359. (https://github.com/systemjs/systemjs/pull/2363)
Expand Down
3 changes: 3 additions & 0 deletions dist/extras/module-types.js
Expand Up @@ -126,6 +126,9 @@ function resolveUrl (relUrl, parentUrl) {
systemJSPrototype.fetch = function (url, options) {
return fetch(url, options)
.then(function (res) {
if (options.passThrough)
return res;

if (!res.ok)
return res;
var contentType = res.headers.get('content-type');
Expand Down
2 changes: 1 addition & 1 deletion dist/extras/module-types.min.js

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

0 comments on commit 949272a

Please sign in to comment.