### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior In the [**package.json**'s `bin` documentation](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#bin), it's documented that you can use an object with one or more bin file references OR use a single string. <img width="853" alt="image" src="https://github.com/npm/package-json/assets/1203991/05061495-d891-44a2-9e07-d51829a8c7d5"> Unfortunately, this is now marked as "error in your package.json when publishing".  ### Expected Behavior I expected this notation to not be marked as an error, as the documentation clearly documents this as a valid option. ### Steps To Reproduce - `$ npm init` - Add a bin file - Configure `"bin": "path/to/file.js"` - `$ npm publish`  ### Environment - npm: 10.2.4 - Node: 20.10.0 - OS: MacOS Sonoma 14.2.1 - platform: Macbook Pro (14", 2023)