LoginSignup
0
0

More than 5 years have passed since last update.

Node.js v11.8.0リリースノート

Last updated at Posted at 2019-01-28

events

  • For unhandled error events with an argument that is not an Error object, the resulting exeption will have more information about the argument.
    • Errorオブジェクトを引数に持たないエラーが処理されなかった時、引数についての情報を表示するようになった

child_process

  • When the maxBuffer option is passed, stdout and stderr will be truncated rather than unavailable in case of an error.
    • maxBufferオプションが渡されたとき、それを超えてエラーが発生した場合に出力が切り捨てられるようになった

policy

  • Experimental support for module integrity checks through a manifest file is implemented now.
    • マニフェストファイルを用いて行うモジュールの整合性チェックが試験的にサポートされた

n-api

  • The napi_threadsafe_function feature is now stable.
    • napi_threadsafe_function機能がstableになった

report

  • An experimental diagnostic API for capturing process state is available as process.report and through command line flags.
    • プロセスの状態を取得するための試験的な診断用APIが、process.reportとコマンドライン引数を指定することで利用できるようになった

tls

  • tls.connect() takes a timeout option analogous to the net.connect() one.
    • tls.connect()でnet.connect()と同様のタイムアウト用オプションを使えるようになった

worker

  • process.umask() is available as a read-only function inside Worker threads now
    • ワーカースレッド内においてprocess.umask()を読み込み専用の関数として利用可能になった
  • An execArgv option that supports a subset of Node.js command line options is supported now.
    • ワーカープロセス作成時に、execArgvを用いることでNode.jsのコマンドラインオプションをそのまま指定できるようになった
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0