New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-persistent-software

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-persistent-software - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+1
-1
package.json
{
"name": "node-persistent-software",
"version": "1.0.0",
"version": "1.0.1",
"description": "Spawn a software and keep it running",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -72,3 +72,3 @@ # node-persistent-software

}).on("end", () => {
console.log("/!\ Firefox is stopped and cannot be restarted /!\");
console.log("/!\\ Firefox is stopped and cannot be restarted /!\\");
}).start();

@@ -97,3 +97,3 @@

}).on("end", () => {
console.log("/!\ Firefox is stopped and cannot be restarted /!\");
console.log("/!\\ Firefox is stopped and cannot be restarted /!\\");
}).start();

@@ -100,0 +100,0 @@ ```

@@ -142,2 +142,45 @@

/*
// personnal check with firefox on Windows, based on the documentation
it("should check normal running with infinite and end", () => {
return new Promise(() => {
var ps = new PersistantSoftware(
"C:\\Program Files\\Mozilla Firefox\\firefox.exe",
[ "https://www.npmjs.com/package/node-persistent-software" ]
).on("error", (msg) => {
(1, console).log(msg);
})
.infinite()
.on("firststart", () => {
(1, console).log("Firefox is started for the first time !");
}).on("restart", () => {
(1, console).log("Firefox is started again...");
}).on("start", () => {
(1, console).log("anyway, Firefox is started.");
})
.on("stop", () => {
(1, console).log("Firefox is stopped, trying to restart...");
if (1 <= ps.successCountRun) {
ps.end();
}
}).on("end", () => {
(1, console).log("/!\\ Firefox is stopped and cannot be restarted /!\\");
}).start();
});
}).timeout(1 * 1000);
*/
});