Skip to content

Conversation

@bartlomieju
Copy link
Contributor

@bartlomieju bartlomieju commented Nov 26, 2024

This commit adds support for Float16Array in node:v8 serde APIs.

While Float16Array is not available as a global yet (pending stabilization in V8),
I "reserved" the next available index for serde purposes so other runtimes, like Deno,
that already support Float16Array, can support it in node:v8 serde APIs
in a future compatible way.

Fixes: #55574

@bartlomieju
Copy link
Contributor Author

CC @bnoordhuis @targos

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Nov 26, 2024
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

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

The linter is failing (make lint-js).

@codecov
Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.00%. Comparing base (3511c5c) to head (bce30a4).
Report is 82 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #55996      +/-   ##
==========================================
+ Coverage   87.95%   88.00%   +0.04%     
==========================================
  Files         656      656              
  Lines      188304   188935     +631     
  Branches    35972    35972              
==========================================
+ Hits       165624   166271     +647     
+ Misses      15853    15833      -20     
- Partials     6827     6831       +4     
Files with missing lines Coverage Δ
lib/v8.js 98.66% <100.00%> (+0.01%) ⬆️

... and 62 files with indirect coverage changes

bartlomieju and others added 2 commits November 26, 2024 20:03
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 29, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 29, 2024
@nodejs-github-bot
Copy link
Collaborator

@bartlomieju bartlomieju requested a review from aduh95 December 3, 2024 03:25
@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. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Dec 3, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 3, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. dont-land-on-v18.x dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. labels Dec 7, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 7, 2024
@nodejs-github-bot nodejs-github-bot merged commit ac7fea6 into nodejs:main Dec 7, 2024
75 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in ac7fea6

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. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Float16Array not working in node:v8 serde

7 participants