Skip to content

Add package-lock.json schema#5739

Draft
Vessel9817 wants to merge 9 commits into
SchemaStore:masterfrom
Vessel9817:package-lock.json
Draft

Add package-lock.json schema#5739
Vessel9817 wants to merge 9 commits into
SchemaStore:masterfrom
Vessel9817:package-lock.json

Conversation

@Vessel9817
Copy link
Copy Markdown

Fixes #5738

Vessel9817 and others added 9 commits May 28, 2026 16:06
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Copy link
Copy Markdown
Author

@Vessel9817 Vessel9817 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since package.json puts a constraint on bundledDependencies and bundleDependencies such that one or neither of them must exist, not both, using a ref on that schema seems to be affected by ajv-validator/ajv#1571. If this isn't the case, then it'd appear that strict mode has different validation logic for refs in external files.

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.

Add package-lock.json schema

1 participant