-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request cherry-pick of V8 commit, re-enabling [[Scopes]] internal property #45845
Comments
As a workaround, pass |
@bnoordhuis Is there an equivalent environment variable we could use? Passing that argument on earlier Node versions results in:
|
Alas, no. |
Ah that's a shame, Pulumi supports all supported Node runtimes. I'm a bit leery of baking in knowledge into our CLI about this property and trying to do feature detection via |
Probably not before January. #45831 is scheduled for tomorrow and I expect that's the last v19.x release of 2022. |
That would hopefully have this land in 19.4? We will direct users to stick to active & LTS versions of Node until this lands. |
Yes, or (hypothetically) v19.3.1. You will want to open a pull request with the cherry-pick, however. :-) |
Happy to do that, what's the process for making that PR & cherry-pick? |
It's described here: https://github.com/nodejs/node/blob/main/doc/contributing/maintaining-V8.md |
@bnoordhuis Seems like that went smoothly, though some of that documentation seemed out of date - specifically about the branches and references to Node v4, v5. Please let me know on the PR if there's anything else for me to do! |
#45851 landed and will be part of the next 19.x release. |
Version
19.2
What steps will reproduce the bug?
Pulumi's Node.js SDK has a capability for capturing and serializing closures, which utilizes an internal property on functions called
[[Scopes]]
, which is accessible via runtime methods. This was removed from upstream V8, however we've requested that this be reverted and that process is underway.Our tracking issue:
Chromium issue and revert comment: https://bugs.chromium.org/p/chromium/issues/detail?id=1365858#c13
How often does it reproduce? Is there a required condition?
Always, this is an upstream feature change in V8.
What is the expected behavior?
No response
What do you see instead?
n/a
Additional information
No response
The text was updated successfully, but these errors were encountered: