pkgsrc/lang/nodejs/DESCR
fhajny 92a02ddd52 Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.

Notable Changes in 5.0.0:

* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
  from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
  3 decimals of accuracy added
* fs:
  - fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
    accept a file descriptor as their first argument
  - (Breaking) In fs.readFile(), if an encoding is specified and
    the internal toString() fails the error is no longer thrown but is
    passed to the callback
  - (Breaking) In fs.read() (using the fs.read(fd, length, position,
    encoding, callback) form), if the internal toString() fails the
    error is no longer thrown but is passed to the callback
* http:
  - Fixed a bug where pipelined http requests would stall
  - (Breaking) When parsing HTTP, don't add duplicates of the
    following headers: Retry-After, ETag, Last-Modified, Server, Age,
    Expires.
  - (Breaking) The callback argument to OutgoingMessage#setTimeout()
    must be a function or a TypeError is thrown
  - (Breaking) HTTP methods and header names must now conform to
    the RFC 2616 "token" rule, a list of allowed characters that
    excludes control characters and a number of separator characters.
* node:
  - (Breaking) Deprecated the _linklist module
  - (Breaking) Removed require.paths and require.registerExtension(),
    both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
  - Added ALPN Support
  - TLS options can now be passed in an object to createSecurePair()
  - (Breaking) The default minimum DH key size for tls.connect() is
    now 1024 bits and a warning is shown when DH key size is less
    than 2048 bits.
* util:
  - (Breaking) util.p() was deprecated for years, and has now been
    removed
  - (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
  - Implements the spread operator
  - Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
  end of file)

See full release notes with more information at:

  https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 20:19:35 +00:00

4 lines
187 B
Text

Node.js is an evented I/O framework for the V8 JavaScript engine. It is
intended for writing scalable network programs such as web servers.
This package holds the latest stable release.