Skip to content

chore: bump attw to ^0.18 (fixes test:exports crash with fflate 0.8.3)#263

Merged
jpr5 merged 1 commit into
mainfrom
chore/attw-018
Jun 10, 2026
Merged

chore: bump attw to ^0.18 (fixes test:exports crash with fflate 0.8.3)#263
jpr5 merged 1 commit into
mainfrom
chore/attw-018

Conversation

@jpr5

@jpr5 jpr5 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps @arethetypeswrong/cli from ^0.17.3 (resolved 0.17.4) to ^0.18.3 in devDependencies.
  • Root cause: attw 0.17.4's gunzip path keeps only the last chunk emitted by fflate's streaming Gunzip. fflate 0.8.3 emits trailing empty chunks, so the tarball bytes are discarded and npm run test:exports crashes with Cannot read properties of undefined (reading 'filename') on fresh installs. attw 0.18.x accumulates chunks instead.
  • Evidence: @arethetypeswrong/core@0.18.3 explicitly declares fflate: ^0.8.3 — the lockfile now resolves fflate 0.8.3 alongside attw 0.18.3, and test:exports is green on every entrypoint (node10 / node16 CJS / node16 ESM / bundler, all 🟢). Full vitest suite: 3821 tests / 115 files passing.

Toolchain-only change; no runtime dependencies touched.

…crash

attw 0.17.4 has a latent gunzip bug: it keeps only the last chunk emitted by fflate's
streaming Gunzip. fflate 0.8.3 began emitting trailing empty chunks, so 0.17.4 discards
the actual tarball bytes and crashes test:exports with "Cannot read properties of
undefined (reading 'filename')" for anyone resolving fflate 0.8.3 on a fresh install.
attw 0.18.x accumulates all chunks, and @arethetypeswrong/core 0.18.3 explicitly
declares fflate ^0.8.3, exercising the previously-crashing version. Lockfile now
resolves fflate 0.8.3 + attw 0.18.3; all test:exports entrypoints are green.
@pkg-pr-new

pkg-pr-new Bot commented Jun 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@copilotkit/aimock@263

commit: a1a87b6

@jpr5 jpr5 merged commit ffbf85b into main Jun 10, 2026
13 checks passed
@jpr5 jpr5 deleted the chore/attw-018 branch June 10, 2026 22:16
@jpr5 jpr5 mentioned this pull request Jun 11, 2026
jpr5 added a commit that referenced this pull request Jun 11, 2026
### Added

- OpenRouter async video job lifecycle mock — submit, poll, content download, model listing (#262)
- Record-mode live proxying for the OpenRouter video surface; captured videos replay later (#265)

### Changed

- Recording proxies now strip aimock-internal control headers on every provider path (#265)

### Fixed

- Recorder and fal record paths hardened — timeouts, threshold sanitizing, persist errors (#265)
- attw ^0.18 fixes the test:exports crash (#263); OpenAI /v1/videos docs corrected (#264)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant