Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-iframe

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-iframe - npm Package Compare versions

Comparing version 1.4.8 to 1.4.9

14

dist/iframe.js

@@ -67,16 +67,12 @@ "use strict";

if (src === void 0) { src = ""; }
var hosted = src && src[0] === "/";
if (hosted) {
if (src && src[0] === "/") {
try {
void (function grabData() {
return __awaiter(this, void 0, void 0, function () {
var pathUrl, res, source;
var res, source;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
pathUrl = "" + url + (hosted ? "" : "/") + src;
return [4, isomorphic_unfetch_1["default"](pathUrl, {
uri: pathUrl,
headers: config_1.headers
})];
case 0: return [4, isomorphic_unfetch_1["default"](url + "/" + src, {
headers: config_1.headers
})];
case 1:

@@ -83,0 +79,0 @@ res = _a.sent();

{
"name": "node-iframe",
"version": "1.4.8",
"version": "1.4.9",
"description": "create a iframe on your server to bypass CORS issues. ( reverse engineer security issues )",

@@ -5,0 +5,0 @@ "main": "dist/iframe.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc