diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8ffd227..0000000 --- a/.travis.yml +++ /dev/null @@ -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" diff --git a/package.json b/package.json index b963b43..0f36b1e 100644 --- a/package.json +++ b/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" } } diff --git a/src/interrupt.js b/src/interrupt.js index 1081a80..b4f204c 100644 --- a/src/interrupt.js +++ b/src/interrupt.js @@ -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()