Repository navigation
Commit c0b6301
authored
fix(deps): require use-sync-external-store ^1.5.0 so the ESM build loads in Node (#846)
dist/index.js imports `use-sync-external-store/shim`, which is kept
external. Before 1.5.0 the package had no `exports` map, so Node's ESM
resolver treats `/shim` as a directory and throws
ERR_UNSUPPORTED_DIR_IMPORT. That breaks anything that loads the ESM build
without a bundler: Vitest tests in apps that use reactfire, SSR that keeps
dependencies external, and plain Node scripts. The CJS build is fine.
Raise the floor to ^1.5.0 (lockfile: 1.2.0 -> 1.7.0).1 parent 404a578 commit c0b6301
2 files changed
Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments