Description
Context: https://nodejs.org/api/packages.html#dual-package-hazard
I was pondering this in the context of #155, specifically whether if two versions of the polyfill sources (one with jsbi, and one with bigint) were to be loaded into the page whether they would correctly interoperate with each other, at the cost of extreme code-size regression (two copies of Temporal srcs, potentially two copies of JSBI!).
My guess is that no, currently they would not, primarily because an object from one instance would not satisfy the slot-based checks when passed to the other:
temporal-polyfill/lib/slots.ts
Line 153 in 56df93f
Setting aside the code-size problems, if it were possible to at least have the results be correct when interoperating I would consider publishing a second package that contains a pre-"transpiled" bundle that does not contain JSBI.