Comparing version 0.5.10 to 0.5.11
{ | ||
"name": "popsicle", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"description": "Simple HTTP requests for node and the browser", | ||
@@ -5,0 +5,0 @@ "main": "popsicle.js", |
@@ -189,3 +189,3 @@ /* global define */ | ||
/** | ||
* Create a CSP error instance (Cross-. | ||
* Create a CSP error instance (Content Security Policy). | ||
* | ||
@@ -1470,2 +1470,8 @@ * @param {Request} req | ||
// Catch URLs that will cause the request to hang indefinitely in | ||
// CORS enabled environments like Atom Editor. | ||
if (/^https?\:\/*(?:[~#\\\?;\:]|$)/.test(url)) { | ||
return reject(unavailableError(req)) | ||
} | ||
var xhr = req._raw = getXHR() | ||
@@ -1472,0 +1478,0 @@ |
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
58095
1505