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.1.11 to 1.1.12

__tests__/iframe.test.ts

6

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

@@ -17,3 +17,3 @@ "main": "dist/iframe.js",

"author": "Jeff Mendez",
"license": "ISC",
"license": "MIT",
"dependencies": {

@@ -26,5 +26,7 @@ "cheerio": "^1.0.0-rc.3",

"devDependencies": {
"dotenv": "^8.2.0",
"jest": "^26.4.0",
"ts-jest": "^26.4.1",
"typescript": "^3.7.5"
}
}

@@ -1,2 +0,2 @@

# Node Iframe
# node-iframe

@@ -21,3 +21,3 @@ create iframes to bypass security issues on your server with node.js

url: req.query.url,
baseHref: req.query.baseHref || true,
baseHref: req.query.baseHref, // optional,
})

@@ -54,1 +54,5 @@ );

This project uses cheerio to manipulate dom contents very fast. If your iframe fails to render thats where the security issues need to be reverse hacked by us. As an alternative solution if the iframe fails to load simply fall back to the normal url of web page. You can fire this as an api request directly with `fetch` to get the website as html or use directly as your iframe src for best perfomance.
## License
MIT
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