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

buffer: fix validation of options in Blob constructor #45156

Merged
merged 5 commits into from
Oct 31, 2022

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Oct 25, 2022

To align more Node.js Blob implementations with other runtimes (I've tested the behavior on Firefox, Safari, Chromium, and Deno).

Refs: https://webidl.spec.whatwg.org/#es-dictionary

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 25, 2022
@KhafraDev
Copy link
Member

it might be worth linking to the webidl spec https://webidl.spec.whatwg.org/#es-dictionary (it also helps to understand which values are allowed)

@aduh95 aduh95 requested a review from jasnell October 26, 2022 10:48
lib/internal/validators.js Outdated Show resolved Hide resolved
lib/internal/validators.js Show resolved Hide resolved
lib/internal/validators.js Outdated Show resolved Hide resolved
@aduh95 aduh95 added the review wanted PRs that need reviews. label Oct 29, 2022
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Oct 31, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 31, 2022
@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 31, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 31, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 merged commit d6ee274 into nodejs:main Oct 31, 2022
@aduh95 aduh95 deleted the blob-constructor-options-validation branch October 31, 2022 23:47
@aduh95
Copy link
Contributor Author

aduh95 commented Oct 31, 2022

Landed in d6ee274

RafaelGSS pushed a commit that referenced this pull request Nov 1, 2022
@RafaelGSS RafaelGSS mentioned this pull request Nov 1, 2022
lucshi pushed a commit to lucshi/node that referenced this pull request Nov 9, 2022
RafaelGSS pushed a commit that referenced this pull request Nov 10, 2022
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. review wanted PRs that need reviews.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants