Socket
Socket
Sign inDemoInstall

process

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.2 to 0.6.0

7

browser.js

@@ -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');

2

package.json

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc