node-iframe
Advanced tools
Comparing version 1.7.4 to 1.7.5
@@ -56,3 +56,2 @@ "use strict"; | ||
var cheerio_1 = require("cheerio"); | ||
var utils_1 = require("./utils"); | ||
var templates_1 = require("./templates"); | ||
@@ -151,3 +150,3 @@ exports.configureTemplates = templates_1.configureTemplates; | ||
case 0: | ||
if (!(0, utils_1.isUrl)(url)) { | ||
if (!url) { | ||
return [2, renderErrorHtml({ url: url, server: server })]; | ||
@@ -154,0 +153,0 @@ } |
@@ -14,9 +14,7 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.URL = exports.isUrl = exports.fetchWithTimestamps = void 0; | ||
exports.URL = exports.fetchWithTimestamps = void 0; | ||
var metrics_1 = require("./metrics"); | ||
__createBinding(exports, metrics_1, "fetchWithTimestamps"); | ||
var is_url_1 = require("./is-url"); | ||
__createBinding(exports, is_url_1, "isUrl"); | ||
var url_1 = require("./url"); | ||
__createBinding(exports, url_1, "URL"); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "node-iframe", | ||
"version": "1.7.4", | ||
"version": "1.7.5", | ||
"description": "create iframes on your server to bypass CORS. Reverse engineer security issues.", | ||
@@ -5,0 +5,0 @@ "main": "dist/iframe.js", |
export { fetchWithTimestamps, TimeStampMetrics } from "./metrics"; | ||
export { isUrl } from "./is-url"; | ||
export { URL } from "./url"; |
Sorry, the diff of this file is not supported yet
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
42077
50
685