Commit Graph

5 Commits

Author SHA1 Message Date
Christopher Allen
f9d0caa112 Migrate core.global.js to named exports (#5451)
This is part of #5153 but is being prioritised because we want remove
the declareLegacyNamespace calls from the core/utils/*.js modules and
then reexport them explicitly via utils.js, and it turns out that
doing so results in the exports object of this module being passed to
Object.freeze - which fails on the global object, which can't be made
non-extensible!

The new name chosen for the former default export is globalThis, since
it is intended to have the same value as the global variable of that
name; see:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
2021-09-14 14:39:29 +01:00
Neil Fraser
17f9209f2f Add missing extern 2021-05-27 21:30:26 -07:00
alschmiedt
fa8cf15d8e Reverts #4573 (#4775) 2021-04-13 09:44:53 -07:00
Rachel Fenichel
fc0c2c5dbe Update jsdom 2021-01-07 18:32:29 -08:00
Sam El-Husseini
25821c888d Move package to scripts/package (#4045) 2020-07-14 16:31:53 -07:00