New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-iframe-comm

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-iframe-comm - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

src/App.js

19

package.json
{
"name": "react-iframe-comm",
"version": "1.0.0",
"version": "1.0.2",
"description": "A React component for communicating between a parent window and an iframe.",
"main": "src/IframeComm.js",
"author": "Petar Bojinov",
"author": "Petar Bojinov <petarbojinov@gmail.com>",
"bugs": {
"url": "https://github.com/pbojinov/react-iframe-comm/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/pbojinov/react-iframe-comm.git"
},
"keywords": [
"react",
"iframe",
"communication",
"comm",
"postMessage",
"react-component"
],
"license": "MIT",

@@ -8,0 +23,0 @@ "dependencies": {

9

README.md

@@ -24,3 +24,5 @@ React iFrame communication

npm install react-iframe-comm --save
```
npm install react-iframe-comm --save
```

@@ -46,3 +48,4 @@ At this point you can import `react-iframe-comm` in your application as follows:

width: "100%",
height: "175"
height: "175",
frameBorder: 1, // show frame border just for fun...
};

@@ -56,3 +59,3 @@

const onReceiveMessage = () => {
console.log("handleReceiveMessage");
console.log("onReceiveMessage");
};

@@ -59,0 +62,0 @@

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