Attempts to traverse from filepath to basepath attempting to load package.json.
Note: If malformed data is presented the result will undefined. Also note that a file may be specified that
does not exist and the directory will be resolved. If that directory exists then resolution will continue.
Attempts to traverse from
filepath
tobasepath
attempting to loadpackage.json
.Note: If malformed data is presented the result will undefined. Also note that a file may be specified that does not exist and the directory will be resolved. If that directory exists then resolution will continue.