Skip to content

Conversation

@chrisolszewski
Copy link
Contributor

Ran into this crash locally while developing a plugin and modifying dependencies/dev-dependencies.

The cached package.json can be valid but missing the dependencies key (e.g. if it only has devDependencies). This ensures we default to {} to prevent the TypeError.

Ensure the dependencies property exists in the parsed package data before checking version compatibility. This prevents potential runtime errors when the dependencies field is missing from the manifest.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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.

1 participant