Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

fix(tests): pass tests in node 10 #473

Merged
merged 2 commits into from
Feb 1, 2019
Merged

fix(tests): pass tests in node 10 #473

merged 2 commits into from
Feb 1, 2019

Conversation

philbooth
Copy link
Contributor

This came up in a meeting last week so I took a moment to dig into it. The approach I took was to move scrypt-hash to an optional dependency then use crypto.scrypt as a fallback implementation. The magic number math was required to prevent memory limit exceeded errors occurring with our value for N.

Equivalent PR for the auth server is also incoming, using the same approach.

@mozilla/fxa-devs r?

@philbooth philbooth self-assigned this Feb 1, 2019
@philbooth philbooth requested a review from a team February 1, 2019 18:21
Copy link

@shane-tomlinson shane-tomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@philbooth philbooth merged commit 2e888ba into master Feb 1, 2019
@philbooth philbooth deleted the pb/node-10 branch February 1, 2019 19:17
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.

2 participants