| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
|
@anonrig what is the difference between GetNearestParentPackageJSON and GetPackageScopeConfig? |
Sorry, something went wrong.
| /** | ||
| * Find the nearest package.json | ||
| * @param {URL['pathname']} origin Where to start searching. | ||
| * @returns {URL['pathname']} The fully resolved location of the package.json file. |
There was a problem hiding this comment.
Question: Do we need to also make sure this returns a UNC path on Windows? UNC path (the result of toNamespacedPath() is required if the path is extremely long. windows weirdly throws an error if long path feature is not enabled)
Sorry, something went wrong.
There was a problem hiding this comment.
| * @returns {URL['pathname']} The fully resolved location of the package.json file. | |
| * @returns {URL['pathname'] | undefined} The fully resolved location of the package.json file. |
Sorry, something went wrong.
There was a problem hiding this comment.
Regarding your question: i have no idea. It sounds like you answered it yourself though (and the answer is "yes").
Sorry, something went wrong.
| void BindingData::GetNearestParentPackageJSON( | ||
| const v8::FunctionCallbackInfo<v8::Value>& args) { | ||
| void BindingData::FindNearestParentPackageJSON( | ||
| const v8::FunctionCallbackInfo<v8::Value>& args |
There was a problem hiding this comment.
This change seems to be unrelated
Sorry, something went wrong.
There was a problem hiding this comment.
Technically yes, this un-mangling is not required to make the change work.
Sorry, something went wrong.
GetNearestParentPackageJSON:
GetNearestParentPackageJSON
|
Sorry, something went wrong.
|
This was superfluous 😞 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This draft is not ready for review. Opening it in its current state for visibility.
Split from #54992