0.3.0 bump version for 3-2020 deployment of light code, update deps
parent
279112d360
commit
3868505d3e
14
.travis.yml
14
.travis.yml
|
@ -1,14 +0,0 @@
|
|||
language: node_js
|
||||
|
||||
node_js:
|
||||
- '4.0'
|
||||
- '5.0'
|
||||
- '6.0'
|
||||
- 'node'
|
||||
|
||||
sudo: false
|
||||
|
||||
script: npm test
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
|
12
package.json
12
package.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@uci/interrupt",
|
||||
"main": "src",
|
||||
"version": "0.2.26",
|
||||
"version": "0.3.0",
|
||||
"description": "a class for adding interrupt processesing for gpio pins on Raspberry Pi and Similar SBCs",
|
||||
"scripts": {
|
||||
"single": "node -r esm examples/single",
|
||||
|
@ -32,15 +32,15 @@
|
|||
},
|
||||
"homepage": "https://github.com/uCOMmandIt/uci-interrrupt#readme",
|
||||
"dependencies": {
|
||||
"@uci-utils/logger": "^0.0.15",
|
||||
"@uci/base": "^0.1.30",
|
||||
"@uci-utils/logger": "^0.0.16",
|
||||
"@uci/base": "^0.5.0",
|
||||
"death": "^1.1.0",
|
||||
"onoff": "^4.1.4"
|
||||
"onoff": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "^4.2.0",
|
||||
"esm": "^3.2.25",
|
||||
"mocha": "^6.2.0",
|
||||
"nodemon": "^1.19.2"
|
||||
"mocha": "^7.1.0",
|
||||
"nodemon": "^2.0.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,7 +127,7 @@ class Interrupt extends Base {
|
|||
packet.id = this.id
|
||||
packet.pin = this.pin_num
|
||||
packet.error = err
|
||||
packet.state = value
|
||||
packet.state = value // state of gpio pin
|
||||
packet.count = this.count
|
||||
packet.timeStamp = Date.now()
|
||||
packet.dateTime = new Date().toString()
|
||||
|
|
Loading…
Reference in New Issue