Dmitry Volyntsev
[nginx-announce] njs-0.6.1
June 29, 2021 12:10PM

This is a bugfix release that fixes RegExp matching for a regular expression
containing UTF-8 characters. The matching of ASCII or byte string by UTF-8
regexp was always negative.

What methods were affected:
- RegExp.prototype.exec() (since 0.4.2)
- RegExp.protytype.test() (since 0.5.3)

You can learn more about njs:

- Overview and introduction:
- NGINX JavaScript in Your Web Server Configuration:
- Extending NGINX with Custom Code:
- Using node modules with njs:
- Writing njs code using TypeScript definition files:

Feel free to try it and give us feedback on:

- Github:
- Mailing list:

Changes with njs 0.6.1 29 Jun 2021

*) Bugfix: fixed RegExpBuiltinExec() with UTF-8 only regexps.
The bug was introduced in 0.4.2.

*) Bugfix: fixed parsing of export default declaration with
non-assignment expressions.
Thanks to Artem S. Povalyukhin.

nginx-announce mailing list
Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 115
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready