Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove FileReader #2728

Closed
wants to merge 375 commits into from
Closed

remove FileReader #2728

wants to merge 375 commits into from

Conversation

KhafraDev
Copy link
Member

No description provided.

@KhafraDev KhafraDev added the semver-major Features or fixes that will be included in the next semver major release label Feb 9, 2024
@KhafraDev
Copy link
Member Author

When we eventually drop support for node 18, we can finally get rid of our File implementation, which means we won't have to run any FileAPI WPTs anymore!

@mcollina
Copy link
Member

Unfortunately I don't think we can drop Node v18 anytime soon because it’ll be lts for another year.

@KhafraDev
Copy link
Member Author

Of course not 😅. I was just talking about way in the future. We still have our own File.

@ronag
Copy link
Member

ronag commented Feb 25, 2024

Rebase to next branch?

@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (next@8a940ec). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #2728   +/-   ##
=======================================
  Coverage        ?   88.44%           
=======================================
  Files           ?       81           
  Lines           ?     7384           
  Branches        ?        0           
=======================================
  Hits            ?     6531           
  Misses          ?      853           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@KhafraDev
Copy link
Member Author

can we land this? 👀

@KhafraDev
Copy link
Member Author

I made a PR to remove FileReader from fetch tests. This is safe to land in the meantime. web-platform-tests/wpt#44893

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

mertcanaltin and others added 19 commits March 14, 2024 11:54
* fetch: improve output for FormData

* fetch: improve output for Response

* fetch: improve output for Request

* fetch: improve output for Request

* feat: repair code

* feat: repair code

* feat: repair code

* fix: repair codes & tests

* fix: repair tests & response & request class

* Update response.js

Co-authored-by: Khafra <maitken033380023@gmail.com>

* fix: test repair

---------

Co-authored-by: Mert Can Altin <mert.altin@trendyol.com>
Co-authored-by: Khafra <maitken033380023@gmail.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
* test: improve performance of issue-803 test

* increase timeout
* for some reason this fixes the test

* cleanup custom format

* fixup
* chore(.github/workflows): factor out test running

* chore: add nightly tests

Closes nodejs#2932
…2974)

Bumps node from `4999fa1` to `577f8eb`.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add types for composed dispatchers

* Update types/dispatcher.d.ts

* refactor: adjust

---------

Co-authored-by: Matteo Collina <hello@matteocollina.com>
* fix: count for error response and network errors

* test: add specific test for fix

* fix: conflict

* refactor: address feedback
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
)

* fix(fetch): properly redirect non-ascii location header url

* chore: fix typo

* test: use simpler code

* chore: clarify what the code does

* chore: add comment

* chore: normalize location url only if it contains invalid character

* chore: apply suggestion

See: nodejs#2971 (comment)

* chore: remove redundant condition check
* Remove double-stringify in setCookie

* Remove unnecessary semicolon
* make eventsource properties enumberable

* Use kEnumerableProperty for eventsource immutable fields

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>
DarkGL and others added 25 commits June 6, 2024 12:11
* Refactored passing object to function params

* Refactor write function argument order

* Updated argument order in writeBuffer function
Bumps [borp](https://github.com/mcollina/borp) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/mcollina/borp/releases)
- [Commits](https://github.com/mcollina/borp/commits/v0.15.0)

---
updated-dependencies:
- dependency-name: borp
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [c8](https://github.com/bcoe/c8) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/bcoe/c8/releases)
- [Changelog](https://github.com/bcoe/c8/blob/main/CHANGELOG.md)
- [Commits](bcoe/c8@v9.1.0...v10.0.0)

---
updated-dependencies:
- dependency-name: c8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add missing error classes to types

* test new types

* test error includes data with count when etag mismatch

* test content-range mismatch error

* remove test debugging
* export interceptor to type def file

Fixes: nodejs#3308

* fixup! add a test

* fixup! add retry, redirect, dump and remove createRedirectInterceptor

---------

Co-authored-by: jake li <jake.li@sine.co>
…3326)

Bumps node from `e6d4495` to `075a5cc`.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ezekiel Keator <ekeator@paypal.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Co-authored-by: github-actions <github-actions@github.com>
* fix: types interceptors default export

* test for bugs in typescript
Co-authored-by: github-actions <github-actions@github.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
…3355)

Bumps node from `075a5cc` to `9af472b`.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* websocket: don't use pooled buffer in mask pool

* add test

* fixup

* fixup
@KhafraDev KhafraDev mentioned this pull request Jun 24, 2024
13 tasks
@KhafraDev KhafraDev force-pushed the remove-filereader branch 2 times, most recently from 3723521 to dd98299 Compare June 24, 2024 19:15
@KhafraDev KhafraDev closed this Jun 24, 2024
@KhafraDev KhafraDev deleted the remove-filereader branch September 3, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-major Features or fixes that will be included in the next semver major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.