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

penpal

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

penpal - npm Package Compare versions

Comparing version 5.0.0-rc2 to 5.0.0

2

package.json
{
"name": "penpal",
"version": "5.0.0-rc2",
"version": "5.0.0",
"description": "A promise-based library for communicating with iframes via postMessage.",

@@ -5,0 +5,0 @@ "author": "Aaron Hardy <aaron@aaronhardy.com>",

[![npm version](https://badge.fury.io/js/penpal.svg)](https://badge.fury.io/js/penpal)
### Upgrading from version 4? See [version 5 release notes](https://github.com/Aaronius/penpal/releases/tag/v5.0.0) for details.
[See documentation for 4.x](https://github.com/Aaronius/penpal/tree/4.x)
[See documentation for 3.x](https://github.com/Aaronius/penpal/tree/3.x)
# Penpal

@@ -45,3 +50,12 @@

iframe.src = 'http://example.com/iframe.html';
document.body.appendChild(iframe);
if (
document.readyState === 'complete' ||
document.readyState === 'interactive'
) {
document.body.appendChild(iframe);
} else {
document.addEventListener('DOMContentLoaded', () => {
document.body.appendChild(iframe);
});
}

@@ -48,0 +62,0 @@ const connection = connectToChild({

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