From 549be1caa84b4746a3697943bf4b19acb6430cc2 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 15 Jan 2014 17:12:20 -0800 Subject: [PATCH 01/17] doc: child_process.execFile arguments are optional --- doc/api/child_process.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 7f5958f547..e15ac02eca 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -531,7 +531,7 @@ amount of data allowed on stdout or stderr - if this value is exceeded then the child process is killed. -## child_process.execFile(file, args, options, callback) +## child_process.execFile(file, [args], [options], [callback]) * `file` {String} The filename of the program to run * `args` {Array} List of string arguments From 198ed0bd0da9dee471bb8bfb7f6e97be506224ed Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 15 Jan 2014 17:13:32 -0800 Subject: [PATCH 02/17] doc: describe child_process.fork() silent option --- doc/api/child_process.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index e15ac02eca..9c7125c62a 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -564,8 +564,10 @@ leaner than `child_process.exec`. It has the same options. * `execPath` {String} Executable used to create the child process * `execArgv` {Array} List of string arguments passed to the executable (Default: `process.execArgv`) - * `silent` {Boolean} If true, prevent stdout and stderr in the spawned node - process from being associated with the parent's (default is false) + * `silent` {Boolean} If true, stdin, stdout, and stderr of the child will be + piped to the parent, otherwise they will be inherited from the parent, see + the "pipe" and "inherit" options for `spawn()`'s `stdio` for more details + (default is false) * Return: ChildProcess object This is a special case of the `spawn()` functionality for spawning Node From 67e9298fb6509d5f6ad2f7e67620a2d82549a1e8 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 15 Jan 2014 17:16:22 -0800 Subject: [PATCH 03/17] child_process: fix spawn() optional arguments Spawn's arguments were documented to be optional, as they are for the other similar child_process APIs, but the code was missing. Result was `child_process.spawn('node', {})` errored when calling slice() on an Object, now it behaves as the documentation said it would. --- lib/child_process.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/child_process.js b/lib/child_process.js index f7312215cd..eec0313337 100644 --- a/lib/child_process.js +++ b/lib/child_process.js @@ -695,8 +695,16 @@ exports.execFile = function(file /* args, options, callback */) { }; -var spawn = exports.spawn = function(file, args, options) { - args = args ? args.slice(0) : []; +var spawn = exports.spawn = function(file /*, args, options*/) { + var args, options; + if (Array.isArray(arguments[1])) { + args = arguments[1].slice(0); + options = arguments[2]; + } else { + args = []; + options = arguments[1]; + } + args.unshift(file); var env = (options ? options.env : null) || process.env; From abe02553f22e80681b8c623c2b0dd20a9952aaae Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 15 Jan 2014 14:40:58 -0800 Subject: [PATCH 04/17] doc: clarify Windows signal sending emulation --- doc/api/process.markdown | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/api/process.markdown b/doc/api/process.markdown index b2f43ded7b..8cb613525d 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -96,9 +96,9 @@ Note: `SIGHUP` is to terminate node, but once a listener has been installed its default behaviour will be removed. - `SIGTERM` is not supported on Windows, it can be listened on. -- `SIGINT` is supported on all platforms, and can usually be generated with - `CTRL+C` (though this may be configurable). It is not generated when terminal - raw mode is enabled. +- `SIGINT` from the terminal is supported on all platforms, and can usually be + generated with `CTRL+C` (though this may be configurable). It is not generated + when terminal raw mode is enabled. - `SIGBREAK` is delivered on Windows when `CTRL+BREAK` is pressed, on non-Windows platforms it can be listened on, but there is no way to send or generate it. - `SIGWINCH` is delivered when the console has been resized. On Windows, this will @@ -108,6 +108,12 @@ Note: node on all platforms. - `SIGSTOP` cannot have a listener installed. +Note that Windows does not support sending Signals, but node offers some +emulation with `process.kill()`, and `child_process.kill()`: +- Sending signal `0` can be used to search for the existence of a process +- Sending `SIGINT`, `SIGTERM`, and `SIGKILL` cause the unconditional exit of the + target process. + ## process.stdout A `Writable Stream` to `stdout`. @@ -422,7 +428,7 @@ An example of the possible output looks like: Send a signal to a process. `pid` is the process id and `signal` is the string describing the signal to send. Signal names are strings like 'SIGINT' or 'SIGHUP'. If omitted, the signal will be 'SIGTERM'. -See kill(2) for more information. +See [Signal Events](#process_signal_events) and kill(2) for more information. Will throw an error if target does not exist, and as a special case, a signal of `0` can be used to test for the existence of a process. From 61c0d571bf6317807fd0d569099397e5b26b09b9 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Thu, 16 Jan 2014 16:39:12 +0000 Subject: [PATCH 05/17] gyp: fix `ninja` build on linux fix #6679 --- common.gypi | 9 ++++++++- node.gyp | 10 +++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/common.gypi b/common.gypi index abe46bed46..303e047d5a 100644 --- a/common.gypi +++ b/common.gypi @@ -19,7 +19,14 @@ 'conditions': [ ['OS != "win"', { 'v8_postmortem_support': 'true' - }] + }], + ['GENERATOR == "ninja"', { + 'OBJ_DIR': '<(PRODUCT_DIR)/obj', + 'V8_BASE': '<(PRODUCT_DIR)/libv8_base.a', + }, { + 'OBJ_DIR': '<(PRODUCT_DIR)/obj.target', + 'V8_BASE': '<(OBJ_DIR)/deps/v8/tools/gyp/libv8_base.a', + }], ], }, diff --git a/node.gyp b/node.gyp index ae8c7e5e26..28714b3f7b 100644 --- a/node.gyp +++ b/node.gyp @@ -293,7 +293,7 @@ [ 'OS=="linux" and node_shared_v8=="false"', { 'ldflags': [ - '-Wl,--whole-archive <(PRODUCT_DIR)/obj.target/deps/v8/tools/gyp/libv8_base.a -Wl,--no-whole-archive', + '-Wl,--whole-archive <(V8_BASE) -Wl,--no-whole-archive', ], }], ], @@ -427,10 +427,10 @@ 'action_name': 'node_dtrace_provider_o', 'inputs': [ 'src/node_provider.d', - '<(PRODUCT_DIR)/obj.target/node/src/node_dtrace.o' + '<(OBJ_DIR)/node/src/node_dtrace.o' ], 'outputs': [ - '<(PRODUCT_DIR)/obj.target/node/src/node_dtrace_provider.o' + '<(OBJ_DIR)/node/src/node_dtrace_provider.o' ], 'action': [ 'dtrace', '-G', '-xnolibs', '-s', '<@(_inputs)', '-o', '<@(_outputs)' ] @@ -448,7 +448,7 @@ { 'action_name': 'node_dtrace_ustack_constants', 'inputs': [ - '<(PRODUCT_DIR)/obj.target/deps/v8/tools/gyp/libv8_base.a' + '<(V8_BASE)' ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/v8constants.h' @@ -466,7 +466,7 @@ '<(SHARED_INTERMEDIATE_DIR)/v8constants.h' ], 'outputs': [ - '<(PRODUCT_DIR)/obj.target/node/src/node_dtrace_ustack.o' + '<(OBJ_DIR)/node/src/node_dtrace_ustack.o' ], 'conditions': [ [ 'target_arch=="ia32"', { From 1d57a5caa4dc2994906c2160eaa31ca700dff39c Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Thu, 16 Jan 2014 14:43:29 -0800 Subject: [PATCH 06/17] blog: nodejs v0.12 roadmap update --- doc/blog/nodejs-road-ahead.md | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 doc/blog/nodejs-road-ahead.md diff --git a/doc/blog/nodejs-road-ahead.md b/doc/blog/nodejs-road-ahead.md new file mode 100644 index 0000000000..568530f214 --- /dev/null +++ b/doc/blog/nodejs-road-ahead.md @@ -0,0 +1,52 @@ +title: Node.js and the Road Ahead +date: Thu Jan 16 15:00:00 PST 2014 +author: Timothy J Fontaine +slug: nodejs-road-ahead + +As the new project lead for Node.js I am excited for our future, and want to +give you an update on where we are. + +One of Node's major goals is to provide a small core, one that provides the +right amount of surface area for consumers to achieve and innovate, without +Node itself getting in the way. That ethos is alive and well, we're going to +continue to provide a small, simple, and stable set of APIs that facilitate the +amazing uses the community finds for Node. We're going to keep providing +backward compatible APIs, so code you write today will continue to work on +future versions of Node. And of course, performance tuning and bug fixing will +always be an important part of every release cycle. + +The release of Node v0.12 is imminent, and a lot of significant work has gone +into this release. There's streams3, a better keep alive agent for http, the vm +module is now based on contextify, and significant performance work done in +core features (Buffers, TLS, streams). We have a few APIs that are still being +ironed out before we can feature freeze and branch (execSync, AsyncListeners, +user definable instrumentation). We are definitely in the home stretch. + +But Node is far from done. In the short term there will be new releases of v8 +that we'll need to track, as well as integrating the new ABI stable C module +interface. There are interesting language features that we can use to extend +Node APIs (extend not replace). We need to write more tooling, we need to +expose more interfaces to further enable innovation. We can explore +functionality to embed Node in your existing project. + +The list can go on and on. Yet, Node is larger than the software itself. Node +is also the community, the businesses, the ecosystems, and their related +events. With that in mind there are things we can work to improve. + +The core team will be improving its procedures such that we can quickly and +efficiently communicate with you. We want to provide high quality and timely +responses to issues, describe our development roadmap, as well as provide our +progress during each release cycle. We know you're interested in our plans for +Node, and it's important we're able to provide that information. Communication +should be bidirectional: we want to continue to receive feedback about how +you're using Node, and what your pain points are. + +After the release of v0.12 we will facilitate the community to contribute and +curate content for nodejs.org. Allowing the community to continue to invest in +Node will ensure nodejs.org is an excellent starting point and the primary +resource for tutorials, documentation, and materials regarding Node. We have an +awesome and engaged community, and they're paramount to our success. + +I'm excited for Node's future, to see new and interesting use cases, and to +continue to help businesses scale and innovate with Node. We have a lot we can +accomplish together, and I look forward to seeing those results. From f645c40fcd92ca929e03e65d8a8f4ebb05e2cea2 Mon Sep 17 00:00:00 2001 From: isaacs Date: Sun, 19 Jan 2014 21:13:20 -0800 Subject: [PATCH 07/17] npm: Upgrade to v1.3.24 --- deps/npm/doc/cli/npm-docs.md | 9 +- deps/npm/doc/cli/npm-search.md | 14 +- deps/npm/doc/misc/npm-config.md | 2 +- deps/npm/html/doc/README.html | 2 +- deps/npm/html/doc/api/npm-bin.html | 2 +- deps/npm/html/doc/api/npm-bugs.html | 2 +- deps/npm/html/doc/api/npm-commands.html | 2 +- deps/npm/html/doc/api/npm-config.html | 2 +- deps/npm/html/doc/api/npm-deprecate.html | 2 +- deps/npm/html/doc/api/npm-docs.html | 2 +- deps/npm/html/doc/api/npm-edit.html | 2 +- deps/npm/html/doc/api/npm-explore.html | 2 +- deps/npm/html/doc/api/npm-help-search.html | 2 +- deps/npm/html/doc/api/npm-init.html | 2 +- deps/npm/html/doc/api/npm-install.html | 2 +- deps/npm/html/doc/api/npm-link.html | 2 +- deps/npm/html/doc/api/npm-load.html | 2 +- deps/npm/html/doc/api/npm-ls.html | 2 +- deps/npm/html/doc/api/npm-outdated.html | 2 +- deps/npm/html/doc/api/npm-owner.html | 2 +- deps/npm/html/doc/api/npm-pack.html | 2 +- deps/npm/html/doc/api/npm-prefix.html | 2 +- deps/npm/html/doc/api/npm-prune.html | 2 +- deps/npm/html/doc/api/npm-publish.html | 2 +- deps/npm/html/doc/api/npm-rebuild.html | 2 +- deps/npm/html/doc/api/npm-repo.html | 2 +- deps/npm/html/doc/api/npm-restart.html | 2 +- deps/npm/html/doc/api/npm-root.html | 2 +- deps/npm/html/doc/api/npm-run-script.html | 2 +- deps/npm/html/doc/api/npm-search.html | 2 +- deps/npm/html/doc/api/npm-shrinkwrap.html | 2 +- deps/npm/html/doc/api/npm-start.html | 2 +- deps/npm/html/doc/api/npm-stop.html | 2 +- deps/npm/html/doc/api/npm-submodule.html | 2 +- deps/npm/html/doc/api/npm-tag.html | 2 +- deps/npm/html/doc/api/npm-test.html | 2 +- deps/npm/html/doc/api/npm-uninstall.html | 2 +- deps/npm/html/doc/api/npm-unpublish.html | 2 +- deps/npm/html/doc/api/npm-update.html | 2 +- deps/npm/html/doc/api/npm-version.html | 2 +- deps/npm/html/doc/api/npm-view.html | 2 +- deps/npm/html/doc/api/npm-whoami.html | 2 +- deps/npm/html/doc/api/npm.html | 4 +- deps/npm/html/doc/cli/npm-adduser.html | 2 +- deps/npm/html/doc/cli/npm-bin.html | 2 +- deps/npm/html/doc/cli/npm-bugs.html | 2 +- deps/npm/html/doc/cli/npm-build.html | 2 +- deps/npm/html/doc/cli/npm-bundle.html | 2 +- deps/npm/html/doc/cli/npm-cache.html | 2 +- deps/npm/html/doc/cli/npm-completion.html | 2 +- deps/npm/html/doc/cli/npm-config.html | 2 +- deps/npm/html/doc/cli/npm-dedupe.html | 2 +- deps/npm/html/doc/cli/npm-deprecate.html | 2 +- deps/npm/html/doc/cli/npm-docs.html | 11 +- deps/npm/html/doc/cli/npm-edit.html | 2 +- deps/npm/html/doc/cli/npm-explore.html | 2 +- deps/npm/html/doc/cli/npm-help-search.html | 2 +- deps/npm/html/doc/cli/npm-help.html | 2 +- deps/npm/html/doc/cli/npm-init.html | 2 +- deps/npm/html/doc/cli/npm-install.html | 2 +- deps/npm/html/doc/cli/npm-link.html | 2 +- deps/npm/html/doc/cli/npm-ls.html | 4 +- deps/npm/html/doc/cli/npm-outdated.html | 2 +- deps/npm/html/doc/cli/npm-owner.html | 2 +- deps/npm/html/doc/cli/npm-pack.html | 2 +- deps/npm/html/doc/cli/npm-prefix.html | 2 +- deps/npm/html/doc/cli/npm-prune.html | 2 +- deps/npm/html/doc/cli/npm-publish.html | 2 +- deps/npm/html/doc/cli/npm-rebuild.html | 2 +- deps/npm/html/doc/cli/npm-repo.html | 2 +- deps/npm/html/doc/cli/npm-restart.html | 2 +- deps/npm/html/doc/cli/npm-rm.html | 2 +- deps/npm/html/doc/cli/npm-root.html | 2 +- deps/npm/html/doc/cli/npm-run-script.html | 2 +- deps/npm/html/doc/cli/npm-search.html | 15 +- deps/npm/html/doc/cli/npm-shrinkwrap.html | 2 +- deps/npm/html/doc/cli/npm-star.html | 2 +- deps/npm/html/doc/cli/npm-stars.html | 2 +- deps/npm/html/doc/cli/npm-start.html | 2 +- deps/npm/html/doc/cli/npm-stop.html | 2 +- deps/npm/html/doc/cli/npm-submodule.html | 2 +- deps/npm/html/doc/cli/npm-tag.html | 2 +- deps/npm/html/doc/cli/npm-test.html | 2 +- deps/npm/html/doc/cli/npm-uninstall.html | 2 +- deps/npm/html/doc/cli/npm-unpublish.html | 2 +- deps/npm/html/doc/cli/npm-update.html | 2 +- deps/npm/html/doc/cli/npm-version.html | 2 +- deps/npm/html/doc/cli/npm-view.html | 2 +- deps/npm/html/doc/cli/npm-whoami.html | 2 +- deps/npm/html/doc/cli/npm.html | 4 +- deps/npm/html/doc/files/npm-folders.html | 2 +- deps/npm/html/doc/files/npm-global.html | 2 +- deps/npm/html/doc/files/npm-json.html | 2 +- deps/npm/html/doc/files/npmrc.html | 2 +- deps/npm/html/doc/files/package.json.html | 2 +- deps/npm/html/doc/index.html | 2 +- deps/npm/html/doc/misc/npm-coding-style.html | 2 +- deps/npm/html/doc/misc/npm-config.html | 4 +- deps/npm/html/doc/misc/npm-developers.html | 2 +- deps/npm/html/doc/misc/npm-disputes.html | 2 +- deps/npm/html/doc/misc/npm-faq.html | 2 +- deps/npm/html/doc/misc/npm-index.html | 2 +- deps/npm/html/doc/misc/npm-registry.html | 2 +- deps/npm/html/doc/misc/npm-scripts.html | 2 +- deps/npm/html/doc/misc/removing-npm.html | 2 +- deps/npm/html/doc/misc/semver.html | 2 +- deps/npm/lib/adduser.js | 6 +- deps/npm/lib/docs.js | 17 +- deps/npm/lib/install.js | 21 +- deps/npm/lib/prune.js | 14 +- deps/npm/lib/search.js | 167 +- deps/npm/lib/utils/lifecycle.js | 17 +- deps/npm/man/man1/npm-docs.1 | 9 +- deps/npm/man/man1/npm-ls.1 | 2 +- deps/npm/man/man1/npm-search.1 | 20 +- deps/npm/man/man1/npm.1 | 2 +- deps/npm/man/man3/npm.3 | 2 +- deps/npm/man/man7/npm-config.7 | 2 +- deps/npm/node_modules/columnify/Readme.md | 189 ++ deps/npm/node_modules/columnify/index.js | 210 ++ deps/npm/node_modules/columnify/package.json | 42 + deps/npm/node_modules/columnify/utils.js | 76 + .../node_modules/promzard/LICENSE | 15 + .../node_modules/promzard/package.json | 5 +- .../node-gyp/gyp/pylib/gyp/xcode_emulation.py | 32 +- deps/npm/node_modules/node-gyp/package.json | 10 +- .../npm-registry-client/lib/adduser.js | 2 +- .../node_modules/couch-login/package.json | 6 +- .../npm-registry-client/package.json | 10 +- deps/npm/node_modules/npmconf/config-defs.js | 91 +- deps/npm/node_modules/npmconf/package.json | 6 +- .../normalize-package-data/lib/typos.json | 1 + .../normalize-package-data/package.json | 4 +- .../normalize-package-data/test/typo.js | 2 + .../read-package-json/package.json | 10 +- .../read-package-json/read-json.js | 23 +- .../test/fixtures/not-json.css | 2 +- .../read-package-json/test/non-json.js | 3 +- deps/npm/node_modules/rimraf/package.json | 6 +- deps/npm/node_modules/rimraf/rimraf.js | 4 +- .../node_modules/readable-stream/.npmignore | 5 + .../readable-stream/examples/CAPSLOCKTYPER.JS | 32 - .../readable-stream/examples/typer-fsr.js | 15 - .../readable-stream/examples/typer.js | 17 - .../sha/node_modules/readable-stream/fs.js | 1705 ----------------- .../readable-stream/lib/_stream_readable.js | 4 +- .../readable-stream/lib/_stream_transform.js | 2 +- .../readable-stream/lib/_stream_writable.js | 2 + .../node_modules/readable-stream/package.json | 11 +- .../readable-stream/test/common.js | 191 -- .../readable-stream/test/fixtures/x1024.txt | 1 - .../test/simple/test-stream2-basic.js | 475 ----- .../test/simple/test-stream2-compatibility.js | 50 - .../test/simple/test-stream2-finish-pipe.js | 41 - .../simple/test-stream2-large-read-stall.js | 82 - .../test/simple/test-stream2-objects.js | 348 ---- .../test-stream2-pipe-error-handling.js | 105 - .../test/simple/test-stream2-push.js | 138 -- .../simple/test-stream2-read-sync-stack.js | 54 - ...st-stream2-readable-empty-buffer-no-eof.js | 119 -- .../simple/test-stream2-readable-from-list.js | 120 -- .../test-stream2-readable-legacy-drain.js | 75 - .../test-stream2-readable-non-empty-end.js | 78 - .../test/simple/test-stream2-set-encoding.js | 312 --- .../test/simple/test-stream2-transform.js | 435 ----- .../test/simple/test-stream2-unpipe-drain.js | 76 - .../test/simple/test-stream2-unpipe-leak.js | 74 - .../test/simple/test-stream2-writable.js | 328 ---- .../sha/node_modules/readable-stream/zlib.js | 452 ----- deps/npm/node_modules/sha/package.json | 3 +- deps/npm/package.json | 16 +- deps/npm/test/tap/ignore-install-link.js | 125 ++ deps/npm/test/tap/outdated-git.js | 3 +- deps/npm/test/tap/outdated-git/package.json | 3 +- deps/npm/test/tap/outdated-json.js | 5 +- deps/npm/test/tap/prepublish.js | 11 +- .../test/tap/scripts-whitespace-windows.js | 71 + .../tap/scripts-whitespace-windows/README.md | 1 + .../scripts-whitespace-windows/dep/README.md | 1 + .../scripts-whitespace-windows/dep/bin/foo | 4 + .../dep/package.json | 6 + .../scripts-whitespace-windows/package.json | 11 + deps/npm/test/tap/startstop.js | 6 +- 183 files changed, 1190 insertions(+), 5712 deletions(-) create mode 100644 deps/npm/node_modules/columnify/Readme.md create mode 100644 deps/npm/node_modules/columnify/index.js create mode 100644 deps/npm/node_modules/columnify/package.json create mode 100644 deps/npm/node_modules/columnify/utils.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/LICENSE create mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/.npmignore delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/examples/CAPSLOCKTYPER.JS delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/examples/typer-fsr.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/examples/typer.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/fs.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/common.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/fixtures/x1024.txt delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-basic.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-compatibility.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-finish-pipe.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-large-read-stall.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-objects.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-pipe-error-handling.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-push.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-read-sync-stack.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-readable-empty-buffer-no-eof.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-readable-from-list.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-readable-legacy-drain.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-readable-non-empty-end.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-set-encoding.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-transform.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-unpipe-drain.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-unpipe-leak.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/test/simple/test-stream2-writable.js delete mode 100644 deps/npm/node_modules/sha/node_modules/readable-stream/zlib.js create mode 100644 deps/npm/test/tap/ignore-install-link.js create mode 100644 deps/npm/test/tap/scripts-whitespace-windows.js create mode 100644 deps/npm/test/tap/scripts-whitespace-windows/README.md create mode 100644 deps/npm/test/tap/scripts-whitespace-windows/dep/README.md create mode 100644 deps/npm/test/tap/scripts-whitespace-windows/dep/bin/foo create mode 100644 deps/npm/test/tap/scripts-whitespace-windows/dep/package.json create mode 100644 deps/npm/test/tap/scripts-whitespace-windows/package.json diff --git a/deps/npm/doc/cli/npm-docs.md b/deps/npm/doc/cli/npm-docs.md index cece021f11..5db3d9f7e9 100644 --- a/deps/npm/doc/cli/npm-docs.md +++ b/deps/npm/doc/cli/npm-docs.md @@ -3,17 +3,18 @@ npm-docs(1) -- Docs for a package in a web browser maybe ## SYNOPSIS - npm docs + npm docs [ [ ...]] npm docs (with no args in a package dir) - npm home + npm home [ [ ...]] npm home (with no args in a package dir) ## DESCRIPTION This command tries to guess at the likely location of a package's documentation URL, and then tries to open it using the `--browser` -config param. If no package name is provided, it will search for -a `package.json` in the current folder and use the `name` property. +config param. You can pass multiple package names at once. If no +package name is provided, it will search for a `package.json` in +the current folder and use the `name` property. ## CONFIGURATION diff --git a/deps/npm/doc/cli/npm-search.md b/deps/npm/doc/cli/npm-search.md index 79807f994e..4757ad3202 100644 --- a/deps/npm/doc/cli/npm-search.md +++ b/deps/npm/doc/cli/npm-search.md @@ -3,7 +3,7 @@ npm-search(1) -- Search for packages ## SYNOPSIS - npm search [search terms ...] + npm search [--long] [search terms ...] npm s [search terms ...] npm se [search terms ...] @@ -15,6 +15,18 @@ If a term starts with `/`, then it's interpreted as a regular expression. A trailing `/` will be ignored in this case. (Note that many regular expression characters must be escaped or quoted in most shells.) +## CONFIGURATION + +### long + +* Default: false +* Type: Boolean + +Display full package descriptions and other long text across multiple +lines. When disabled (default) search results are truncated to fit +neatly on a single line. Modules with extremely long names will +fall on multiple lines. + ## SEE ALSO * npm-registry(7) diff --git a/deps/npm/doc/misc/npm-config.md b/deps/npm/doc/misc/npm-config.md index ff762888bc..485d4ca450 100644 --- a/deps/npm/doc/misc/npm-config.md +++ b/deps/npm/doc/misc/npm-config.md @@ -480,7 +480,7 @@ colored output if it is a TTY. * Default: false * Type: Boolean -Show extended information in `npm ls` +Show extended information in `npm ls` and `npm search`. ### message diff --git a/deps/npm/html/doc/README.html b/deps/npm/html/doc/README.html index a16a140ede..c7c5514596 100644 --- a/deps/npm/html/doc/README.html +++ b/deps/npm/html/doc/README.html @@ -239,7 +239,7 @@ will no doubt tell you to put the output in a gist or email.

- + diff --git a/deps/npm/html/doc/cli/npm-adduser.html b/deps/npm/html/doc/cli/npm-adduser.html index 869442b46d..f3973e1ac9 100644 --- a/deps/npm/html/doc/cli/npm-adduser.html +++ b/deps/npm/html/doc/cli/npm-adduser.html @@ -39,7 +39,7 @@ authorize on a new machine.

- + diff --git a/deps/npm/html/doc/files/npm-folders.html b/deps/npm/html/doc/files/npm-folders.html index 8fca0da252..04431718c5 100644 --- a/deps/npm/html/doc/files/npm-folders.html +++ b/deps/npm/html/doc/files/npm-folders.html @@ -205,7 +205,7 @@ cannot be found elsewhere. See packa - +