Frozen object tries to create property on receiver#346
Frozen object tries to create property on receiver#346XmiliaH merged 1 commit intopatriksimek:masterfrom
Conversation
|
any updates on when this will be included in a release? |
|
It seems that this was once included in the version tagged "v3.9.2" (mind the "v" in the tag name) but is no longer in any of the tagged versions 3.9.3 - 3.9.11 (without the "v"). These don't even contain the file lib/contextify.js. |
|
This is still included. Lines 733 to 742 in 62062ad |
Thank you very much for your quick reply, @XmiliaH. I have now been able to run through and pinpoint what's happening. What I'm doing:
class CsvParserStream extends stream_1.Transform {
constructor(parserOptions) {
super({ objectMode: parserOptions.objectMode });
this.lines = '';
[..]
}
[..]
}
If you look at the last two bullet points, does this make sense to you or is there something wrong happening? If it helps, I'm happy to create a new issue and a minimal reproducible example, just let me know. If you already have a suspicion, even better :-). |
|
The call from I think you are running into the known limitation:
|
This should fix #330. We now try to create the property on the receiver if an frozen object is discovered in the property chain.