Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

forever

Package Overview
Dependencies
Maintainers
0
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

forever - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

7

lib/forever.js

@@ -41,3 +41,3 @@ /*

forever.initialized = false;
forever.root = path.join(process.env.HOME, '.forever');
forever.root = path.join(process.env.HOME || '/root', '.forever');
forever.config = new nconf.stores.File({ file: path.join(forever.root, 'config.json') });

@@ -288,5 +288,4 @@ forever.Forever = forever.Monitor = require('./forever/monitor').Monitor;

getAllProcesses(function (processes) {
var procs = /(\d+)/.test(target)
? forever.findByIndex(target, processes)
: forever.findByScript(target, processes);
var procs = forever.findByIndex(target, processes)
|| forever.findByScript(target, processes);

@@ -293,0 +292,0 @@ if (procs && procs.length > 0) {

@@ -5,3 +5,3 @@ {

"description": "A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever)",
"version": "0.6.0",
"version": "0.6.1",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",

@@ -8,0 +8,0 @@ "contributors": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc