Skip to content

chore: sync quickjs-ng release v0.15.0#742

Merged
buke merged 1 commit into
mainfrom
automation/quickjs-ng-v0.15.0
May 22, 2026
Merged

chore: sync quickjs-ng release v0.15.0#742
buke merged 1 commit into
mainfrom
automation/quickjs-ng-v0.15.0

Conversation

@buke
Copy link
Copy Markdown
Owner

@buke buke commented May 22, 2026

Sync vendored quickjs-ng sources to v0.15.0.

Release: https://github.com/quickjs-ng/quickjs/releases/tag/v0.15.0

This PR was generated automatically by the scheduled quickjs-ng release sync workflow.

@buke buke added automation dependencies Pull requests that update a dependency file labels May 22, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates QuickJS-NG to version 0.15.0, implementing TC39 Explicit Resource Management and adding atob/btoa intrinsics. It resolves several bugs, including a heap-use-after-free vulnerability in array length handling and an out-of-bounds write during array expansion. The update also introduces a security policy and expands the test suite. Reviewer feedback identifies typos in the new security documentation and inconsistent indentation in a test file.

Comment thread deps/quickjs/SECURITY.md
- **The threat model matches QuickJS.** The bug must be reachable from
untrusted JavaScript source running in an otherwise trusted embedder. Bugs
that require loading untrusted bytecode, passing crafted values through the
C API, or otherwise compromiing the embedder are out of scope (see above).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Typo: "compromiing" should be "compromising".

Comment thread deps/quickjs/SECURITY.md
with marginal or speculative findings makes the catalog less useful for the
people who actually rely on it.

We **mnight** request a CVE when an issue:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Typo: "mnight" should be "might". Also, there is an extra space after the word.

Comment thread deps/quickjs/SECURITY.md

- Crashes or assertion failures that require malicious bytecode, crafted C
API input, or other embedder compromise (out of scope, see above).
- Bugs found purely by running a publicly available AI tool against the code,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There is a double space between "available" and "AI".

Comment on lines +21 to +24
print("PASS: got graceful error:", e.message);
} else {
throw e; // unexpected — re-throw
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation in this block is inconsistent (mixing 2, 6, and 8 spaces). It should consistently use 4-space increments to match the surrounding code.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e7df321) to head (18f26de).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #742   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         3705      3705           
=========================================
  Hits          3705      3705           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7df321...18f26de. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@buke buke merged commit f04fc26 into main May 22, 2026
8 checks passed
@buke buke deleted the automation/quickjs-ng-v0.15.0 branch May 22, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant