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
chore: migrate Node.js
implementation for js-sandbox
to isolated-vm
#3973
Merged
AndrewBastin
merged 19 commits into
release/2024.3.1
from
sandbox-vulnerability-remediation
Apr 19, 2024
Merged
chore: migrate Node.js
implementation for js-sandbox
to isolated-vm
#3973
AndrewBastin
merged 19 commits into
release/2024.3.1
from
sandbox-vulnerability-remediation
Apr 19, 2024
Commits on Apr 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5cc8716 - Browse repository at this point
Copy the full SHA 5cc8716View commit details -
fix: pre-request script execution
- Wrap `pw` methods in `ivm.Reference` for transferring to the isolate context. - Ensure pre-request script methods are executed via `applySync` calls in the isolate context.
Configuration menu - View commit details
-
Copy full SHA for 23e959a - Browse repository at this point
Copy the full SHA 23e959aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bac9743 - Browse repository at this point
Copy the full SHA bac9743View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2bd74a - Browse repository at this point
Copy the full SHA c2bd74aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d75a76d - Browse repository at this point
Copy the full SHA d75a76dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 318402d - Browse repository at this point
Copy the full SHA 318402dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 023072e - Browse repository at this point
Copy the full SHA 023072eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e2d2d0 - Browse repository at this point
Copy the full SHA 0e2d2d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27d58c0 - Browse repository at this point
Copy the full SHA 27d58c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eca5ba - Browse repository at this point
Copy the full SHA 7eca5baView commit details -
test: specify node as the command while invoking the CLI binary
Since Windows doesn't respect the shebang line, we'd need to specify node as the command with the CLI binary while running tests
Configuration menu - View commit details
-
Copy full SHA for 0659182 - Browse repository at this point
Copy the full SHA 0659182View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3268220 - Browse repository at this point
Copy the full SHA 3268220View commit details -
test: update directory hierarchy
- Remove the `testing` directory and move the tests within it to root. - Rename the `envs` directory to `env` to follow a consistent convention indicating the nested scripting API objects.
Configuration menu - View commit details
-
Copy full SHA for 5ba17f0 - Browse repository at this point
Copy the full SHA 5ba17f0View commit details -
- Organize imports. - Update CI config. - Bump dependent actions. - Fix a typo while referring to the Node.js version and run tests on LTS. - Move `Setup node` step above `Setup pnpm`. - Bump CLI version.
Configuration menu - View commit details
-
Copy full SHA for 01515fd - Browse repository at this point
Copy the full SHA 01515fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bd099c - Browse repository at this point
Copy the full SHA 3bd099cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f3ca3f - Browse repository at this point
Copy the full SHA 2f3ca3fView commit details -
chore: compile shared utils for sandbox
Rename `~/src/utils.ts` to `~/src/shared-utils` to differentiate from platform-specific utility functions (`~/src/node/utils.ts`).
Configuration menu - View commit details
-
Copy full SHA for 62d4545 - Browse repository at this point
Copy the full SHA 62d4545View commit details -
Add safeguards to prevent test failure if the endpoint results in a non `200` status code.
Configuration menu - View commit details
-
Copy full SHA for da356c7 - Browse repository at this point
Copy the full SHA da356c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8321fc8 - Browse repository at this point
Copy the full SHA 8321fc8View commit details
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.