# changelog

author: Andrei Belov <defan@nginx.com> - 1.11.10-4.amzn2.ngx
changelog:
  - Security: a specially crafted request might result in an integer overflow
    and incorrect processing of ranges in the range filter, potentially
    resulting in sensitive information leak (CVE-2017-7529).


author: Andrei Belov <defan@nginx.com> - 1.13.4-1.amzn2.ngx
changelog:
  - Based on nginx/1.13.4 mainline version.
  - Feature: new REST API for accessing various status information,
    configuring upstream server groups on-the-fly, and managing key-value
    pairs.
    Swagger specification and UI is bundled in the nginx-plus packages for
    easy try-out.
  - Feature: ngx_http_keyval_module, used to create variables based on
    key-value pairs dynamically managed via the REST API.
  - Feature: ngx_http_mirror_module, implements mirroring of original requests
    by creating background mirror subrequests and ignoring their responses.
  - Feature: the "add_trailer" directive (support for HTTP trailers).
    Thanks to Piotr Sikora.
  - Feature: the "worker_shutdown_timeout" directive.
  - Change: sticky cookie now includes the "max-age" attribute when the
    "expires" option is set.
  - Feature: the "header" parameter of the "sticky learn" directive.
  - Feature: the "http_429" parameter of the "proxy_next_upstream",
    "fastcgi_next_upstream", "scgi_next_upstream", and "uwsgi_next_upstream"
    directives.
    Thanks to Piotr Sikora.
  - Feature: the "rcvbuf" and "sndbuf" parameters of the "listen" directives
    of the mail proxy and stream modules.
  - Change: SSL renegotiation is now allowed on backend connections.
  - Feature: initial support for TLS 1.3.


author: Andrei Belov <defan@nginx.com> - 1.13.7-1.amzn2.ngx
changelog:
  - Based on nginx/1.13.7 mainline version.
  - Feature: refactored status dashboard (v2) that uses the REST API instead
    of older status and upstream_conf interfaces was added to packages as
    dashboard.html.
    Legacy dashboard (v1) is still available as status.html.
    Please note that older status and upstream_conf interfaces, as well as
    legacy dashboard, are going to be removed in NGINX Plus R16.
  - Feature: dynamic key-value pairs support added to the stream module.
    API version has changed to 2.
  - Feature: the "auth_jwt_header_set" and "auth_jwt_claim_set" directives can
    now handle multiple values, providing complex JWT claims support.
  - Feature: a number of additional cryptographic algorithms introduced in JWT
    authorization module.
  - Feature: upstream servers configured with the "resolve" parameter are now
    being pre-resolved on configuration reload.
  - Feature: the "drain" parameter of the upstream "server" directive can now
    be specified in configuration.
  - Feature: the $ssl_client_escaped_cert variable.
  - Bugfix: Swagger UI did not work with custom (non-standard) ports in URLs.


author: Andrei Belov <defan@nginx.com> - 15-1.amzn2.ngx
changelog:
  - Based on nginx/1.13.10 mainline version.
  - Feature: the ngx_http_grpc_module, providing gRPC proxy support.
  - Feature: HTTP/2 server push support; the "http2_push" and
    "http2_push_preload" directives.
  - Feature: the ngx_stream_zone_sync_module, providing shared zones
    synchronization between NGINX Plus nodes, currently supported for sticky
    sessions.
  - Feature: the "escape=none" parameter of the "log_format" directive, used
    to completely disable any escaping in access log.
  - Feature: the ngx_stream_ssl_preread_module can now extract list of
    protocols advertised by the client through ALPN (the
    $ssl_preread_alpn_protocols variable).
  - Change: it is no longer required to run nginx under superuser when using
    the "proxy_bind" directive with the "transparent" parameter on Linux, as
    worker processes now inherit the CAP_NET_RAW capability from the master
    process.
  - Feature: the "auth_jwt_leeway" directive, used to configure a leeway to
    account for clock skew when verifying "exp" and "nbf" claims, as per RFC
    7519.
  - Feature: the $upstream_queue_time variable.
  - Feature: status dashboard (v2) updated.


author: Andrei Belov <defan@nginx.com> - 15-2.amzn2.ngx
changelog:
  - Bugfix: dynamic modules compatibility between nginx-plus-15_1 and
    nginx/FOSS 1.13.10 was broken.
  - Bugfix: in status dashboard (v2).


author: Andrei Belov <defan@nginx.com> - 16-1.amzn2.ngx
changelog:
  - Based on nginx/1.15.2 mainline version.
  - Change: IMPORTANT: the status and upstream_conf modules deprecated since
    NGINX Plus R13 were finally removed in favor to the API module.
    Legacy status dashboard was also removed from packages.
  - Feature: shared zones synchronization extended to support keyval and
    limit_req modules.
  - Feature: key-value pairs can now be expired after configured timeout.
  - Feature: random with two choices load balancing algorithm.
  - Feature: UDP load balancing extended to support multiple incoming
    datagrams from a client within a single session, thus allowing to
    proxy/load balance of more complex applications.
  - Feature: the "proxy_protocol" parameter of the "listen" directive now
    supports the PROXY protocol version 2.
  - Feature: the $ssl_preread_protocol variable in the
    ngx_stream_ssl_preread_module.


author: Andrei Belov <defan@nginx.com> - 16-2.amzn2.ngx
changelog:
  - Bugfix: in the ngx_http_v2_module.
  - Bugfix: in the ngx_http_grpc_module.
  - Bugfix: in the ngx_http_mp4_module.
  - Bugfix: in the ngx_http_hls_module.


author: Andrei Belov <defan@nginx.com> - 17-1.amzn2.ngx
changelog:
  - Feature: the "ssl_early_data" directive used to enable TLS v1.3 0-RTT
    data.
    The "$ssl_early_data" variable introduced to protect against replay
    attacks at the application layer.
  - Feature: the "delay" parameter of the "limit_req" directive.
  - Feature: the "auth_jwt_key_request" directive used to retrieve JWK file
    from a subrequest.
  - Feature: the "Ed25519" and "Ed448" cryptographic algorithms introduced in
    JWT authorization module.
  - Feature: the "proxy_socket_keepalive", "fastcgi_socket_keepalive",
    "grpc_socket_keepalive", "memcached_socket_keepalive",
    "scgi_socket_keepalive", and "uwsgi_socket_keepalive" directives.
  - Feature: the "keepalive_timeout" and "keepalive_requests" directives in
    the "upstream" block.
  - Feature: the "proxy_requests" directive in stream module.
  - Bugfix: in the $upstream_connect_time, $upstream_header_time,
    $upstream_queue_time, $upstream_response_time variables.
  - Change: the logging level of the "no suitable key share" and "no suitable
    signature algorithm" SSL errors has been lowered from "crit" to "info".


author: Andrei Belov <defan@nginx.com> - 18-1.amzn2.ngx
changelog:
  - Feature: variables support in the "ssl_certificate" and
    "ssl_certificate_key" directives.
  - Feature: loading of SSL certificates and secret keys from variables.
  - Feature: active health checks extended with additional logic of verifying
    arbitrary variables (the "require" parameter of the "match" directive).
  - Feature: clustering enhancement - a single zone_sync configuration can now
    be used for all instances in a cluster with the help of wildcard support
    in the "listen" directive.
  - Change: when using a hostname in the "listen" directive nginx now creates
    listening sockets for all addresses the hostname resolves to (previously,
    only the first address was used).
  - Feature: port ranges in the "listen" directive.
  - Feature: in stream proxy, added an ability to explicitly close existing
    connections to the particular upstream server after it was removed from
    the group due to health check failure, API call, or re-resolve action (the
    "proxy_session_drop" directive).
  - Feature: the $upstream_bytes_sent variable.


author: Andrei Belov <defan@nginx.com> - 16+3.0-1.amzn2.ngx
changelog:
  - Base version updated to 1.15.2-1 (nginx-plus-r16).
  - Change: module version updated to 3.0.
  - Feature: support relative path to database in geoip2.
  - Feature: retrieve metadata about the database.
  - Feature: auto reload the database if it has changed.


author: Andrei Belov <defan@nginx.com> - 16+3.0-2.amzn2.ngx
changelog:
  - Bugfix: unwanted auto-reload of MaxMind database might occur even if there
    was no "auto_reload" parameter specified in configuration.
  - Bugfix: a segmentation fault might occur in a worker process on
    auto-reloading MaxMind database.


author: Andrei Belov <defan@nginx.com> - 15+0.2.1-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.2.1.
  - Feature: HTTP request body getter.
  - Improvement: moved njs vm to the main configuration.
  - Improvement: improved logging for js_set and js_content directives.
  - Improvement: setting status code to 500 by default in js_content handler.
  - Improvement: added the debug for the returned status code in js_content.
  - Bugfix: fixed error logging in js_include.
  - Feature: added array length setter.
  - Improvement: public header cleanup. njscript.h is renamed to njs.h.
  - Bugfix: fixed crypto update() method after digest() is called.
  - Bugfix: fixed crypto.createHmac() for keys with size >= alg size and < 64.
  - Bugfix: fixed JSON.stringify() for arrays with empty cells.
  - Bugfix: fixed exception type for unsupported types in JSON.stringify().
  - Bugfix: fixed handling of undefined arguments of functions.
  - Bugfix: fixed handling of missing arg of
    Object.getOwnPropertyDescriptor().
  - Bugfix: fixed handling of properties in Object.getOwnPropertyDescriptor().
  - Bugfix: fixed the writeable flag of Array.length property.
  - Bugfix: fixed return value type of clearTimeout().
  - Bugfix: fixed njs_vm_external_bind().
  - Bugfix: miscellaneous additional bugs have been fixed.


author: Andrei Belov <defan@nginx.com> - 16+0.2.3-1.amzn2.ngx
changelog:
  - Base version updated to 1.15.2-1 (nginx-plus-r16).
  - Change: njs module updated to 0.2.3.
  - Bugfix: making a subrequest from a Reply object caused a segmentation
    fault.
  - Bugfix: getting the parent property of the main Request object caused a
    segmentation fault.
  - Feature: added the pretty string representation for values.
  - Feature: correctly printing floating point numbers.
  - Feature: correctly parsing floating point numbers.
  - Feature: String.bytesFrom() method (decoding hex, base64, base64url into a
    byte string).
  - Feature: String.padStart() and String.padEnd() methods.
  - Feature: added support of binary literals.
  - Improvement: added information about illegal token in number parsing.
  - Improvement: allowed uppercased O in octal literal values.
  - Improvement: added support for multiple arguments in console.log().
  - Bugfix: fixed applying call() to methods of external values.
  - Bugfix: fixed addition operator applied to an object.
  - Bugfix: fixed exception handling in njs_vm_value_to_ext_string().
  - Bugfix: fixed Number() with boolean, null and undefined arguments.
  - Bugfix: fixed error handling of setting non-numeric Array.length.
  - Bugfix: fixed autocompletion for global objects.
  - Bugfix: miscellaneous additional bugs have been fixed.
  - Change: merged HTTP Response and Reply into Request.
    New members of Request:
    - req.status (res.status)
    - req.parent (reply.parent)
    - req.requestBody (req.body)
    - req.responseBody (reply.body)
    - req.headersIn (req.headers)
    - req.headersOut (res.headers)
    - req.sendHeader() (res.sendHeader())
    - req.send() (res.send())
    - req.finish() (res.finish())
    - req.return() (res.return())
    Deprecated members of Request:
    - req.body (use req.requestBody or req.responseBody)
    - req.headers (use req.headersIn or req.headersOut)
    - req.response
    The deprecated properties will be removed in the following releases.
  - Feature: HTTP internalRedirect() method.
  - Bugfix: fixed heap-buffer-overflow in crypto.createHmac().


author: Andrei Belov <defan@nginx.com> - 16+0.2.4-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.2.4.
  - Change: stream module handlers are refactored.
    New methods and properties:
    s.on(), s.off(), s.allow(), s.done(), s.decline(), s.deny().
    Removed properties of Stream object:
    s.OK, s.ABORT, s.AGAIN, s.DECLINED, s.ERROR (replaced with s.allow(),
    s.done([code]), s.deny()).
    s.buffer (for reading replaced with data argument of the corresponding
    callback, for writing use s.send()).
    s.fromUpstream (replaced with a callback for a corresponding event).
    s.eof (replaced with flags.last).
  - Feature: added Function.prototype.length.
  - Feature: introduced sandboxing mode.
  - Improvement: added exception strings where appropriate.
  - Improvement: improved wording for primitive type conversion exception.
  - Bugfix: throwing TypeError for attempts to change frozen properties.
  - Bugfix: fixed Object.defineProperty() for existing properties.
  - Bugfix: respecting the enumerable attribute while iterating by for in.
  - Bugfix: respecting writable attribute for property handlers.
  - Bugfix: fixed exception handling in arguments of a function.
  - Bugfix: fixed Object.prototype.toString for different value types.
  - Bugfix: fixed Object() constructor for object types arguments.
  - Bugfix: fixed comparison of objects and strings.
  - Bugfix: fixed String.slice() for undefined arguments.
  - Bugfix: miscellaneous additional bugs have been fixed.


author: Andrei Belov <defan@nginx.com> - 16+0.2.5-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.2.5.
  - Bugfix: fixed counting pending events in stream module.
  - Bugfix: fixed s.off() in stream module.
  - Bugfix: fixed processing of data chunks in js_filter in stream module.
  - Bugfix: fixed http status and contentType getter in http module.
  - Bugfix: fixed http response and parent getters in http module.
  - Feature: arguments object support.
  - Feature: non-integer fractions support.
  - Improvement: handling non-array values in Array.prototype.slice().
  - Bugfix: fixed Array.prototype.length setter.
  - Bugfix: fixed njs_array_alloc() for length > 2**31.
  - Bugfix: handling int overflow in njs_array_alloc() on 32-bit archs.
  - Bugfix: fixed code size mismatch error message.
  - Bugfix: fixed delete operator in a loop.
  - Bugfix: fixed Object.getOwnPropertyDescriptor() for complex object
    (inherited from Array and string values).
  - Bugfix: fixed Object.prototype.hasOwnProperty() for non-object properties.
  - Bugfix: miscellaneous additional bugs have been fixed.


author: Andrei Belov <defan@nginx.com> - 16+0.2.6-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.2.6.
  - Feature: making built-in prototypes mutable.
  - Feature: making global object mutable.
  - Feature: console.time() and console.timeEnd() methods.
  - Feature: allowing variables and functions to be redeclared.
  - Feature: extending Object.defineProperty() spec conformance.
  - Feature: introduced quiet mode for CLI to handle simple expressions from
    stdin.
  - Feature: introduced compact form of backtraces to handle stack overflows.
  - Improvement: improved wording for various exceptions.
  - Bugfix: fixed closure values handling.
  - Bugfix: fixed equality operator for various value types.
  - Bugfix: fixed handling of "this" keyword in various scopes.
  - Bugfix: fixed handling non-object values in Object.keys().
  - Bugfix: fixed parsing of throw statement inside if statement.
  - Bugfix: fixed parsing of newline after throw statement.
  - Bugfix: fixed parsing of statements in if statement without newline.
  - Bugfix: fixed size uint32_t overflow in njs_array_expand().
  - Bugfix: fixed typeof operator for object_value type.
  - Bugfix: miscellaneous additional bugs have been fixed.


author: Andrei Belov <defan@nginx.com> - 17+0.2.7-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.2.7.
  - Feature: rest parameters syntax (destructuring is not supported).
  - Feature: added Object.entries() method.
  - Feature: added Object.values() method.
  - Improvement: code generator refactored and simplified.
  - Bugfix: fixed automatic semicolon insertion.
  - Bugfix: fixed assignment expression from compound assignment.
  - Bugfix: fixed comparison of Byte and UTF8 strings.
  - Bugfix: fixed type of iteration variable in for-in with array values.
  - Bugfix: fixed building on paltforms without librt.
  - Bugfix: miscellaneous additional bugs have been fixed.


author: Andrei Belov <defan@nginx.com> - 17+0.2.8-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.2.8.
  - Change: properties of HTTP request deprecarted in 0.2.2 are removed.
  - Feature: added support for delete operation in r.headersOut.
  - Feature: added support for setting nginx variables.
  - Bugfix: fixed r.subrequest() for empty body value.
  - Improvement: setting special response headers in r.headersOut.
  - Feature: added labels support.
  - Feature: added setImmediate() method.
  - Feature: added support for shorthand property names for Object literals.
  - Bugfix: fixed Function.prototype.bind().
  - Bugfix: fixed parsing of string literals containing newline characters.
  - Bugfix: fixed line number in reporting variable reference errors.
  - Bugfix: fixed creation of long UTF8 strings.
  - Bugfix: fixed String.prototype.split() for unicode strings.
  - Bugfix: fixed heap-buffer-overflow in String.prototype.split().
  - Bugfix: fixed Array.prototype.fill().
  - Improvement: code related to function invocation is refactored.
  - Improvement: code related to variables is refactored.
  - Improvement: parser is refactored.
  - Improvement: reporting filenames in exceptions.


author: Andrei Belov <defan@nginx.com> - 17+0.3.0-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.3.0.
  - Feature: added js_path directive.
  - Change: returning undefined value instead of empty strings for absent
    properties in the following objects: r.args, r.headersIn, r.headersOut,
    r.variables, s.variables.
  - Change: returning undefined value instead of throwing an exception for
    r.requestBody when request body is unavailable.
  - Bugfix: fixed crash while iterating over r.args when a value is absent in
    a key-value pair.
  - Feature: added initial ES6 modules support. Default import and default
    export statements are supported.
  - Feature: added Object.prototype.propertyIsEnumerable().
  - Feature: reporting file name and function name in disassembler output.
  - Bugfix: fixed function redeclarations in interactive shell.
  - Bugfix: fixed RegExp literals parsing.
  - Bugfix: fixed setting length of UTF8 string in fs.readFileSync().
  - Bugfix: fixed nxt_file_dirname() for paths with no dir component.


author: Andrei Belov <defan@nginx.com> - 18+0.3.1-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.3.1.
  - Feature: added arrow functions support.
  - Feature: added Object.getOwnPropertyNames().
  - Feature: added Object.getOwnPropertyDescriptors().
  - Feature: making __proto__ accessor descriptor of Object instances mutable.
  - Feature: added shebang support in CLI.
  - Feature: added support for module mode execution in CLI. In module mode
    global this is unavailable.
  - Bugfix: fixed editline detection.
  - Bugfix: fixed Function.prototype.bind().
  - Bugfix: fixed checking of duplication of parameters for functions.
  - Bugfix: fixed function declaration with the same name as a variable.
  - Improvement: code related to parsing of objects, variables and
  - Improvement: console.log() improved for outputting large values.
  - Improvement: console.log() improved for outputting strings in a compliant
    way (without escaping and quotes).
  - Improvement: using ES6 version of ToInt32(), ToUint32(), ToLength().


author: Andrei Belov <defan@nginx.com> - 18+0.3.2-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.3.2.
  - Feature: added support for template literals.
  - Feature: executing command from command line arguments.
  - Feature: added support for RegExp "groups" object (ES9).
  - Feature: added block scoped function definitions support.
  - Feature: added support for building with GNU Readline library.
  - Feature: made configurable "length", "name", and most of built-in methods.
  - Feature: made all constructor properties configurable.
  - Bugfix: fixed Regexp.prototype.exec() for Unicode-only regexps.
  - Bugfix: fixed njs_vm_value_dump() for empty string values.
  - Bugfix: fixed RegExp constructor for regexp value arguments.
  - Bugfix: fixed walking over prototypes chain during iteration over an
    object.
  - Bugfix: fixed overflow in Array.prototype.concat().
  - Bugfix: fixed length calculation for UTF-8 string with escape characters.
  - Bugfix: fixed parsing surrogate pair presents as UTF-16 escape sequences.
  - Bugfix: fixed processing asterisk quantifier for String.prototype.match().
  - Bugfix: fixed Date() constructor with one argument.
  - Bugfix: fixed arrays expansion.
  - Bugfix: fixed heap-buffer-overflow in String.prototype.replace().
  - Bugfix: fixed heap-buffer-overflow in String.prototype.lastIndexOf().
  - Bugfix: fixed regexp literals parsing with escaped backslash and backslash
    in square brackets.
  - Bugfix: fixed regexp literals with lone closing brackets.
  - Bugfix: fixed uninitialized-memory-access in Object.defineProperties().
  - Bugfix: fixed processing "*" quantifier for String.prototype.replace().
  - Bugfix: fixed Array.prototype.slice() for UTF8-invalid byte strings.
  - Bugfix: fixed String.prototype.split() for UTF8-invalid byte strings.
  - Bugfix: fixed handling of empty block statements.


author: Andrei Belov <defan@nginx.com> - 18+0.3.3-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.3.3.
  - Improvement: getting of special response headers in headersOut.
  - Improvement: working with unknown methods in subrequest().
  - Improvement: added support for null as a second argument of
    r.subrequest().
  - Bugfix: fixed processing empty output chain in stream body filter.
  - Feature: added runtime support for property getter/setter.
  - Feature: added "process" global object.
  - Feature: writable most of built-in properties and methods.
  - Feature: added generic implementation of Array.prototype.fill().
  - Bugfix: fixed integer-overflow in String.prototype.concat().
  - Bugfix: fixed setting of object properties.
  - Bugfix: fixed Array.prototype.toString().
  - Bugfix: fixed Date.prototype.toJSON().
  - Bugfix: fixed overwriting "constructor" property of built-in prototypes.
  - Bugfix: fixed processing of invalid surrogate pairs in strings.
  - Bugfix: fixed processing of invalid surrogate pairs in JSON strings.
  - Bugfix: fixed heap-buffer-overflow in toUpperCase() and toLowerCase().
  - Bugfix: fixed escaping lone closing square brackets in RegExp()
    constructor.
  - Bugfix: fixed String.prototype.toBytes() for ASCII strings.
  - Bugfix: fixed handling zero byte characters inside RegExp pattern strings.
  - Bugfix: fixed String.prototype.toBytes() for ASCII strings.
  - Bugfix: fixed truth value of JSON numbers in JSON.parse().
  - Bugfix: fixed use-of-uninitialized-value in njs_string_replace_join().
  - Bugfix: fixed parseInt('-0').


author: Andrei Belov <defan@nginx.com> - 18+0.3.4-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.3.4.
  - Feature: added Object shorthand methods and computed property names.
  - Feature: added getter/setter literal support.
  - Feature: added fs.renameSync().
  - Feature: added String.prototype.trimStart() and
    String.prototype.trimEnd().
  - Improvement: added memory-sanitizer support.
  - Improvement: Unicode case tables updated to version 12.1.
  - Improvement: added UTF8 validation for string literals.
  - Bugfix: fixed reading files with zero size in fs.readFileSync().
  - Bugfix: extended the list of space separators in String.prototype.trim().
  - Bugfix: fixed using of uninitialized value in String.prototype.padStart().
  - Bugfix: fixed String.prototype.replace() for '$0' and '$&' replacement
    string.
  - Bugfix: fixed String.prototype.replace() for byte strings with regex
    argument.
  - Bugfix: fixed global match in String.prototype.replace() with regexp
    argument.
  - Bugfix: fixed Array.prototype.slice() for primitive types.
  - Bugfix: fixed heap-buffer-overflow while importing module.
  - Bugfix: fixed UTF-8 character escaping.
  - Bugfix: fixed Object.values() and Object.entries() for shared objects.
  - Bugfix: fixed uninitialized memory access in String.prototype.match().
  - Bugfix: fixed String.prototype.match() for byte strings with regex
    argument.
  - Bugfix: fixed Array.prototype.lastIndexOf() with undefined arguments.
  - Bugfix: fixed String.prototype.substring() with empty substring.
  - Bugfix: fixed invalid memory access in String.prototype.substring().
  - Bugfix: fixed String.fromCharCode() for code points > 65535 and NaN.
  - Bugfix: fixed String.prototype.toLowerCase() and
    String.prototype.toUpperCase().
  - Bugfix: fixed Error() constructor with no arguments.
  - Bugfix: fixed "in" operator for values with accessor descriptors.
  - Bugfix: fixed Object.defineProperty() for non-boolean descriptor props.
  - Bugfix: fixed Error.prototype.toString() with UTF8 string properties.
  - Bugfix: fixed Error.prototype.toString() with non-string values for "name"
    and "message".


author: Andrei Belov <defan@nginx.com> - 18+0.3.5-1.amzn2.ngx
changelog:
  - Change: njs module updated to 0.3.4.
  - Bugfix: fixed module importing using require(). The bug was introduced in
    0.3.4.
  - Bugfix: fixed [[SetPrototypeOf]].


