Skip to content

Commit

Permalink
Polyfill structuredClone with core-js (PR 13948 follow-up)
Browse files Browse the repository at this point in the history
This allows us to remove the manually implemented `structuredClone` polyfill, thus reducing the maintenance burden for the `LoopbackPort` class; refer to https://github.com/zloirock/core-js#structuredclone

*Please note:* This patch can't/shouldn't land until `structuredClone` becomes available in *at least* the release versions of both Mozilla Firefox and Google Chrome; see https://developer.mozilla.org/en-US/docs/Web/API/structuredClone#browser_compatibility
  • Loading branch information
Snuffleupagus committed Dec 22, 2021
1 parent 41dab8e commit 19d86dc
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 1,159 deletions.
Loading

0 comments on commit 19d86dc

Please sign in to comment.