-
Notifications
You must be signed in to change notification settings - Fork 9
chore: update quickjs-emscripten package version and dependencies #53
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
Merged
Conversation
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
…pdated: Updated Dependencies: - TypeScript: 4.8.2 → 5.7.2 (major version jump, but backward compatible) - Vite: 4.1.2 → 6.0.3 (major updates with improved performance) - Vitest: 0.28.5 → 2.1.8 (major update) - @vitest/coverage-v8: Replaced coverage-c8 with coverage-v8 (new package name) - vite-plugin-dts: 2.0.0-beta.1 → 4.3.0 (stable release) - ESLint: 8.22.0 → 8.57.1 (latest v8, not v9 to avoid breaking changes) - Prettier: 2.7.1 → 2.8.8 (latest v2, not v3 to stay compatible with eslint-config-reearth)
- Upgrade quickjs-emscripten 0.21→0.25 and dev dependencies - Add Arena.evalModule() for ES module code execution with side effects - Add 5 test cases for module functionality (123 tests total)
- Update actions/checkout v3 -> v4 - Update actions/setup-node v3 -> v4 - Update codecov/codecov-action v2 -> v4 - Update actions/upload-artifact v3 -> v4 - Update amannn/action-semantic-pull-request v4 -> v5 Fixes CI failures due to deprecated action versions
Add setMemoryLimit(), setMaxStackSize(), getMemoryUsage(), and dumpMemoryUsage() methods for controlling and monitoring QuickJS runtime resource usage. - Prevents runaway memory allocation in sandboxed code - Protects against stack overflow from deep recursion - Provides detailed memory statistics for debugging - 8 new tests covering memory limits and monitoring
pyshx
previously approved these changes
Nov 24, 2025
934fd29 to
764f5fd
Compare
pyshx
approved these changes
Nov 25, 2025
rot1024
approved these changes
Nov 26, 2025
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.
Summary
Upgrade quickjs-emscripten to 0.25.0 and add ES module support + memory management features.
Key Changes
Dependencies
New Features
evalModule()- Execute ES module code with import/export syntaxsetMemoryLimit()/setMaxStackSize()- Resource limits for sandbox securitygetMemoryUsage()/dumpMemoryUsage()- Memory monitoring and debuggingCI/CD
Testing
✅ 131 tests passing (13 new)
✅ Build & lint successful
✅ No breaking changes
Security
New memory management features enable: