Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/worker-import-errors.md

This file was deleted.

6 changes: 6 additions & 0 deletions core/bootloader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @inkandswitch/patchwork-bootloader

## 0.8.8

### Patch Changes

- 7d4520f: A package that fails to import in the module-loader worker now reports why. Vite's preload helper, which wraps every dynamic `import()`, announced the failure with `window.dispatchEvent`, and in a worker that threw a ReferenceError in place of the import's own error. The `patchwork()` vite plugin now includes `preloadErrorInWorkers()`, which has the helper dispatch on `globalThis` instead, and fails the build if a vite version stops writing that line. The worker also sends the error's name and message along with its stack, since Safari's and Firefox's stacks leave them out; before, Safari logged only `handlePreloadError@…`.

## 0.8.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion core/bootloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "git+https://github.com/inkandswitch/patchwork-system.git",
"directory": "core/bootloader"
},
"version": "0.8.7",
"version": "0.8.8",
"author": "chee",
"type": "module",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions core/patchwork/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @inkandswitch/patchwork

## 0.8.9

### Patch Changes

- 7d4520f: A package that fails to import in the module-loader worker now reports why. Vite's preload helper, which wraps every dynamic `import()`, announced the failure with `window.dispatchEvent`, and in a worker that threw a ReferenceError in place of the import's own error. The `patchwork()` vite plugin now includes `preloadErrorInWorkers()`, which has the helper dispatch on `globalThis` instead, and fails the build if a vite version stops writing that line. The worker also sends the error's name and message along with its stack, since Safari's and Firefox's stacks leave them out; before, Safari logged only `handlePreloadError@…`.
- Updated dependencies [7d4520f]
- @inkandswitch/patchwork-bootloader@0.8.8

## 0.8.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion core/patchwork/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "git+https://github.com/inkandswitch/patchwork-system.git",
"directory": "core/patchwork"
},
"version": "0.8.8",
"version": "0.8.9",
"author": "Ink & Switch",
"type": "module",
"license": "MIT",
Expand Down
Loading