From a1a87b6cdf910ced54e93239d3aa84da5761bff4 Mon Sep 17 00:00:00 2001 From: Jordan Ritter Date: Wed, 10 Jun 2026 15:12:51 -0700 Subject: [PATCH] chore: bump @arethetypeswrong/cli to ^0.18 to fix tarball extraction 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. --- package.json | 2 +- pnpm-lock.yaml | 43 +++++++++++++++++++++++++------------------ 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 5e57abb8..e6726905 100644 --- a/package.json +++ b/package.json @@ -190,7 +190,7 @@ }, "devDependencies": { "@anthropic-ai/sdk": "^0.78.0", - "@arethetypeswrong/cli": "^0.17.3", + "@arethetypeswrong/cli": "^0.18.3", "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.0", "@eslint/js": "^9.30.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4a6544d..b64dfceb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,8 +16,8 @@ importers: specifier: ^0.78.0 version: 0.78.0 '@arethetypeswrong/cli': - specifier: ^0.17.3 - version: 0.17.4 + specifier: ^0.18.3 + version: 0.18.3 '@commitlint/cli': specifier: ^19.8.1 version: 19.8.1(@types/node@22.19.15)(typescript@5.9.3) @@ -59,7 +59,7 @@ importers: version: 0.3.18 tsdown: specifier: ^0.12.5 - version: 0.12.9(publint@0.3.18)(typescript@5.9.3) + version: 0.12.9(@arethetypeswrong/core@0.18.3)(publint@0.3.18)(typescript@5.9.3) tsx: specifier: ^4.19.0 version: 4.21.0 @@ -91,14 +91,14 @@ packages: zod: optional: true - '@arethetypeswrong/cli@0.17.4': - resolution: {integrity: sha512-AeiKxtf67XD/NdOqXgBOE5TZWH3EOCt+0GkbUpekOzngc+Q/cRZ5azjWyMxISxxfp0EItgm5NoSld9p7BAA5xQ==} - engines: {node: '>=18'} + '@arethetypeswrong/cli@0.18.3': + resolution: {integrity: sha512-GeAlc+lUD4gKHD/LDQNvQY30FfQ+xAXg2inbQKUjFZgTOdI5ygEweaOnGHGBPSKXSLGQC7VLhpXu9zMnYk/4sQ==} + engines: {node: '>=20'} hasBin: true - '@arethetypeswrong/core@0.17.4': - resolution: {integrity: sha512-Izvir8iIoU+X4SKtDAa5kpb+9cpifclzsbA8x/AZY0k0gIfXYQ1fa1B6Epfe6vNA2YfDX8VtrZFgvnXB6aPEoQ==} - engines: {node: '>=18'} + '@arethetypeswrong/core@0.18.3': + resolution: {integrity: sha512-sWBB/tdIktaT5xMq0Dz6CJyqcf6oMNdmiKiuPU1lWoJLTL6gjRSsksBuSgqot21hylkklBQY1wiSu+PkZhW7sw==} + engines: {node: '>=20'} '@babel/code-frame@7.29.0': resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==} @@ -1821,8 +1821,8 @@ packages: resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} engines: {node: ^12.20 || >= 14.13} - fflate@0.8.2: - resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + fflate@0.8.3: + resolution: {integrity: sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==} file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} @@ -2369,6 +2369,10 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + lru-cache@11.5.1: + resolution: {integrity: sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==} + engines: {node: 20 || >=22} + lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -3230,9 +3234,9 @@ snapshots: dependencies: json-schema-to-ts: 3.1.1 - '@arethetypeswrong/cli@0.17.4': + '@arethetypeswrong/cli@0.18.3': dependencies: - '@arethetypeswrong/core': 0.17.4 + '@arethetypeswrong/core': 0.18.3 chalk: 4.1.2 cli-table3: 0.6.5 commander: 10.0.1 @@ -3240,13 +3244,13 @@ snapshots: marked-terminal: 7.3.0(marked@9.1.6) semver: 7.7.4 - '@arethetypeswrong/core@0.17.4': + '@arethetypeswrong/core@0.18.3': dependencies: '@andrewbranch/untar.js': 1.0.3 '@loaderkit/resolve': 1.0.4 cjs-module-lexer: 1.4.3 - fflate: 0.8.2 - lru-cache: 10.4.3 + fflate: 0.8.3 + lru-cache: 11.5.1 semver: 7.7.4 typescript: 5.6.1-rc validate-npm-package-name: 5.0.1 @@ -4985,7 +4989,7 @@ snapshots: node-domexception: 1.0.0 web-streams-polyfill: 3.3.3 - fflate@0.8.2: {} + fflate@0.8.3: {} file-entry-cache@8.0.0: dependencies: @@ -5711,6 +5715,8 @@ snapshots: lru-cache@10.4.3: {} + lru-cache@11.5.1: {} + lru-cache@5.1.1: dependencies: yallist: 3.1.1 @@ -6265,7 +6271,7 @@ snapshots: dependencies: typescript: 5.9.3 - tsdown@0.12.9(publint@0.3.18)(typescript@5.9.3): + tsdown@0.12.9(@arethetypeswrong/core@0.18.3)(publint@0.3.18)(typescript@5.9.3): dependencies: ansis: 4.2.0 cac: 6.7.14 @@ -6281,6 +6287,7 @@ snapshots: tinyglobby: 0.2.15 unconfig: 7.5.0 optionalDependencies: + '@arethetypeswrong/core': 0.18.3 publint: 0.3.18 typescript: 5.9.3 transitivePeerDependencies: