node-iframe
Advanced tools
Comparing version 1.8.2 to 1.8.3
@@ -132,7 +132,12 @@ "use strict"; | ||
return new Promise(function (resolve, reject) { | ||
var body = ""; | ||
httpMethod | ||
.get(url, options, function (res) { | ||
res.setEncoding("utf8"); | ||
res.on("data", function (d) { | ||
resolve(d); | ||
body += d; | ||
}); | ||
res.on("end", function () { | ||
resolve(body); | ||
}); | ||
}) | ||
@@ -139,0 +144,0 @@ .on("error", function (e) { |
{ | ||
"name": "node-iframe", | ||
"version": "1.8.2", | ||
"version": "1.8.3", | ||
"description": "create iframes on your server to bypass CORS. Reverse engineer security issues.", | ||
@@ -5,0 +5,0 @@ "main": "dist/iframe.js", |
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
51557
848