-
Notifications
You must be signed in to change notification settings - Fork 602
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
Redesign the PackageJsonLookup API #564
Conversation
… definition is now removed
+ 'The required field "version" was not found'); | ||
} | ||
|
||
if (this._loadExtraFields) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_loadExtraFields [](start = 15, length = 16)
What about an optional parameter that lets you list out properties that you want? #WontFix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good idea, but I'd like to wait until someone really needs it before designing it.
In reply to: 175201618 [](ancestors = 175201618)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skipped Travis build because Travis is experiencing an outage |
This is a breaking change for PackageJsonLookup, which clarifies the API names, and expands the cache to store individual package.json fields beyond just the package name.
Rush's IPackageJson interface is promoted to be part of node-core-library.