Skip to content

Commit

Permalink
Version Packages (#479)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Jan 1, 2024
1 parent 9097354 commit 6dc8adb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
15 changes: 0 additions & 15 deletions .changeset/export-premature-close.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/scoped-object-missing.md

This file was deleted.

23 changes: 23 additions & 0 deletions lib/@empirica/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @empirica/core

## 1.9.0

### Minor Changes

- cd48506: `empirica export` could fail with a "Premature close" error (#474). This seems
to be originating from a bug in the `node-fetch` package, which is used to
polyfill `fetch` in Node.js. This upgrades Node.js to v20+, which includes
native `fetch` support. We still have the `cross-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:
https://github.com/node-fetch/node-fetch/issues/1767
https://github.com/node-fetch/node-fetch/issues/1576

### Patch Changes

- b32b95a: Scoped objects should never be missing under EmpiricaContext. Some have reported
`player.stage` or `player.round` being undefined, for example. This fix also
more thoroughly checks that all expected objects (not only scoped objects) are
always present.

## 1.8.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/@empirica/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@empirica/core",
"version": "1.8.12",
"version": "1.9.0",
"description": "Empirica Core",
"author": "Nicolas Paton <nicolas.paton@gmail.com>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 6dc8adb

Please sign in to comment.