Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Good news! Version 5 is about ready to ship and I could use your help testing it out.

To install v5, run npm install penpal@next. For the updated readme, see

Breaking Changes

Importing Modules

The only breaking changes are in how connectToParent, connectToChild, and error codes are imported. Penpal no longer ships with ES5. The ES6 code is set up in such a way that your bundler of choice should properly tree shake unused code.

New Features


Penpal is now built using TypeScript, so if you’re using TypeScript, you now get types for free!

Regex Support for parentOrigin

When using connectToParent, you can now specify a regular expression for parentOrigin. By providing a regular expression, you can now load the iframe onto multiple, different domains while ensuring that communication is secured to those domains only.

While this was not a breaking change, it did require significant changes to the handshake process as described in and due to the higher risk of the change I decided to include it with other breaking changes in v5 rather than adding it to v4.

Comment Below

If you have feedback, please post a comment below. Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

marlon-tuckercommented, May 9, 2020

Sorry was a public holiday here on Friday and I didn’t check my emails. I had a brief look over the public API and couldn’t see any issues.

Thank you for your continued support of this library, we migrated away from postmate to this as they seem to have abandoned it.

Aaroniuscommented, May 7, 2020

Barring any issues, which there don’t seem to be, I was planning on publishing v5 before the end of the week (end of May 10).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Axe to Optimize Trusted Tester V5 - YouTube
... conformance evaluations with the Trusted Tester V5 process. ... of Accessibility Testing 39:36 Axe Tools & Trusted Tester 51:58 Q & A ......
Read more >
Trusted Tester Version 5 Conformance Test Process for Web
OAST developed the common testing approach for accessibility compliance and conformity, named Trusted Tester Version 5 (TTV5).
Read more >
Prepare for ARE 5.0 - NCARB
As you prepare to take the ARE, NCARB is here to help with study tools and resources to guide you through the process....
Read more >
Verify Your Module's Help with Pester v5 - Clear-Script
A user in the PowerShell Discord server recently came across some tests written for Pester v4 that they wanted to refactor for use...
Read more >
Test Maker Software for Teachers: Printable Tests Fast
Here's a novel idea. A test maker that lets you make new tests from old. Simply open previously saved tests in the question...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found