Node.js 5.0.0

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

There is a newer version of this package available.
See the version list below for details.
Install-Package Node.js -Version 5.0.0
dotnet add package Node.js --version 5.0.0
<PackageReference Include="Node.js" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Node.js --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

[buffer]: (Breaking) Removed both 'raw' and 'raws' encoding types from Buffer, these have been deprecated for a long time (Sakthipriyan Vairamani) #2859.

[console]: (Breaking) Values reported by console.time() now have 3 decimals of accuracy added (Michaël Zasso) #3166.

[fs]:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also accept a file descriptor as their first argument (Johannes Wüller) #3163.
- (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 (Evan Lucas) #3485.
- (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 (Evan Lucas) #3503.

[http]:
- Fixed a bug where pipelined http requests would stall (Fedor Indutny) #3342.
- (Breaking) When parsing HTTP, don't add duplicates of the following headers: Retry-After, ETag, Last-Modified, Server, Age, Expires. This is in addition to the following headers which already block duplicates: Content-Type, Content-Length, User-Agent, Referer, Host, Authorization, Proxy-Authorization, If-Modified-Since, If-Unmodified-Since, From, Location, Max-Forwards (James M Snell) #3090.
- (Breaking) The callback argument to OutgoingMessage#setTimeout() must be a function or a TypeError is thrown (James M Snell) #3090.
- (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. Specifically, methods and header names must now match /^[a-zA-Z0-9_!#$%&'*+.^`|~-]+$/ or a TypeError will be thrown (James M Snell) #2526.

[node]:
- (Breaking) Deprecated the _linklist module (Rich Trott) #3078.
- (Breaking) Removed require.paths and require.registerExtension(), both had been previously set to throw Error when accessed (Sakthipriyan Vairamani) #2922.

[npm]: Upgraded to version 3.3.6 from 2.14.7, see https://github.com/npm/npm/releases/tag/v3.3.6 for more details. This is a major version bump for npm and it has seen a significant amount of change. Please see the original npm v3.0.0 release notes for a list of major changes (Rebecca Turner) #3310.

[src]: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46, this is necessary due to the V8 upgrade. Native add-ons will need to be recompiled (Rod Vagg) #3400.

[timers]: Attempt to reuse the timer handle for setTimeout().unref(). This fixes a long-standing known issue where unrefed timers would perviously hold beforeExit open (Fedor Indutny) #3407.

[tls]:
- Added ALPN Support (Shigeki Ohtsu) #2564.
- TLS options can now be passed in an object to createSecurePair() (Коренберг Марк) #2441.
- (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. This a security consideration to prevent "logjam" attacks. A new minDHSize TLS option can be used to override the default. (Shigeki Ohtsu) #1831.

[util]:
- (Breaking) util.p() was deprecated for years, and has now been removed (Wyatt Preul) #3432.
- (Breaking) util.inherits() can now work with ES6 classes. This is considered a breaking change because of potential subtle side-effects caused by a change from directly reassigning the prototype of the constructor using ctor.prototype = Object.create(superCtor.prototype, { constructor: { ... } }) to using Object.setPrototypeOf(ctor.prototype, superCtor.prototype) (Michaël Zasso) #3455.

[v8]: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35 (Ali Ijaz Sheikh) #3351.
- Implements the spread operator, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator for further information.
- Implements new.target, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target for further information.

[zlib]: Decompression now throws on truncated input (e.g. unexpected end of file) (Yuval Brik) #2595.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
5.3.0 477,102 12/20/2015
5.2.0 1,392 12/20/2015
5.1.1 415 12/20/2015
5.1.0 451 12/20/2015
5.0.0 555 12/20/2015
4.2.3 1,709 12/20/2015
4.2.2 893 12/20/2015
4.2.1 397 12/20/2015
4.2.0 756 12/20/2015
4.1.2 758 12/20/2015
4.1.1 390 12/20/2015
4.1.0 423 12/20/2015
4.0.0 54,760 9/15/2015
0.12.7 169,303 7/25/2015
0.12.6 401 7/25/2015
0.12.5 413 7/25/2015
0.12.4 467 7/25/2015
0.12.3 413 7/25/2015
0.12.2 440 7/25/2015
0.12.1 500 7/25/2015
0.12.0 35,891 2/15/2015
0.10.36 9,173 2/4/2015
0.10.35 455 2/4/2015
0.10.34 426 2/4/2015
0.10.33 12,244 10/30/2014
0.10.32 6,356 9/17/2014
0.10.31 5,561 8/30/2014
0.10.30 464 8/30/2014
0.10.29 8,275 6/18/2014
0.10.28 238,103 5/16/2014
0.10.27 439 5/16/2014
0.10.26.1 107,211 3/18/2014
0.10.26 5,804 2/19/2014
0.10.25 2,534 1/23/2014
0.10.24 1,142 1/6/2014
0.10.23 4,332 12/12/2013
0.10.22 448 12/12/2013
0.10.21 45,519 11/7/2013