@jcoreio/poll
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,1 @@ | ||
{"name":"@jcoreio/poll","version":"1.0.0","description":"handy promised-based polling API","main":"lib/index.js","scripts":{"lint":"eslint src test","lint:fix":"eslint --fix src test","lint:watch":"esw --watch src test","flow":"flow","flow:coverage":"for file in src/**.js test/**.js; do echo $file; flow coverage $file; done","flow:watch":"flow-watch -e js,js.flow,flowconfig --ignore lib/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/","build":"rimraf lib && babel src --out-dir lib && flow-copy-source -v src/ lib","test":"NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha","test:watch":"mocha --watch $npm_package_config_mocha","codecov":"nyc report --reporter=text-lcov > coverage.lcov; codecov","commitmsg":"commitlint -e $GIT_PARAMS","precommit":"npm run lint && flow","prepush":"npm test","prepublish":"npm run lint && flow && npm test && npm run build","open:coverage":"open coverage/lcov-report/index.html","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"config":{"mocha":"--compilers js:babel-core/register ./test/**/*.js","commitizen":{"path":"cz-conventional-changelog"}},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"sourceMap":false,"instrument":false},"repository":{"type":"git","url":"https://github.com/jcoreio/poll.git"},"keywords":["es2015"],"author":"Andy Edwards","license":"MIT","bugs":{"url":"https://github.com/jcoreio/poll/issues"},"homepage":"https://github.com/jcoreio/poll#readme","devDependencies":{"@commitlint/cli":"^5.2.5","@commitlint/config-conventional":"^5.2.3","@jedwards1211/eslint-config":"^1.0.0","@jedwards1211/eslint-config-flow":"^1.0.0","babel-cli":"^6.23.0","babel-core":"^6.23.1","babel-eslint":"^7.1.1","babel-plugin-istanbul":"^4.0.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.22.0","babel-preset-flow":"^6.23.0","babel-preset-stage-1":"^6.22.0","babel-register":"^6.23.0","babel-runtime":"^6.23.0","chai":"^3.5.0","codecov":"^2.3.0","copy":"^0.3.0","eslint":"^3.15.0","eslint-plugin-flowtype":"^2.30.0","eslint-watch":"^3.0.0","flow-bin":"^0.61.0","flow-copy-source":"^1.2.1","flow-watch":"^1.1.0","husky":"^0.13.1","istanbul":"^0.4.5","mocha":"^3.2.0","nyc":"^10.1.2","rimraf":"^2.6.0","semantic-release":"^8.2.0"}} | ||
{"name":"@jcoreio/poll","version":"1.0.1","description":"handy promised-based polling API","main":"lib/index.js","scripts":{"lint":"eslint src test","lint:fix":"eslint --fix src test","lint:watch":"esw --watch src test","flow":"flow","flow:coverage":"for file in src/**.js test/**.js; do echo $file; flow coverage $file; done","flow:watch":"flow-watch -e js,js.flow,flowconfig --ignore lib/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/","build":"rimraf lib && babel src --out-dir lib && flow-copy-source -v src/ lib","test":"NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha","test:watch":"mocha --watch $npm_package_config_mocha","codecov":"nyc report --reporter=text-lcov > coverage.lcov; codecov","commitmsg":"commitlint -e $GIT_PARAMS","precommit":"npm run lint && flow","prepush":"npm test","prepublish":"npm run lint && flow && npm test && npm run build","open:coverage":"open coverage/lcov-report/index.html","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"config":{"mocha":"--compilers js:babel-core/register ./test/**/*.js","commitizen":{"path":"cz-conventional-changelog"}},"nyc":{"include":["src/**/*.js"],"require":["babel-register"],"sourceMap":false,"instrument":false},"repository":{"type":"git","url":"https://github.com/jcoreio/poll.git"},"keywords":["es2015"],"author":"Andy Edwards","license":"MIT","bugs":{"url":"https://github.com/jcoreio/poll/issues"},"homepage":"https://github.com/jcoreio/poll#readme","devDependencies":{"@commitlint/cli":"^5.2.5","@commitlint/config-conventional":"^5.2.3","@jedwards1211/eslint-config":"^1.0.0","@jedwards1211/eslint-config-flow":"^1.0.0","babel-cli":"^6.23.0","babel-core":"^6.23.1","babel-eslint":"^7.1.1","babel-plugin-istanbul":"^4.0.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.22.0","babel-preset-flow":"^6.23.0","babel-preset-stage-1":"^6.22.0","babel-register":"^6.23.0","babel-runtime":"^6.23.0","chai":"^3.5.0","codecov":"^2.3.0","copy":"^0.3.0","eslint":"^3.15.0","eslint-plugin-flowtype":"^2.30.0","eslint-watch":"^3.0.0","flow-bin":"^0.63.1","flow-copy-source":"^1.2.1","flow-watch":"^1.1.0","husky":"^0.13.1","istanbul":"^0.4.5","mocha":"^3.2.0","nyc":"^10.1.2","rimraf":"^2.6.0","semantic-release":"^8.2.0"}} |
@@ -26,3 +26,3 @@ // @flow | ||
let timeout: ?number | ||
let timeoutId: ?number | ||
let timeoutId: ?any | ||
let lastError: ?Error | ||
@@ -29,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
188884