Skip to content

Conversation

@alanshaw
Copy link
Member

@alanshaw alanshaw commented Sep 6, 2023

This PR reverts the workaround for the bug in nodejs 20.5 (and below) which was resolved in nodejs 20.6.

connection,
onUploadProgress: (status) => {
assert(typeof status.loaded === 'number' && status.loaded > 0)
progressStatusCalls++
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Nodejs 20.6 this is called more than once...

@vasco-santos vasco-santos merged commit a47ddd9 into main Sep 6, 2023
@vasco-santos vasco-santos deleted the fix/revert-nodejs-20.5-workaround branch September 6, 2023 16:35
@vasco-santos
Copy link
Member

Oh I pressed merge button 🤦🏼‍♂️ @alanshaw let me know if I should revert

@alanshaw
Copy link
Member Author

alanshaw commented Sep 6, 2023

No I want it merge

alanshaw pushed a commit that referenced this pull request Sep 6, 2023
🤖 I have created a release *beep* *boop*
---


##
[9.1.2](upload-client-v9.1.1...upload-client-v9.1.2)
(2023-09-06)


### Bug Fixes

* revert workaround for bug in nodejs 20.5
([#905](#905))
([a47ddd9](a47ddd9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
tx-ravenxbsw3 added a commit to tx-ravenxbsw3/w3up that referenced this pull request Sep 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[9.1.2](storacha/w3up@upload-client-v9.1.1...upload-client-v9.1.2)
(2023-09-06)


### Bug Fixes

* revert workaround for bug in nodejs 20.5
([#905](storacha/w3up#905))
([a47ddd9](storacha/w3up@a47ddd9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
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.

4 participants