Page MenuHomeSolus

Update duktape to 2.6.0
ClosedPublic

Authored by aleksvor on Wed, Oct 14, 6:50 AM.

Details

Summary

Summarized changelog:

  • Allow function declarations in strict mode.
  • Debugger opcode metadata fix.
  • Deactivate thread while suspended.
  • Restore creating_error after mark-and-sweep.
  • Update UglifyJS dependency.
  • Fix CBOR.encode() assertion failure.
  • Fix memcmp() pointer overflow in string builtin.
  • Fix hash part handling in enum sorting.
  • Fix unstable valstack pointer in putprop.
  • Fix JSON.stringify() inherited array index bug.
  • Fix RegExp exec() result inherited index handling.
  • Fix Proxy ownKeys() postprocess array index bug.
  • Fix dangling pointer in coroutine yield().
  • Add CBOR recursion limits and native stack check.
  • Add recursion check to JSON.parse() reviver walk.
  • Fix pointer handling in String replace().
  • Fix NaN normalization bug for packed tval.
Test Plan
  1. Rebuilt openrct2 against this version.
  2. Loaded a park and checked that my JS plugin works as expected.

Diff Detail

Repository
R5062 duktape
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

aleksvor created this revision.Wed, Oct 14, 6:50 AM
aleksvor requested review of this revision.Wed, Oct 14, 6:50 AM
JoshStrobl accepted this revision.Thu, Oct 15, 3:50 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Thu, Oct 15, 3:50 AM
This revision was automatically updated to reflect the committed changes.