The issue requires changing a string to a boolean in a package.json file.
The issue reports a malformed `private` field in the `react-devtools-fusebox` package.json file, which should be a boolean instead of a string. The fix involves updating the field to comply with npm specifications. There are no apparent blockers.
Bug: Malformed private field in react-devtools-fusebox package.json
Current Behavior
The package.json file for react-devtools-fusebox uses a string for the private field instead of a boolean:
{
"private": "true", // Should be: "private": true
}
According to the [npm package.json specification](https://docs.npmjs.com/cli/v11/configuring-npm/package.json#private), the private field must be a boolean, not a string:
{
"private": true, // Correct
}
This causes failures in package scanning tools that validate package metadata:
pkg:github/facebook/[email protected]'"true" value must be either True or False.'Related upstream issues:
While downstream tools are adding workarounds, the source data should comply with the npm specification.
# Scan the package with ScanCode
scancode --package packages/react-devtools-fusebox/package.json --json-pp -
# Output shows:
Claim this issue to let others know you're working on it. You'll earn 5 points when you complete it!