Skip to content

Fix deprecation warning & remove Module._resolveLookupPaths usage#36

Merged
DamonOehlman merged 3 commits intobuildjs:masterfrom
BridgeAR:future-proof
Apr 8, 2019
Merged

Fix deprecation warning & remove Module._resolveLookupPaths usage#36
DamonOehlman merged 3 commits intobuildjs:masterfrom
BridgeAR:future-proof

Conversation

@BridgeAR
Copy link
Contributor

@BridgeAR BridgeAR commented Apr 7, 2019

Please have a look at the commit descriptions for details.

Refs: nodejs/node#26983

BridgeAR added 3 commits April 7, 2019 12:41
This removes the dependency from the Node.js internal
`_resolveLookupPaths()` function and instead directly accesses the
required as done in Node.js as well.
This makes sure `Buffer.from` is used instead of `new Buffer` if
available.
@DamonOehlman
Copy link
Member

@BridgeAR Thanks heaps for this - merging.

@DamonOehlman DamonOehlman merged commit 90abd59 into buildjs:master Apr 8, 2019
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.

2 participants