Comparing version 1.13.4 to 1.13.5
@@ -0,1 +1,8 @@ | ||
v1.13.5 | ||
======= | ||
2018-06-10T17:04:38Z | ||
Fix a `web` bug that response with no "Content-Type" header will result in error on Node.js. | ||
v1.13.4 | ||
@@ -2,0 +9,0 @@ ======= |
{ | ||
"name": "fus-ext", | ||
"version": "1.13.4", | ||
"version": "1.13.5", | ||
"description": "FutureScript Extension", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -129,3 +129,7 @@ "use strict"; | ||
})() : (() => { | ||
contentType = rawResponse.headers["content-type"].toLowerCase();return ok_573300145710716007(contentType) ? (() => { | ||
contentType = ok_573300145710716007(rawResponse.headers["content-type"]) ? (() => { | ||
return rawResponse.headers["content-type"].toLowerCase(); | ||
})() : (() => { | ||
return null; | ||
})();return ok_573300145710716007(contentType) ? (() => { | ||
contentEncodingMatches = contentType.match(new RegExp(";\\s*charset=([^\\s;]+)\\s*(;|$)"));return ok_573300145710716007(contentEncodingMatches) ? (() => { | ||
@@ -132,0 +136,0 @@ encoding = contentEncodingMatches[1];return encoding === "utf-8" ? (() => { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
378652
4477