Subject: CVS commit: pkgsrc
From: Sergey A. Osokin
Date: 2023-04-13 18:45:47
Message id: 20230413164547.7EFA0FA85@cvs.NetBSD.org

Log Message:
*/*: update NGINX JavaScript 0.7.9 -> 0.7.12

Bump PKGREVISION for www/nginx and www/nginx-devel.

<ChangeLog>

Changes with njs 0.7.12                                       10 Apr 2023

nginx modules:

*) Bugfix: fixed Headers() constructor in Fetch API.

Core:

*) Feature: added Hash.copy() method in "crypto" module.

*) Feature: added "zlib" module.

*) Improvement: added support for export {name as default}
   statement.

*) Bugfix: fixed Number constructor according to the spec.

Changes with njs 0.7.11                                        9 Mar 2023
nginx modules:

*) Bugfix: added missed linking with libxml2 for the dynamic module.
   The bug was introduced in 0.7.10.

Core:

*) Feature: added XMLNode API to modify XML documents.

*) Change: removed XML_PARSE_DTDVALID during parsing of XML document
   due to security implications. The issue was introduced
   in 0.7.10. When XML_PARSE_DTDVALID is enabled, libxml2 parses and
   executes external entities present inside an XML document.

*) Bugfix: fixed the detection of await in arguments.

*) Bugfix: fixed Error() instance dumping when "name" prop is not
   primitive.

*) Bugfix: fixed array instance with a getter property dumping.

*) Bugfix: fixed njs_object_property() with NJS_WHITEOUT properties.

*) Bugfix: fixed func instance dumping with "name" as getter.

*) Bugfix: fixed attaching of a stack to an error object.

*) Bugfix: fixed String.prototype.replace() with replacement containing
   "$'", "$`".

Changes with njs 0.7.10                                        7 Feb 2023
nginx modules:

*) Feature: added Request, Response and Headers ctors in Fetch API.

*) Bugfix: fixed nginx logger callback for calls in master process.

Core:

*) Feature: added signal support in CLI.

*) Feature: added "xml" module for working with XML documents.

*) Feature: extended support for symmetric and asymmetric keys
   in WebCrypto. Most notably JWK format for importKey() was added.

*) Feature: extended support for symmetric and asymmetric keys
   in WebCrypto. Most notably JWK format for importKey() was added.
   generateKey() and exportKey() were also implemented.

*) Feature: added String.prototype.replaceAll().

*) Bugfix: fixed for(expr1; conditional syntax error handling.

*) Bugfix: fixed Object.values() and Object.entries() with external
   objects.

*) Bugfix: fixed RegExp.prototype[@@replace]().

</ChangeLog>

Files:
RevisionActionfile
1.10modifypkgsrc/lang/njs/Makefile
1.8modifypkgsrc/lang/njs/distinfo
1.4modifypkgsrc/lang/njs/options.mk
1.132modifypkgsrc/www/nginx/Makefile
1.105modifypkgsrc/www/nginx/distinfo
1.90modifypkgsrc/www/nginx/options.mk
1.99modifypkgsrc/www/nginx-devel/Makefile
1.90modifypkgsrc/www/nginx-devel/distinfo
1.17modifypkgsrc/www/nginx-devel/options.mk