Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Refactor to be promise-based #19

Merged
merged 5 commits into from
Jun 11, 2019
Merged

Refactor to be promise-based #19

merged 5 commits into from
Jun 11, 2019

Conversation

isaacs
Copy link
Contributor

@isaacs isaacs commented Jun 7, 2019

This commit changes no functionality, except that a Promise is returned
by the read-package-tree function. (A supplied callback is attached to
the returned promise if provided.)

Test coverage is brought up to 100%, and some code paths have been
slightly optimized, but the excessive level of realpath/lstat calls
remains for now.

This commit changes no functionality, except that a Promise is returned
by the read-package-tree function.  (A supplied callback is attached to
the returned promise if provided.)

Test coverage is brought up to 100%, and some code paths have been
slightly optimized, but the excessive level of realpath/lstat calls
remains for now.
@isaacs isaacs requested a review from zkat June 7, 2019 01:00
@coveralls
Copy link

coveralls commented Jun 7, 2019

Coverage Status

Coverage increased (+5.3%) to 100.0% when pulling 4eed760 on isaacs/promisify into ee595cb on master.

This drops node 6, which is still technically supported, but modern
tap is a compelling draw.
@isaacs isaacs merged commit 4eed760 into master Jun 11, 2019
@isaacs isaacs deleted the isaacs/promisify branch June 11, 2019 06:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants