node-iframe
Advanced tools
Comparing version 1.9.2 to 1.9.4
@@ -55,9 +55,15 @@ "use strict"; | ||
(function () { return __awaiter(void 0, void 0, void 0, function () { | ||
var followRedirects, http_1, https_1, getHttp_1, get; | ||
var http_1, https_1, followRedirects, getHttp_1, get; | ||
return __generator(this, function (_a) { | ||
if (process) { | ||
followRedirects = require('follow-redirects'); | ||
followRedirects.maxRedirects = 4; | ||
http_1 = followRedirects.http; | ||
https_1 = followRedirects.https; | ||
if (process.env.VERCEL_EDGE) { | ||
http_1 = require("http"); | ||
https_1 = require("https"); | ||
} | ||
else { | ||
followRedirects = require('follow-redirects'); | ||
followRedirects.maxRedirects = 4; | ||
http_1 = followRedirects.http; | ||
https_1 = followRedirects.https; | ||
} | ||
getHttp_1 = function (url) { | ||
@@ -64,0 +70,0 @@ return url.startsWith("https://") ? https_1 : http_1; |
{ | ||
"name": "node-iframe", | ||
"version": "1.9.2", | ||
"version": "1.9.4", | ||
"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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
49952
805
1
4