process
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -45,2 +45,9 @@ // shim for using process in browser | ||
function noop() {} | ||
process.on = noop; | ||
process.once = noop; | ||
process.off = noop; | ||
process.emit = noop; | ||
process.binding = function (name) { | ||
@@ -47,0 +54,0 @@ throw new Error('process.binding is not supported'); |
@@ -8,3 +8,3 @@ { | ||
], | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"repository": { | ||
@@ -11,0 +11,0 @@ "type": "git", |
@@ -7,2 +7,10 @@ # process | ||
## browser implementation | ||
The goal of this module is not to be a full-fledged alternative to the builtin process module. This module mostly exists to provide the nextTick functionality and nothing more. We keep this module lean because it will often be included by default by tools like browserify when it detects a module has used the `process` global. | ||
If you are looking to provide other process methods, I suggest you monkey patch them onto the process global in your app. A list of user created patches is below. | ||
* [hrtime](https://github.com/kumavis/browser-process-hrtime) | ||
## package manager notes | ||
@@ -9,0 +17,0 @@ |
4128
51
24