Skip to content

Ignore malformed package dependency manifests - #62

Open
Golden007-prog wants to merge 1 commit into
mj-hahn:mainfrom
Golden007-prog:fix/40-package-json-shapes
Open

Golden007-prog wants to merge 1 commit into
mj-hahn:mainfrom
Golden007-prog:fix/40-package-json-shapes

Conversation

@Golden007-prog

Copy link
Copy Markdown

Closes #40.

Treat a non-object package.json as having no dependency declarations. If only one dependency group is malformed, the other still contributes its package names. This lets SQLite detection continue to other signals such as a Prisma schema.

The three regression tests failed on the original parser. The isolated Python 3.12.3 suite ran 1,054 tests with 18 skips for optional tooling and environment checks.

AI disclosure: OpenAI Codex assisted with the patch and validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A package.json that isn't an object crashes the build

1 participant