node-nfcpy-id
Advanced tools
Comparing version 0.0.4 to 0.0.5
19
index.js
@@ -26,2 +26,12 @@ 'use strict'; | ||
['SIGHUP', 'SIGINT', 'exit'].forEach((event) => { | ||
process.on(event, () => { | ||
if (this._firstLaunch) { | ||
this._exiting = true; | ||
this.sendSignal('SIGHUP'); | ||
console.log("aaaaaa"); | ||
} | ||
}); | ||
}); | ||
return this; | ||
@@ -57,11 +67,2 @@ } | ||
}); | ||
['SIGHUP', 'SIGINT', 'exit'].forEach((event) => { | ||
process.on(event, () => { | ||
if (!this._exiting) { | ||
this._exiting = true; | ||
this.sendSignal('SIGHUP'); | ||
} | ||
}); | ||
}); | ||
} | ||
@@ -68,0 +69,0 @@ |
{ | ||
"name": "node-nfcpy-id", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Read the ID of an NFC Tag with nfcpy", | ||
@@ -23,3 +23,7 @@ "main": "index.js", | ||
"python-shell": "^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.24.1", | ||
"babel-preset-es2015": "^6.24.1" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
80885
25
2466
2