Skip to content
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

Allow repository as object #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

TooAngel
Copy link

The package.json repository attribute can be provided as object of
the form {type: 'git': url: 'https://github.com/npm/cli.git'}
https://docs.npmjs.com/files/package.json

The package.json repository attribute can be provided as object of
the form `{type: 'git': url: 'https://github.com/npm/cli.git'}`
https://docs.npmjs.com/files/package.json
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 95.426% when pulling 60c4713 on TooAngel:master into fdd5f91 on iandotkelly:master.

@thom-nic
Copy link

I hit this bug as well, it is triggered by lex-parser: https://github.com/zaach/lex-parser/blob/master/package.json#L9-L12

Confirmed this is spec for package.json format: https://nodejs.dev/learn/the-package-json-guide#repository

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.

3 participants