plasmo
plasmo copied to clipboard
[BUG] 4-digit version number not supported (compile error)
What happened?
https://developer.chrome.com/docs/extensions/reference/manifest/version
Manifest - Version
One to four dot-separated integers identifying the version of this extension. A couple of rules apply to the integers:
The integers must be between 0 and 65535, inclusive. Non-zero integers can't start with 0. For example, 032 is invalid because it begins with a zero. They must not be all zero. For example, 0 and 0.0.0.0 are invalid while 0.1.0.0 is valid. Here are some examples of valid versions:
- "version": "1"
- "version": "1.0"
- "version": "2.10.2"
- "version": "3.1.2.4567"
I read the Google docs that the plugin supports 4-digit version numbers, but if I change the version number in package.json, the compile reports an error, 3-digit does not!
package.json
"version": "1.0.1.1", // compile error
"version": "1.0.1", // compile success
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution
- [ ] I would like to fix this BUG via a PR
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I checked the current issues for duplicate problems.