From e8cf74001ffbddbb3b10adede0965a21017839bf Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 4 Aug 2015 22:49:37 +1000 Subject: [PATCH 1/5] Fixed typo --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 67dfca526ccc..53e478dc5e25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2802,7 +2802,7 @@ - Support for parallel use of the cache folder - Retry on registry timeouts or network failures (Trent Mick) - Reduce 'engines' failures to a warning - - Use new zsh completion if aviailable (Jeremy Cantrell) + - Use new zsh completion if available (Jeremy Cantrell) * Fix #3577 Un-break require('sys') From ee79f9c565d60217696f3a8c9bec65c6b3352ac1 Mon Sep 17 00:00:00 2001 From: daveboivin Date: Thu, 30 Jul 2015 16:58:48 -0500 Subject: [PATCH 2/5] Update assert.markdown The current wording "This module is used for writing unit tests for your applications, you can access it with require('assert')." implies that this module should only be used in development while unit testing. The article "Error Handling in Node.js" by Joyent (https://www.joyent.com/developers/node/design/errors) uses the assert module in an efficient way to validate required function arguments. --- doc/api/assert.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/assert.markdown b/doc/api/assert.markdown index 771a87338e65..dc93e9cdd675 100644 --- a/doc/api/assert.markdown +++ b/doc/api/assert.markdown @@ -2,7 +2,7 @@ Stability: 5 - Locked -This module is used for writing unit tests for your applications, you can +This module is used for testing actual values against expected values, you can access it with `require('assert')`. ## assert.fail(actual, expected, message, operator) From 13f4048bf367f6855cb0de35335b905eeb1b5615 Mon Sep 17 00:00:00 2001 From: Dyana Rose Date: Sat, 25 Jul 2015 11:11:26 +0100 Subject: [PATCH 3/5] doc: buffer, adding missing backtick --- doc/api/buffer.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index 0b90be68d3f3..e1d202f16e2b 100644 --- a/doc/api/buffer.markdown +++ b/doc/api/buffer.markdown @@ -250,7 +250,7 @@ may be beyond the end of the buffer. Defaults to `false`. Decodes and returns a string from buffer data encoded using the specified character set encoding. If `encoding` is `undefined` or `null`, then `encoding` -defaults to `'utf8'. The `start` and `end` parameters default to `0` and +defaults to `'utf8'`. The `start` and `end` parameters default to `0` and `buffer.length` when `undefined`. buf = new Buffer(26); From 86c925a3e2a5c5d80a81043ab99eff0f633155ce Mon Sep 17 00:00:00 2001 From: Chad Walker Date: Fri, 10 Jul 2015 10:52:43 -0500 Subject: [PATCH 4/5] doc: Change the link for v8 docs to v8dox.com No offense to @izs, but the doxygen he put up 3.5 years ago isn't accurate for node 0.12 nor io.js. I'm trying to keep up and have multiple sets of doxygen of v8 available at http://v8dox.com/ --- doc/api/addons.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/addons.markdown b/doc/api/addons.markdown index 0e67ffc5af4c..3ec8971274da 100644 --- a/doc/api/addons.markdown +++ b/doc/api/addons.markdown @@ -8,7 +8,7 @@ knowledge of several libraries: creating objects, calling functions, etc. Documented mostly in the `v8.h` header file (`deps/v8/include/v8.h` in the Node source tree), which is also available - [online](http://izs.me/v8-docs/main.html). + [online](http://v8dox.com/). - [libuv](https://github.com/joyent/libuv), C event loop library. Anytime one needs to wait for a file descriptor to become readable, From 8cae25e5ead25b223b065b4f040ac614850e9299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Val=C3=A9ry?= Date: Thu, 2 Jul 2015 12:06:51 +0200 Subject: [PATCH 5/5] comma --- doc/api/vm.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/vm.markdown b/doc/api/vm.markdown index b1453249ec03..5a72c9dc7767 100644 --- a/doc/api/vm.markdown +++ b/doc/api/vm.markdown @@ -117,7 +117,7 @@ Example: compile and execute code that increments a global variable and sets a new one. These globals are contained in the sandbox. var util = require('util'); - var vm = require('vm'), + var vm = require('vm'); var sandbox = { animal: 'cat',