HomeFreeBSD

*/*: update NGINX JavaScript: 0.8.5 -> 0.8.7 (+)

Description

*/*: update NGINX JavaScript: 0.8.5 -> 0.8.7 (+)

<ChangeLog>

Changes with njs 0.8.7 22 Oct 2024

nginx modules:

*) Bugfix: eliminated unnecessary VM creation.

Previously, njs consumed memory proportionally to the number of
nginx locations. The issue was introduced in 9b674412 (0.8.6).

*) Improvement: added strict syntax validation for js_body_filter.

*) Improvement: improved error messages for module loading

failures.

Core:

*) Feature: implemented fs.readlink() and friends.

*) Improvement: implemented lazy stack symbolization.

*) Bugfix: fixed heap-buffer-overflow in Buffer.prototype.indexOf().

The issue was introduced in 5d15a8d6 (0.8.6).

*) Bugfix: fixed Buffer.prototype.lastIndexOf() when from is

provided.

Changes with njs 0.8.6 02 Oct 2024

nginx modules:

*) Feature: introduced QuickJS engine.

*) Feature: added optional nocache flag for js_set directive.

Thanks to Thomas P.

*) Feature: exposed capture group variables in HTTP module.

Thanks to Thomas P.

Core:

*) Feature: added Buffer module for QuickJS engine.

*) Bugfix: fixed handling of empty labelled statement in a function.

*) Bugfix: fixed Function constructor handling when called without

arguments.

*) Bugfix: fixed Buffer.prototype.writeInt8() and friends.

*) Bugfix: fixed Buffer.prototype.writeFloat() and friends.

*) Bugfix: fixed Buffer.prototype.lastIndexOf().

*) Bugfix: fixed Buffer.prototype.write().

*) Bugfix: fixed maybe-uninitialized warnings in error creation.

*) Bugfix: fixed 'ctx.codepoint' initialization in UTF-8 decoding.

*) Bugfix: fixed 'length' initialization in Array.prototype.pop().

*) Bugfix: fixed handling of encode arg in fs.readdir() and

fs.realpath().

</ChangeLog>

Details

Provenance
osaAuthored on Oct 23 2024, 2:22 PM
Parents
R11:e326c2d5146e: www/py-frappe-bench: Frappe / ERPNext apps setup tool
Branches
Unknown
Tags
Unknown