pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Tue Feb 23 11:23:32 UTC 2016

Modified Files:
        pkgsrc/lang/nodejs: Makefile PLIST distinfo

Log Message:
Update lang/nodejs to 5.7.0.

* buffer:
  - You can now supply an encoding argument when filling a Buffer
    Buffer#fill(string[, start[, end]][, encoding]), supplying an
    existing Buffer will also work with Buffer#fill(buffer[, start[,
    end]]). See the API documentation for details on how this works.
  - Buffer#indexOf() no longer requires a byteOffset argument if
    you also wish to specify an encoding: Buffer#indexOf(val[,
    byteOffset][, encoding]).
* child_process: spawn() and spawnSync() now support a 'shell'
  option to allow for optional execution of the given command inside
  a shell. If set to true, cmd.exe will be used on Windows and
  /bin/sh elsewhere. A path to a custom shell can also be passed to
  override these defaults. On Windows, this option allows .bat. and
  .cmd files to be executed with spawn() and spawnSync().
* http_parser: Update to http-parser 2.6.2 to fix an unintentionally
  strict limitation of allowable header characters
* dgram: socket.send() now supports accepts an array of Buffers or
  Strings as the first argument. See the API docs for details on how
  this works.
* http: Fix a bug where handling headers will mistakenly trigger an
  'upgrade' event where the server is just advertising its protocols.
  This bug can prevent HTTP clients from communicating with HTTP/2
  enabled servers.
* net: Added a listening Boolean property to net and http servers to
  indicate whether the server is listening for connections.
* node: The C++ node::MakeCallback() API is now reentrant and
  calling it from inside another MakeCallback() call no longer causes
  the nextTick queue or Promises microtask queue to be processed out
  of order.
* tls: Add a new tlsSocket.getProtocol() method to get the negotiated
  TLS protocol version of the current connection.
* vm: Introduce new 'produceCachedData' and 'cachedData' options to
  new vm.Script() to interact with V8's code cache. When a new
  vm.Script object is created with the 'produceCachedData' set to
  true a Buffer with V8's code cache data will be produced and stored
  in cachedData property of the returned object. This data in turn
  may be supplied back to another vm.Script() object with a
  'cachedData' option if the supplied source is the same. Successfully
  executing a script from cached data can speed up instantiation time.
* performance: Improvements in:
  - process.nextTick()
  - path module
  - querystring module
  - streams module when processing small chunks


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/lang/nodejs/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/lang/nodejs/PLIST
cvs rdiff -u -r1.55 -r1.56 pkgsrc/lang/nodejs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index