LinuCエヴァンジェリストの鯨井貴博@opensourcetechです。
nginx njs の最新バージョン、0.7.3がリリースされました。
http://nginx.org/
更新内容は、以下の通り。
http://nginx.org/en/docs/njs/changes.html
Changes with njs 0.7.3 Release Date: 12 April 2022 Core: Feature: added support of module resolution callback. This feature allows the host environment to control how imported modules are loaded. Bugfix: fixed backtraces while traversing imported user modules. Bugfix: fixed Array.prototype.concat() when this is a slow array. Bugfix: fixed frame allocation from an awaited frame. Bugfix: fixed allocation of large array literals. Bugfix: fixed interpreter when toString conversion fails.
日本語訳は、以下となります。
Changes with njs 0.7.3 Release Date: 12 April 2022 Core: 機能追加:モジュール解決コールバックのサポートが追加されました。 この機能により、ホスト環境はインポートされたモジュールのロード方法を制御できます。 バグ修正:インポートされたユーザーモジュールをトラバースする際のバックトレースを修正しました。 バグ修正:これが遅い配列である場合のArray.prototype.concat()を修正しました。 バグ修正:待機中のフレームからのフレーム割り当てを修正しました。 バグ修正:大きな配列リテラルの割り当てを修正しました。 バグ修正:toString変換が失敗したときのインタープリターを修正しました。