Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is available in all nodejs versions supported by node-config. Travis tests failing, probably the indication.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the issue comes from
Object.preventExtensions
. Another test is suddenly failing but I'm not sure why. Any idea ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are not failing on the main branch, it must be something here.
According to http://node.green/
Object.preventExtensions()
is partially supported on Node 4. I'm not clear if the functionality we need from it is there are not. We could check to see if thepreventExtensions
method exists on theObject
class, and if so, add in this extra safety check.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My last message was not very well phrased, what I meant is that my modifications broke another, unrelated test. This is true for all node versions on Travis.
The tests added in this branch pass for all versions of Node, even 4. Do you still want to add the check ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still interested if the other test failures can be resolved without regressions in another feature.