0.3.0 bump version for 3-2020 deployment of light code, update deps

master
David Kebler 2020-03-15 16:12:44 -07:00
parent 279112d360
commit 3868505d3e
3 changed files with 7 additions and 21 deletions

View File

@ -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"

View File

@ -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"
}
}

View File

@ -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()