the eslint-plugin-package-json dependency has this requirement but this is only a devDependency so a normal install without devDependencies should not trigger this error.
"node_modules/eslint-plugin-package-json": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-package-json/-/eslint-plugin-package-json-1.5.0.tgz",
"integrity": "sha512-KQkAdn+7I4vn1W4Va+V8M94RhcgZBvgrxMglDqgEhJgQDRUJ9RdtrEiHoe/84oVTIlp0jiPttLYwkExdvHYhZQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@altano/repository-tools": "^2.0.1",
"change-case": "^5.4.4",
"detect-indent": "^7.0.2",
"detect-newline": "^4.0.1",
"eslint-fix-utils": "~0.4.1",
"eslint-json-compat-utils": "^0.2.3",
"jsonc-eslint-parser": "^3.1.0",
"package-json-validator": "^1.5.0",
"semver": "^7.7.3",
"sort-object-keys": "^2.0.0",
"sort-package-json": "^4.0.0"
},
"engines": {
"node": "^22.22.2 || >=24.15.0"
},
"peerDependencies": {
"@eslint/json": ">=1.0.0",
"eslint": ">=9.0.0"
},
"peerDependenciesMeta": {
"@eslint/json": {
"optional": true
}
}
},