Bump vm2 from 3.10.2 to 3.11.3#2168
Merged
Merged
Conversation
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.10.2 to 3.11.3. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/main/CHANGELOG.md) - [Commits](patriksimek/vm2@v3.10.2...v3.11.3) --- updated-dependencies: - dependency-name: vm2 dependency-version: 3.11.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Collaborator
|
/gcbrun |
rafal-hawrylak
approved these changes
May 15, 2026
Collaborator
|
/gcbrun |
apilaskowski
approved these changes
May 21, 2026
kolina
approved these changes
May 21, 2026
The upgrade of vm2 to 3.11.3 tightened sandbox security, stripping file path information from V8 CallSite objects during Error.prepareStackTrace and breaking the resolution of symlinked modules. This caused critical test failures ("Unable to find valid caller file") during Dataform compilation.
This commit resolves these issues by:
* Resolving `projectDir` to its absolute realpath before sandbox compilation to circumvent symlink boundaries (especially important for bazel runfiles).
* Injecting `global.__dataform_current_file` into the NodeVM compiler configuration with a try-finally block to track cross-boundary macro scopes.
* Adding a fallback in `core/utils.ts:getCallerFile` to read the injected global file path when the V8 stack trace path is stripped or undefined.
413334d to
4d8c814
Compare
Collaborator
|
/gcbrun |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps vm2 from 3.10.2 to 3.11.3.
Release notes
Sourced from vm2's releases.
... (truncated)
Changelog
Sourced from vm2's changelog.
... (truncated)
Commits
093494cfix(GHSA-248r-7h7q-cr24): close async generator yield*-return thenable except...7a552e8chore: bump to 3.11.2ca195f0fix(GHSA-9qj6-qjgg-37qq): bridge saved-state leak via Array.prototype[N] setter99d410bfix(GHSA-2cm2-m3w5-gp2f): bind internal state in GlobalLexicalEnvironmentc33c2bbfix(GHSA-9vg3-4rfj-wgcm): null-proto throw write-through via bridge from()46cbbddfix(GHSA-8hg8-63c5-gwmx): reject contradictory { nesting: true, require: fals...fc0da54fix: enhance CallSite path leak tests for Node 14+ and Node 16+ compatibilityfca270dfix: ensure compatibility with Node 8 by replacing recursive mkdir with expli...5cc3037fix: update test pipeline4e9fa06chore: update mochaDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.