Subject: CVS commit: pkgsrc
From: Sergey A. Osokin
Date: 2024-10-23 15:15:19
Message id: 20241023131519.D6161FC7E@cvs.NetBSD.org

Log Message:
*/*: update NGINX JavaScript 0.8.5 -> 0.8.7

Bump PKGREVISIONs for www/nginx, www/nginx-devel, www/unit.

<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>

Files:
RevisionActionfile
1.12modifypkgsrc/devel/libnjs/Makefile
1.9modifypkgsrc/devel/libnjs/distinfo
1.20modifypkgsrc/lang/njs/Makefile
1.14modifypkgsrc/lang/njs/distinfo
1.159modifypkgsrc/www/nginx/Makefile
1.122modifypkgsrc/www/nginx/distinfo
1.105modifypkgsrc/www/nginx/options.mk
1.132modifypkgsrc/www/nginx-devel/Makefile
1.112modifypkgsrc/www/nginx-devel/distinfo
1.32modifypkgsrc/www/nginx-devel/options.mk
1.20modifypkgsrc/www/unit/Makefile