Socket
Socket
Sign inDemoInstall

node-iframe

Package Overview
Dependencies
26
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.9 to 1.5.10

2

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

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

@@ -20,9 +20,9 @@ # node-iframe

app.get("/iframe", (req, res) =>
app.get("/iframe", (req, res) => {
res.createIframe({
url: req.query.url,
baseHref: req.query.baseHref, // optional: determine how to control link redirects,
config: JSON.parse(req.query.config), // optional: determine element cors or inlining #shape src/iframe.ts#L34
})
);
config: { cors: { script: true } }, // optional: determine element cors or inlining #shape src/iframe.ts#L34
});
});
```

@@ -29,0 +29,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc