Repository navigation
Commit aa97cf4
authored
fix(deps): bump @stream-io toolkit packages to the .mjs/.cjs builds (#1971)
## CLA
- [x] I have signed the [Stream
CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform)
(required).
- [x] Code changes are tested
## Description of the changes, What, Why and How?
The js-toolkit packages now ship explicit `.mjs`/`.cjs` builds targeting
ES2022 (GetStream/js-toolkit#58). Their previous ESM build was `.js` in
packages without a `"type"`, so Node only loaded it as ESM through
syntax detection; without it, SSR crashed with `The requested module
'@stream-io/state-store' does not provide an export named 'StateStore'`.
- `@stream-io/logger` `^2.0.0` → `^2.1.0`, `@stream-io/state-store`
`^1.1.6` → `^1.2.0`
- `.yarnrc.yml`: preapprove the js-toolkit packages so
`npmMinimalAgeGate` (3d) doesn't hold back first-party releases
Verified locally: `yarn types`, `yarn build`, `yarn lint` and `yarn
test-unit` (4833 tests) pass.
🎫 Ticket: https://linear.app/stream/issue/REACT-1474
## Changelog
- Bump `@stream-io/logger` to 2.1.0 and `@stream-io/state-store` to
1.2.0 (`.mjs`/`.cjs` builds)1 parent b87d598 commit aa97cf4
3 files changed
Lines changed: 19 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1441 | 1441 | | |
1442 | 1442 | | |
1443 | 1443 | | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
1448 | 1448 | | |
1449 | 1449 | | |
1450 | 1450 | | |
| |||
1463 | 1463 | | |
1464 | 1464 | | |
1465 | 1465 | | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
1469 | 1469 | | |
1470 | 1470 | | |
1471 | 1471 | | |
| |||
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
1477 | | - | |
| 1477 | + | |
1478 | 1478 | | |
1479 | 1479 | | |
1480 | 1480 | | |
| |||
7386 | 7386 | | |
7387 | 7387 | | |
7388 | 7388 | | |
7389 | | - | |
| 7389 | + | |
7390 | 7390 | | |
7391 | | - | |
| 7391 | + | |
7392 | 7392 | | |
7393 | 7393 | | |
7394 | 7394 | | |
| |||
0 commit comments