Skip to content

Commit

Permalink
6.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Jul 4, 2021
1 parent 6840a21 commit 47c3afb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
SystemJS 6.10.2
* Fix warning with node 16 (https://github.com/systemjs/systemjs/pull/2343 @JJ)

SystemJS 6.10.1
* Fixes module-types usage process reference issue (https://github.com/systemjs/systemjs/pull/2343)

Expand Down
2 changes: 1 addition & 1 deletion dist/s.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SJS 6.10.1
* SJS 6.10.2
* Minimal SystemJS Build
*/
(function () {
Expand Down
11 changes: 2 additions & 9 deletions dist/system-node.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5008,12 +5008,6 @@ function convertBody(buffer, headers) {
// html4
if (!res && str) {
res = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);
if (!res) {
res = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(str);
if (res) {
res.pop(); // drop last quote
}
}

if (res) {
res = /charset=(.*)/i.exec(res.pop());
Expand Down Expand Up @@ -6021,7 +6015,7 @@ function fetch(url, opts) {
// HTTP fetch step 5.5
switch (request.redirect) {
case 'error':
reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));
reject(new FetchError(`redirect mode is set to error: ${request.url}`, 'no-redirect'));
finalize();
return;
case 'manual':
Expand Down Expand Up @@ -6060,8 +6054,7 @@ function fetch(url, opts) {
method: request.method,
body: request.body,
signal: request.signal,
timeout: request.timeout,
size: request.size
timeout: request.timeout
};

// HTTP-redirect fetch step 9
Expand Down
2 changes: 1 addition & 1 deletion dist/system.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SystemJS 6.10.1
* SystemJS 6.10.2
*/
(function () {

Expand Down
2 changes: 1 addition & 1 deletion dist/system.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "systemjs",
"version": "6.10.1",
"version": "6.10.2",
"main": "dist/system-node.cjs",
"exports": {
".": {
Expand Down

0 comments on commit 47c3afb

Please sign in to comment.