Skip to content

Update deps to not normalize package.json in fix command #577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/rollup.base.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let _rootPkgJson
function getRootPkgJsonSync() {
if (_rootPkgJson === undefined) {
// Lazily access constants.rootPath.
_rootPkgJson = readPackageJsonSync(constants.rootPath)
_rootPkgJson = readPackageJsonSync(constants.rootPath, { normalize: true })
}
return _rootPkgJson
}
Expand Down
1 change: 1 addition & 0 deletions .config/rollup.dist.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ async function updatePackageJson() {
// Lazily access constants.rootPath.
const editablePkgJson = await readPackageJson(constants.rootPath, {
editable: true,
normalize: true,
})
const bin = resetBin(editablePkgJson.content.bin)
const dependencies = resetDependencies(editablePkgJson.content.dependencies)
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@
"@socketregistry/is-interactive": "1.0.5",
"@socketregistry/packageurl-js": "1.0.6",
"@socketsecurity/config": "3.0.1",
"@socketsecurity/registry": "1.0.188",
"@socketsecurity/registry": "1.0.189",
"@socketsecurity/sdk": "1.4.36",
"@types/blessed": "0.1.25",
"@types/cmd-shim": "5.0.2",
"@types/js-yaml": "4.0.9",
"@types/micromatch": "4.0.9",
"@types/mock-fs": "4.13.4",
"@types/node": "22.15.20",
"@types/node": "22.15.21",
"@types/npmcli__arborist": "6.3.0",
"@types/proc-log": "3.0.4",
"@types/semver": "7.7.0",
Expand Down
Loading