Skip to content

Fix rejection of escaped reserved punctuators in v-flag \q - #1671

Merged
saghul merged 1 commit into
quickjs-ng:masterfrom
sr5434:punctuator-rejections
Aug 20, 2026
Merged

saghul merged 1 commit into
quickjs-ng:masterfrom
sr5434:punctuator-rejections

Conversation

@sr5434

@sr5434 sr5434 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Fixes #1598. Adds tests to verify correct behavior.

All tests pass when running make test.

@saghul

saghul commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The CI is not happy.

@sr5434
sr5434 force-pushed the punctuator-rejections branch from 9ee7087 to 26d93a5 Compare August 18, 2026 11:59
@sr5434

sr5434 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Ok I think I might have fixed the issue (test262 runs on my machine with 52/82220 errors, 4802 excluded, 5736 skipped). I also squashed the commits.

@saghul
saghul merged commit fdd2848 into quickjs-ng:master Aug 20, 2026
240 of 241 checks passed
@sr5434
sr5434 deleted the punctuator-rejections branch August 20, 2026 16:41
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
quickjs-ng 0.16.2

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* Fix JS_NewObjectFrom by @bnoordhuis in quickjs-ng/quickjs#1659
* Fix Proxy ownKeys trap accepting a primitive result by @saghul in quickjs-ng/quickjs#1637
* Fix arity of os.chdir and std.setenv by @bnoordhuis in quickjs-ng/quickjs#1662
* Fix object leak in JS_NewCConstructor by @bnoordhuis in quickjs-ng/quickjs#1670
* Fix SIGBUS on strict-alignment platforms: align cpool_offset to 8 bytes by @vom513 in quickjs-ng/quickjs#1666
* Fix TypedArray.prototype.with() value conversion order by @sr5434 in quickjs-ng/quickjs#1667
* Do not leak the old prototype in JS_AddIntrinsicDOMException() by @andreasrosdal in quickjs-ng/quickjs#1642
* Return the class name atom from JS_GetClassName() by @andreasrosdal in quickjs-ng/quickjs#1641
* Always call the sort comparator, even for identical values by @andreasrosdal in quickjs-ng/quickjs#1645
* Fix rejection of escaped reserved punctuators in v-flag \q by @sr5434 in quickjs-ng/quickjs#1671
* Add interrupt checks to Array prototype methods by @bnoordhuis in quickjs-ng/quickjs#1674
* Propagate exceptions from the get/set descriptor accessors by @saghul in quickjs-ng/quickjs#1638
* Check target extensibility via IsExtensible() in the proxy invariant checks by @saghul in quickjs-ng/quickjs#1636

## New Contributors
* @vom513 made their first contribution in quickjs-ng/quickjs#1666
* @sr5434 made their first contribution in quickjs-ng/quickjs#1667

**Full Changelog**: https://github.com/quickjs-ng/quickjs/compare/v0.16.1...v0.16.2</pre>
  <p>View the full release notes at <a href="https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.2">https://github.com/quickjs-ng/quickjs/releases/tag/v0.16.2</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!17324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v-flag \q{...} incorrectly rejects escaped dash \-

2 participants