Skip to content

Fix: change private field from string to boolean in react-devtools-fusebox#36290

Open
Jah-yee wants to merge 1 commit intofacebook:mainfrom
Jah-yee:fix/private-field-bug
Open

Fix: change private field from string to boolean in react-devtools-fusebox#36290
Jah-yee wants to merge 1 commit intofacebook:mainfrom
Jah-yee:fix/private-field-bug

Conversation

@Jah-yee
Copy link
Copy Markdown

@Jah-yee Jah-yee commented Apr 16, 2026

Good day

Summary

Changed the private field in packages/react-devtools-fusebox/package.json from string "true" to boolean true, fixing a malformed package.json that violates npm specification.

Changes

  • File: packages/react-devtools-fusebox/package.json
  • Changed: "private": "true""private": true

Why this fix is correct

Per the npm package.json specification, the private field must be a boolean. The string value caused validation failures in package scanning tools like ScanCode.io.

This follows the fix in aboutcode-org/scancode-toolkit#4635 which added downstream workarounds — the source data should comply with the specification.

Testing

  • Verified no other packages in the monorepo have the same issue
  • The JSON is valid and parses correctly

Fixes #35793.

Thank you for your attention. If there are any issues or suggestions, please leave a comment and I will address them promptly.

Warmly,
RoomWithOutRoof

…sebox

The private field in package.json should be a boolean per npm specification,
not a string. This fixes validation errors in package scanning tools.

Fixes facebook#35793
@meta-cla meta-cla bot added the CLA Signed label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Malformed private field in react-devtools-fusebox package.json

2 participants