Socket
Socket
Sign inDemoInstall

iframe

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iframe - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

1

index.js

@@ -52,2 +52,3 @@ module.exports = function(opts) {

tempIframe.sandbox = opts.sandboxAttributes.join(' ')
if (opts.name) tempIframe.setAttribute('name', opts.name)
// generate HTML string

@@ -54,0 +55,0 @@ var htmlSrc = tempIframe.outerHTML

2

package.json
{
"name": "iframe",
"version": "0.3.0",
"version": "0.3.1",
"description": "higher level api for creating and using iframes in browsers",

@@ -5,0 +5,0 @@ "repository": {

@@ -33,2 +33,3 @@ # iframe

{
name: name of the iframe,
src: if src url is passed in use that (this mode ignores body/head/html options),

@@ -35,0 +36,0 @@ body: string contents for `<body>`

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