@empirica/core@1.9.0
github-actions
released this
01 Jan 08:11
·
53 commits
to main
since this release
Minor Changes
-
cd48506:
empirica export
could fail with a "Premature close" error (#474). This seems
to be originating from a bug in thenode-fetch
package, which is used to
polyfillfetch
in Node.js. This upgrades Node.js to v20+, which includes
nativefetch
support. We still have thecross-fetch
polyfill for projects
that have not updated to Node.js v20+ yet. Export uses a vendored project which
has been updated to use the latest Node.js version, so it does not require the
entire experiment to be updated for it to use Node.js v20+.See the following issues on
node-fetch
for more details:
node-fetch/node-fetch#1767
node-fetch/node-fetch#1576
Patch Changes
- b32b95a: Scoped objects should never be missing under EmpiricaContext. Some have reported
player.stage
orplayer.round
being undefined, for example. This fix also
more thoroughly checks that all expected objects (not only scoped objects) are
always present.