Socket
Socket
Sign inDemoInstall

detect-node

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

2

index.js

@@ -5,3 +5,3 @@ module.exports = false;

try {
module.exports = Object.prototype.toString.call(process) === '[object process]'
module.exports = Object.prototype.toString.call(global.process) === '[object process]'
} catch(e) {}
{
"name": "detect-node",
"version": "2.0.1",
"version": "2.0.2",
"description": "Detect Node.JS (as opposite to browser environment) (reliable)",

@@ -5,0 +5,0 @@ "main": "index.js",

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