Coder Social home page Coder Social logo

chrisguttandin / worker-timers Goto Github PK

View Code? Open in Web Editor NEW
540.0 5.0 26.0 16.95 MB

A replacement for setInterval() and setTimeout() which works in unfocused windows.

License: MIT License

JavaScript 85.46% TypeScript 13.49% Shell 1.05%
clearinterval cleartimeout interval setinterval settimeout web-workers window-timers

worker-timers's Introduction

logo

worker-timers

A replacement for setInterval() and setTimeout() which works in unfocused windows.

version

Motivation

For scripts that rely on WindowTimers like setInterval() or setTimeout() things get confusing when the site which the script is running on loses focus. Chrome, Firefox and maybe others throttle the frequency at which they invoke those timers to a maximum of once per second in such a situation. However this is only true for the main thread and does not affect the behavior of Web Workers. Therefore it is possible to avoid the throttling by using a worker to do the actual scheduling. This is exactly what worker-timers does.

Getting Started

worker-timers is available as a package on npm. Run the following command to install it:

npm install worker-timers

You can then import the exported functions in your code like this:

import { clearInterval, clearTimeout, setInterval, setTimeout } from 'worker-timers';

The usage is exactly the same (despite of the error handling and the differentiation between intervals and timeouts) as with the corresponding functions on the global scope.

var intervalId = setInterval(() => {
    // do something many times
}, 100);

clearInterval(intervalId);

var timeoutId = setTimeout(() => {
    // do something once
}, 100);

clearTimeout(timeoutId);

Error Handling

The native WindowTimers are very forgiving. Calling clearInterval() or clearTimeout() without a value or with an id which doesn't exist will get ignored. In contrast to that worker-timers will throw an error when doing so.

// This will return undefined.
window.clearTimeout('not-a-timeout-id');

// This will throw an error.
clearTimeout('not-a-timeout-id');

Differentiation between Intervals and Timeouts

Another difference between worker-timers and WindowTimers is that this package maintains two separate lists to store the ids of intervals and timeouts internally. WindowTimers do only have one list which allows intervals to be cancelled by calling clearTimeout() and the other way round. This is not possible with worker-timers. As mentioned above worker-timers will throw an error when provided with an unknown id.

const periodicWork = () => {};

// This will stop the interval.
const windowId = window.setInterval(periodicWork, 100);
window.clearTimeout(windowId);

// This will throw an error.
const workerId = setInterval(periodicWork, 100);
clearTimeout(workerId);

Server-Side Rendering

This package is intended to be used in the browser and requires the browser to have support for Web Workers. It does not contain any fallback which would allow it to run in another environment like Node.js which doesn't know about Web Workers. This is to prevent this package from silently failing in an unsupported browser. But it also means that it needs to be replaced when used in a web project which also supports server-side rendering. The replacement should be straightforward, at least in theory, because each function has the exact same signature as its corresponding builtin function. But the configuration of a real-life project can be tricky. For a concrete example, please have a look at the worker-timers-ssr-example provided by @newyork-anthonyng. It shows the usage inside of a server-side rendered React app.

Angular (& Zone.js)

If worker-timers is used inside of an Angular app and Zone.js (which is the default) is used to detect changes, the behavior of worker-timers can be confusing. Angular is using Zone.js which is patching the native setInterval() and setTimeout() functions to get notified about the invocation of their callback functions. But Angular (more specifically Zone.js) is not aware of worker-timers and doesn't get notified about any callback invocations. Therefore Angular needs to be notified manually about state changes that occur inside of a callback function which was scheduled with the help of worker-timers.

worker-timers's People

Contributors

chrisguttandin avatar greenkeeper[bot] avatar greenkeeperio-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

worker-timers's Issues

An in-range update of worker-timers-broker is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.0.17 of worker-timers-broker was just published.

Branch Build failing 🚨
Dependency worker-timers-broker
Current Version 4.0.16
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 3 commits.

  • 5404b35 4.0.17
  • 35a1dbf build(config): update Travis configuration
  • 83f622f fix(package): update fast-unique-numbers to version 1.1.5

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of typescript is breaking the build 🚨

Version 2.2.1 of typescript just got published.

Branch Build failing 🚨
Dependency typescript
Current Version 2.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As typescript is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes TypeScript 2.2

For release notes, check out the release announcement

For new features, check out the What's new in TypeScript 2.2.

For breaking changes, check out the Breaking changes in TypeScript 2.2 page.

For the complete list of fixed issues, check out the issues fixed in Typescript 2.2 RC and after Typescript 2.2 RC.

Download:

Special thanks to all contributors to this release:

  • Alexander Rusakov
  • Anatoly Ressin
  • Andreas Martin
  • Andrew Ochsner
  • Basarat Ali Syed
  • Dahan Gong
  • Dan Corder
  • David Sheldrick
  • @falsandtru
  • @flowmemo
  • Herrington Darkholme
  • Homa Wong
  • Joel Day
  • Kagami Sascha Rosylight
  • Klaus Meinhardt
  • Kārlis Gaņģis
  • Manish Giri
  • Masahiro Wakame
  • Raj Dosanjh
  • Slawomir Sadziak
  • Tingan Ho
  • Yuichi Nukiyama
Commits

The new version differs by 218 commits .

  • a29e8cf Update LKG
  • 1120971 Fix #14136: Make Object.create return any all the time
  • 6b5c448 Merge pull request #14131 from Microsoft/release-2.2_default_import_name
  • 125a8fa Merge pull request #14133 from aozgaa/MissingPropertyFix-2.2
  • b62b467 add periods
  • f2770a1 widen type, index signature, and add tests
  • a4cf12e cleanup
  • d9e0fff use getBaseTypeOfLiteralType
  • 150e2fb add tests
  • f133a67 wip testing
  • 2187e67 Get Widened Type
  • 533262c wip
  • ee13f31 Handle undefined import name
  • 510b384 Update LKG
  • 08fe20e [release-2.2] use separate process to probe if drive is safe to watch (#14098) (#14124)

There are 218 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

SetTimeout Method Doesn't Work When Laptop Asleep

I would like to execute a method after a given timeout period (even if the user's laptop is asleep), but that does not happen with the workerTimers.setTimeout method. However, workerTimers.setInterval does in fact execute even when the user's laptop is asleep.

Is this inconsistency between the two methods' functionality intentional? or am I missing something?

The callback passed to the workerTimers.setTimeout method is not executed until the laptop is woken up and the tab is brought into focus. Only then does the countdown for the timeout period seem to resume. Then once the remaining time in the timeout period is finished, the callback is executed.

Here is how setTimeout is called:

let timeoutId = workerTimers.setTimeout(() => {
       dispatch(methodToCall)
}, 180000)

The workerTimers.setInterval function does not have this problem. The interval continues to execute even while the laptop is asleep, which is our desired functionality for the setTimeout method as well.

Here is how setInterval is called:

let intervalId = workerTimers.setInterval(() => {
     console.log(`Time is: ${new Date().getTime()}`);
 }, 2000)

Environment details:

  • Google Chrome: 65.0
  • Node: v8.6.0
  • "react": "15.6.2",
  • "worker-timers": "4.0.30"

An in-range update of sinon is breaking the build 🚨

Version 4.1.6 of sinon was just published.

Branch Build failing 🚨
Dependency sinon
Current Version 4.1.5
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 10 commits.

  • 68c37ed Update docs/changelog.md and set new release id in docs/_config.yml
  • cd8ae51 Add release documentation for v4.1.6
  • 29e80be 4.1.6
  • a5c59a5 Update History.md and AUTHORS for new release
  • 0ae60b6 Merge pull request #1653 from mroderick/upgrade-dependencies
  • dcd4191 Upgrade browserify to latest
  • a316f02 Upgrade markdownlint-cli to latest
  • 78ebdb3 Upgrade lint-staged to latest
  • fcf967b Upgrade dependency supports-color
  • 7c3cb4f Enable StaleBot with default configuration (#1649)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-broker is breaking the build 🚨

Version 4.0.31 of worker-timers-broker was just published.

Branch Build failing 🚨
Dependency worker-timers-broker
Current Version 4.0.30
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 50 commits.

  • 785c261 4.0.31
  • 8e6e539 fix(package): update worker-timers-worker to version 4.0.20
  • 233a324 fix(package): update webpack to version 4.17.1
  • 33891bd fix(package): update tslint-config-holy-grail to version 33.0.12
  • 95427d3 fix(package): update tsconfig-holy-grail to version 6.0.0
  • 57c8d78 fix(package): update fast-unique-numbers to version 2.1.1
  • 85038bf build(config): update grunt config
  • ba6842f fix(package): update webpack to version 4.17.0
  • 78e54dd fix(package): update grunt-cli to version 1.3.1
  • 1fa83b3 fix(package): update ts-loader to version 4.5.0
  • 36063d6 fix(package): update eslint to version 5.4.0
  • d8e044b fix(package): update tslint-config-holy-grail to version 33.0.11
  • 37f1caf fix(package): update tsconfig-holy-grail to version 5.0.13
  • 35194e5 fix(package): update grunt-cli to version 1.3.0
  • 785825b fix(package): update tslint-config-holy-grail to version 33.0.10

There are 50 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of tslint-config-holy-grail is breaking the build 🚨

Version 34.0.5 of tslint-config-holy-grail was just published.

Branch Build failing 🚨
Dependency tslint-config-holy-grail
Current Version 34.0.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tslint-config-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 4 commits.

  • 024f391 34.0.5
  • 9e7766f fix(package): update @angular/{common,compiler,core} to version 6.1.7
  • 3eb40ab fix(package): update @commitlint/config-angular to version 7.1.2
  • 030e474 fix(package): update @commitlint/cli to version 7.1.2

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-broker is breaking the build 🚨

Version 3.0.2 of worker-timers-broker just got published.

Branch Build failing 🚨
Dependency worker-timers-broker
Current Version 3.0.1
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 2 commits0.

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of karma-webpack is breaking the build 🚨

Version 3.0.1 of karma-webpack was just published.

Branch Build failing 🚨
Dependency karma-webpack
Current Version 3.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

karma-webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes v3.0.1

2018-09-01

Bug Fixes

  • karma-webpack: allow filename and chunkFilename to be overridden (config.output) (#336) (c256d87)
  • package: incorrect peerDependency on webpack >= v4.0.0 (peerDependencies) (c1c0ee2)
Commits

The new version differs by 3 commits.

  • 2309401 chore(release): 3.0.1
  • c1c0ee2 fix(package): incorrect peerDependency on webpack >= v4.0.0 (peerDependencies)
  • c256d87 fix(karma-webpack): allow filename and chunkFilename to be overridden (config.output) (#336)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webpack is breaking the build 🚨

Version 4.8.2 of webpack was just published.

Branch Build failing 🚨
Dependency webpack
Current Version 4.8.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v4.8.2

Bugfixes

  • WASM parser bugfixes
  • fix edge case when replacing top-level this in IIFE
  • avoid parser wasm many times
Commits

The new version differs by 26 commits.

  • c92eabd 4.8.2
  • 8d2f421 Merge pull request #7254 from xtuc/feat-remove-extra-wasm-decodings
  • e2c8f3d remove passing AST, redecode AST in Generator
  • 38456ea chore: bump webassemblyjs
  • 912a1a6 chore: update lock
  • 3be112b Merge remote-tracking branch 'upstream/master' into feat-remove-extra-wasm-decodings
  • 91b6480 chore: bump webassemblyjs
  • 0eeea0f Merge pull request #7266 from webpack/tests/remove_jade
  • 85ef634 remove _ast variable, add WeakMap
  • ea26eac Merge pull request #7257 from webpack/fix/7255
  • 9b37c6b Replace Jade by Pug
  • 78423b0 Update rc and deep-extend
  • 8bdc8ad refactor: remove type cast
  • d72f7c6 feat: store wasm ast on the module
  • d491fdc feat: uses new APIs

There are 26 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

Version 0.54.1 of rollup was just published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.54.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 4 commits.

  • 4bd7a0a 0.54.1
  • 77e3b44 Update changelog
  • 74de841 Merge pull request #1871 from KingHenne/more-ts-fixes
  • b413df4 Fix two more ts compiler errors based on emitted d.ts files

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-worker is breaking the build 🚨

Version 4.0.15 of worker-timers-worker was just published.

Branch Build failing 🚨
Dependency worker-timers-worker
Current Version 4.0.14
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-worker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 19 commits.

  • 02210f5 4.0.15
  • 2888d89 docs: add license file
  • d75e429 fix(package): update commitizen to version 2.10.1
  • 24ecb91 fix(package): update sinon to version 5.0.10
  • e7c32ea fix(package): update rollup to version 0.59.3
  • e22be0a fix(package): update commitizen to version 2.10.0
  • 1bc0ecd fix(package): update tslint-config-holy-grail to version 27.0.3
  • 3f41ec2 fix(package): update sinon-chai to version 3.1.0
  • c2d35c8 fix(package): update rollup to version 0.59.2
  • 4814912 fix(package): update greenkeeper-lockfile to version 1.15.1
  • 2fdc14f fix(package): update tslint-config-holy-grail to version 27.0.2
  • 2817154 fix(package): update tsconfig-holy-grail to version 4.0.17
  • 404eb4c fix(package): update mocha to version 5.2.0
  • e33b0dc fix(package): update tsconfig-holy-grail to version 4.0.16
  • 35cc9a2 fix(package): update lockfile

There are 19 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-broker is breaking the build 🚨

Version 4.0.20 of worker-timers-broker was just published.

Branch Build failing 🚨
Dependency worker-timers-broker
Current Version 4.0.19
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 3 commits.

  • 2d27609 4.0.20
  • 4bed4b0 fix(package): update rollup to version 0.59.0
  • a3d7af5 fix(package): update fast-unique-numbers to version 2.0.1

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of tslint-config-holy-grail is breaking the build 🚨

Version 29.0.4 of tslint-config-holy-grail was just published.

Branch Build failing 🚨
Dependency [tslint-config-holy-grail](https://github.com/chrisguttandin/tslint-config-holy-grail)
Current Version 29.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tslint-config-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 3 commits.

  • da60f9c 29.0.4
  • 1082487 fix(package): update rxjs-tslint-rules to version 4.4.2
  • 5e29185 fix(package): update lockfile

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-broker is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.0.16 of worker-timers-broker was just published.

Branch Build failing 🚨
Dependency worker-timers-broker
Current Version 4.0.15
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 11 commits.

  • 2753275 4.0.16
  • d3be4ec build(config): update Travis configuration
  • df1f7ea fix(package): update worker-timers-worker to version 4.0.13
  • a1b0e33 fix(package): update webpack to version 4.3.0
  • 45cc008 fix(package): update typescript to version 2.8.1
  • ebb652c fix(package): update tslint-config-holy-grail to version 23.0.4
  • a2d8b7f fix(package): update sinon to version 4.4.9
  • a1a818c build(config): update Travis configuration
  • 8eb830a build(config): update Travis configuration
  • c765f42 fix(package): update tsconfig-holy-grail to version 4.0.2
  • dfae033 fix(package): update mocha to version 5.0.5

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

Version 0.55.3 of rollup was just published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.55.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 5 commits.

  • 027d673 0.55.3
  • 408b42c Update changelog
  • 4de39c8 Remove opencollective dependency
  • 593a43e Remove Codecov badge as we are not running coverage at the moment
  • 2de8ae3 Fix some links

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of babel-loader is breaking the build 🚨

The devDependency babel-loader was updated from 8.0.3 to 8.0.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

babel-loader is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-worker is breaking the build 🚨

Version 4.0.18 of worker-timers-worker was just published.

Branch Build failing 🚨
Dependency [worker-timers-worker](https://github.com/chrisguttandin/worker-timers-worker)
Current Version 4.0.17
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-worker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 44 commits.

  • ff526ec 4.0.18
  • 6050d95 fix(package): update tslib to version 1.9.3
  • 23bc07d fix(package): update tslint-config-holy-grail to version 30.0.0
  • d323621 fix(package): update rollup to version 0.61.1
  • adfa95e fix(package): update karma to version 2.0.4
  • a8d7ea0 fix(package): update tslint-config-holy-grail to version 29.0.5
  • b7d5eae fix(package): update rollup to version 0.61.0
  • 98352f8 fix(package): update uglifyjs-webpack-plugin to version 1.2.6
  • f56be89 fix(package): update tsconfig-holy-grail to version 5.0.0
  • e61c0f2 fix(package): update tslint-config-holy-grail to version 29.0.4
  • 13a6bbb fix(package): update tsconfig-holy-grail to version 4.0.25
  • 130dd18 fix(package): update karma to version 2.0.3
  • ca5cd6f fix(package): update lockfile
  • beb20ff fix(package): update tslint-config-holy-grail to version 29.0.3
  • 0cb9d29 fix(package): update tsconfig-holy-grail to version 4.0.24

There are 44 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of tslint-config-holy-grail is breaking the build 🚨

Version 22.0.1 of tslint-config-holy-grail was just published.

Branch Build failing 🚨
Dependency tslint-config-holy-grail
Current Version 22.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tslint-config-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 3 commits.

  • 404b298 22.0.1
  • fe86a06 fix(package): update @angular/{common,compiler,core,platform-browser,platform-browser-dynamic} to version 5.2.2
  • 51872d0 fix(package): update greenkeeper-lockfile to version 1.13.1

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

An in-range update of worker-timers-broker is breaking the build 🚨

Version 4.0.29 of worker-timers-broker was just published.

Branch Build failing 🚨
Dependency worker-timers-broker
Current Version 4.0.28
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 30 commits.

  • 129bf1e 4.0.29
  • 37af882 fix(package): update tslint-config-holy-grail to version 32.0.1
  • 33879ca fix(package): update rollup-plugin-babel to version 3.0.6
  • ca393df fix(package): update fast-unique-numbers to version 2.1.0
  • 99a3f79 fix(package): update tslint-config-holy-grail to version 32.0.0
  • 004e00e fix(package): update webpack to version 4.14.0
  • 5b0a222 fix(package): update tsconfig-holy-grail to version 5.0.4
  • 7272750 fix(package): update webpack to version 4.13.0
  • f3dfc91 fix(package): update lockfile
  • c46af7a fix(package): update tslint-config-holy-grail to version 31.0.3
  • 0187e84 fix(package): update tsconfig-holy-grail to version 5.0.3
  • 8933076 fix(package): update ts-loader to version 4.4.2
  • 2b03ee9 fix(package): update webpack to version 4.12.2
  • 99a2f8a fix(package): update rollup to version 0.62.0
  • 5bd9188 fix(package): update gruntify-eslint to version 5.0.0

There are 30 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of tslint-config-holy-grail is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 23.0.5 of tslint-config-holy-grail was just published.

Branch Build failing 🚨
Dependency tslint-config-holy-grail
Current Version 23.0.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tslint-config-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 6 commits.

  • 3e2644c 23.0.5
  • 17ee78f fix(package): update rxjs-tslint-rules to version 3.16.0
  • f231528 build(config): update Travis configuration
  • a5e141b build(config): update Travis configuration
  • 313871f fix(package): update typescript to version 2.8.1
  • 7d6c51c build(config): update Travis configuration

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-worker is breaking the build 🚨

Version 4.0.20 of worker-timers-worker was just published.

Branch Build failing 🚨
Dependency worker-timers-worker
Current Version 4.0.19
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-worker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 49 commits.

  • d7e5fc3 4.0.20
  • ef0ad83 fix(package): update webpack to version 4.17.1
  • 5f17071 fix(package): update tslint-config-holy-grail to version 33.0.12
  • 86d9f0e fix(package): update tsconfig-holy-grail to version 6.0.0
  • c0e7160 build(config): update grunt config
  • e0a455d fix(package): update webpack to version 4.17.0
  • 671aeaa fix(package): update grunt-cli to version 1.3.1
  • 5ea1b42 fix(package): update ts-loader to version 4.5.0
  • 020ba9e fix(package): update eslint to version 5.4.0
  • feb3fdf fix(package): update tslint-config-holy-grail to version 33.0.11
  • d595e77 fix(package): update tsconfig-holy-grail to version 5.0.13
  • e8a78e6 fix(package): update grunt-cli to version 1.3.0
  • 0827574 fix(package): update uglifyjs-webpack-plugin to version 1.3.0
  • 5942b57 fix(package): update tslint-config-holy-grail to version 33.0.10
  • 027ffd0 fix(package): update tsconfig-holy-grail to version 5.0.12

There are 49 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

How to communicate between component and timer-worker ?

Hi dude.
I'm pretty sure this is not an issues...anyway.
Speaking about CPU , I tried your worker-timers and I realized that is more cheaper than normal setTimeout() , this is great.
But I can not connect a component (...or probably I'm not capable) , let me explain.
I have an app-component that use a timer-service that implement your timer-workers.
I want to recive the tick from the timer-service in the app-component and assign it to a variable.
In my timer-service i have this method that I partially copied from the web :
private scheduleNote() { let contextPlayTime; let currentTime = this.audioContext.currentTime; currentTime -= this.startTime; while (this.noteTime < currentTime + 0.200) { contextPlayTime = this.noteTime + this.startTime; this.changeStateTrack(contextPlayTime); this.nextNote(); } this.timer = workerTimers.setTimeout(this.scheduleNote.bind(this), 0); }
I normally use a BehaviorSubject in timer-service and a Subscription in the app-component so i can comunicate between this 2 friends .Using this metohd , without worker-timers everything is alright ... excluding the cpu.
So in my app-component:
ngOnInit(): void { this.subscription = this.timerService.trackStateItem$ .subscribe(res => { this.timePosition = res.timePosition; }); }
It happens ,using worker-timers, that the variable( this.timePosition) in the app-component does not update. Using the console I realized that the timer-workers works ... so , what am I doing wrong?

An in-range update of tslint-config-holy-grail is breaking the build 🚨

Version 29.0.1 of tslint-config-holy-grail was just published.

Branch Build failing 🚨
Dependency tslint-config-holy-grail
Current Version 29.0.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tslint-config-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 2 commits.

  • cae2d6f 29.0.1
  • 129a257 fix(package): update @angular/{common,compiler,core} to version 6.0.4

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

Version 0.55.5 of rollup was just published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.55.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-worker is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.0.13 of worker-timers-worker was just published.

Branch Build failing 🚨
Dependency worker-timers-worker
Current Version 4.0.12
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-worker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 10 commits.

  • a942823 4.0.13
  • a1167ce build(config): update Travis configuration
  • fde9955 fix(package): update webpack to version 4.3.0
  • 696728b fix(package): update typescript to version 2.8.1
  • c2d8030 fix(package): update tslint-config-holy-grail to version 23.0.4
  • 1878470 fix(package): update sinon to version 4.4.9
  • db34e7b build(config): update Travis configuration
  • 604eaa8 build(config): update Travis configuration
  • 407c7c0 fix(package): update tsconfig-holy-grail to version 4.0.2
  • 7507571 fix(package): update mocha to version 5.0.5

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

Version 0.37.1 of rollup just got published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.37.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As rollup is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 21 commits .

  • b3b1098 -> v0.37.1
  • a804033 Merge pull request #450 from rollup/gh-447
  • 490d428 skip symlink test on windows
  • 70261d0 linting
  • 2d7f8a7 merge master -> gh-447
  • 3f39de8 Merge pull request #1143 from danez/recursive-functions
  • 583b13d Improves tree-shaking by only considering program-level
  • b04e790 Merge pull request #1152 from kzc/1146
  • dfb8a3f Merge pull request #1144 from christopherthielen/master
  • b1e4384 Update comments describing property string generation
  • 2521f2e be more leniant in processing ExportDefaultDeclaration (#1146)
  • bb546d3 Add test for bizzare moduleName
  • f43fd99 Access global.* using array notation
  • 98abe24 Merge pull request #1151 from rollup/gh-957
  • 2d32cdd implement gatherPossibleValues on ExternalDeclaration - fixes #957

There are 21 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of sinon is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.4.3 of sinon was just published.

Branch Build failing 🚨
Dependency sinon
Current Version 4.4.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 21 commits.

  • 6de1cbd Update docs/changelog.md and set new release id in docs/_config.yml
  • cecbc46 Add release documentation for v4.4.3
  • 17b052f 4.4.3
  • 5b01728 Update History.md and AUTHORS for new release
  • f01d847 Fix inconsistent newline usage %D
  • e9aa877 Fix missed switch from referee to @sinonjs/referee
  • a0e200e Add subdir eslintrc for mjs
  • 7af0579 remove unnecessary properties quoting
  • dc895fc debounce function call
  • d7fb7d5 Merge pull request #1715 from sinonjs/sinon-es6-module-detection
  • 51cdafe Add linting for ES Modules
  • 6959188 Add detection of ES Modules to spies and lots of tests
  • f6b89a1 Extract ES Module detection and improve error
  • 3ede6ee Throw meaningful error stubbing ECMAScript Module
  • b491a57 Replace referee dependency with @sinonjs/referee

There are 21 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

SyntaxError: missing ; before statement main.bundle.js

I'm using angular2-webpack-starter and installed your module as described in README.md. But when I try to use worker-timers anywhere in my code, console gives me

SyntaxError: missing ; before statement
}/* harmony export */ exports["clearInterval"] = clearInterval;
main.bundle.js (Zeile 57428, Spalte 22)

Seems to be some parsing error or something. Unfortunately I'm not very familiar with this at all.

Add LICENSE file

Please add a LICENSE.md file containing the project license and copyright. Many users/companies avoid adopting libs without a license file.

Cannot clear the timer

I am using your module with React. In the below code, when the component gets unmounted, the timer is not cleared

export default class TimeShow extends Component {
	constructor(props) {
		super(props);
		this.state = { curTime: new Date().toLocaleString() }; //.toUTCString() };
	}
	shouldComponentUpdate(nextState) {
		return !isEqual(this.state, nextState);
	}
	componentWillUnmount() {
		if (window.Worker) {
			workerTimers.clearTimeout(this.clockTimerId);
		}
	}
	componentDidMount() {
		if (window.Worker) {
			this.clockTimerId = workerTimers.setInterval(this.showTime, 1000);
                 }
	}
	showTime = () => {
		this.setState({ curTime: new Date().toLocaleString() });
	};
	render() {
		return (
			<div>{this.state.curTime}</div>
		);
	}
}

Error that I get when the component is unmounted

module.js?abd9:69 Uncaught Error: There is no timeout scheduled with the given id "0".
    at Worker.eval (module.js?abd9:69)
(anonymous) @ module.js?abd9:69

warning.js?1a4d:33 Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
    in TimeShow (created by Footer)
    in nav (created by Footer)
    in div (created by Footer)
    in footer (created by Footer)
    in Footer (created by ReactStockChartsDemo)
    in div (created by ReactStockChartsDemo)
    in div (created by ReactStockChartsDemo)
    in ReactStockChartsDemo (created by Connect(ReactStockChartsDemo))
    in Connect(ReactStockChartsDemo) (created by LoadableComponent)
    in LoadableComponent (created by LoadableVisibilityComponent)
    in LoadableVisibilityComponent (created by Route)

Please suggest a way out. And thanks for module. It is really helpful

An in-range update of tsconfig-holy-grail is breaking the build 🚨

Version 4.0.25 of tsconfig-holy-grail was just published.

Branch Build failing 🚨
Dependency [tsconfig-holy-grail](https://github.com/chrisguttandin/tsconfig-holy-grail)
Current Version 4.0.24
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tsconfig-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 3 commits.

  • fa42938 4.0.25
  • 5888cf3 fix(package): update @types/node to version 10.3.4
  • e2d3beb fix(package): update lockfile

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

Version 0.59.4 of rollup was just published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.59.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 7 commits.

  • 5eb154d 0.59.4
  • fba6877 Update changelog
  • b0e87d1 Add a functional test for shadowed properties
  • db6d8ff Add more tests, remove wrong leftover code
  • f6f7049 Simplify callback types
  • e692cc9 Only track a single return value and reassign all return values when
  • 653af0f Move property reassignment tracking to the literals to support the idea

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Use with Server-Side Rendering

@chrisguttandin Thank you for this project!

I was using this package on a server-side rendered React app. The error below was happening:

ReferenceError: Blob is not defined

I believe this is because Blob does not exist in the Node environment.

I'm using a work-around where I am using webpack.NormalModuleReplacementPlugin to mock worker-timers in my server code.

Should we add a check here to see if Blob exists?

Let me know what you think.

An in-range update of rollup is breaking the build 🚨

Version 0.37.2 of rollup just got published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.37.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As rollup is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 10 commits .

  • 37a6869 -> v0.37.2
  • 94f2ac4 Merge pull request #1017 from Pauan/tree-shake-pure-es5-classes
  • 44924ec Merge pull request #1164 from rollup/gh-1113
  • dfe874d Merge pull request #1163 from rollup/gh-1132
  • 858588d Merge pull request #1162 from rollup/gh-1116
  • 119734a include blocks containing activated var declarations (fixes #1113)
  • 0afa3ed Removes new Foo(...) when Foo is a pure function
  • ccc7ad7 only remove valid sourcemapping URL comments (fixes #1132)
  • 4a577a3 lint
  • 38750c4 support plugin outros

See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of babel-loader is breaking the build 🚨

The devDependency babel-loader was updated from 8.0.2 to 8.0.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

babel-loader is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v8.0.3

Features

  • #687 - Add customize option

Bugs

  • #685 - Also pass the caller option to loadPartialConfig

Docs

  • #681 - Update the README links to use the new options docs
  • #683 - Add .mjs to the examples

Internal

Some dev dependency updates and CI tweaks.

Commits

The new version differs by 12 commits.

  • 800181b 8.0.3
  • 7d8500c Also pass the caller option to loadPartialConfig (#685)
  • a507914 Expose the full loader options to all overrides hooks.
  • ac0c869 Tweak the customize implementation to be a bit more strict.
  • 9b70a02 Add overrides option
  • c8d7a72 Add .mjs to the examples (#683)
  • 4619993 bable options link update (#681)
  • 8f240b4 Use node 10 on appveyor
  • 7e4189e Change appveyor to use babel account
  • eeaee46 Update devDeps to use most recent versions, and fix tests.
  • 3e5fb5e chore(package): update lockfile
  • 2b8e479 chore(package): update eslint-config-babel to version 8.0.0

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of karma-webpack is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 2.0.10 of karma-webpack was just published.

Branch Build failing 🚨
Dependency karma-webpack
Current Version 2.0.9
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

karma-webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webpack is breaking the build 🚨

Version 4.12.2 of webpack was just published.

Branch Build failing 🚨
Dependency [webpack](https://github.com/webpack/webpack)
Current Version 4.12.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v4.12.2

Bugfixes

  • fix crash when using invalid JSON with HMR
  • fix missing modules when a side-effect-free package is root of module concatenation
  • update chunkhash when entry-chunks list or prefetched chunks change
Commits

The new version differs by 19 commits.

There are 19 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

How to use this in simple JS application?

I'm confused by how to use this in my project, because I'm not using typescript or ES6 modules. Can someone package this up as a simple javascript dependency I can use?

An in-range update of worker-timers-broker is breaking the build 🚨

Version 4.0.27 of worker-timers-broker was just published.

Branch Build failing 🚨
Dependency [worker-timers-broker](https://github.com/chrisguttandin/worker-timers-broker)
Current Version 4.0.26
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 3 commits.

  • e0346fc 4.0.27
  • 436bcde fix(package): update worker-timers-worker to version 4.0.18
  • cd2fb0c fix(package): update tslib to version 1.9.3

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of worker-timers-broker is breaking the build 🚨

The dependency worker-timers-broker was updated from 4.0.34 to 4.0.35.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 9 commits.

  • 4223304 4.0.35
  • 4f606fc fix(package): update worker-timers-worker to version 4.0.23
  • be2da61 fix(package): update tsconfig-holy-grail to version 6.0.11
  • 272889f fix(package): update fast-unique-numbers to version 2.1.5
  • 91e791e fix(package): update @babel/runtime to version 7.1.2
  • 3d457f6 fix(package): update @babel/core to version 7.1.2
  • ad17dac fix(package): update husky config
  • 9fd7fea fix(package): update eslint to version 5.6.1
  • fa306e5 fix(package): update tsconfig-holy-grail to version 6.0.10

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

Version 0.38.1 of rollup just got published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.38.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As rollup is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details
Commits

The new version differs by 16 commits .

  • 4e6b551 -> v0.38.1
  • 3cc109c Merge pull request #1186 from rollup/gh-1176
  • b59263e Merge pull request #1179 from kzc/drop-unused-inner-functions-and-classes
  • d4a0e6e Merge pull request #1182 from vinkla/patch-1
  • 2eebe3d deconflict function expression IDs (#1176)
  • 8bd83f0 Simplify repository value
  • 2744947 drop unused function and class declarations within functions (#1108, #1178)
  • a9f342c Merge pull request #1174 from rollup/gh-595
  • b624d67 remove, and warn about, unused imports from external modules (#595)
  • 7b3402f Merge pull request #1173 from rollup/gh-492
  • dbc4c48 Merge pull request #1172 from rollup/gh-444
  • 58f9f26 support async functions (#492)
  • 5f8205e warn on empty bundle (#444), and remove some tests that are no longer testing anything
  • a502f30 add back @btd fix for #1104
  • 47e712d Failling test for #1104

There are 16 commits in total. See the full diff.

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of tslint-config-holy-grail is breaking the build 🚨

Version 31.0.3 of tslint-config-holy-grail was just published.

Branch Build failing 🚨
Dependency tslint-config-holy-grail
Current Version 31.0.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tslint-config-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 3 commits.

  • 125a3f5 31.0.3
  • ceb7f6f fix(package): update @angular/{common,compiler,core} to version 6.0.7
  • 7f12aeb fix(package): update gruntify-eslint to version 5.0.0

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webpack is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.3.0 of webpack was just published.

Branch Build failing 🚨
Dependency webpack
Current Version 4.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v4.3.0

Features

  • add support for [contenthash] placeholder

Bugfixes

  • browser field is used for target electron-renderer
  • set devtoolNamespace default correctly when passing an object to output.library
Commits

The new version differs by 24 commits.

  • 54ceb3c 4.3.0
  • d762a2b Merge pull request #6875 from mohsen1/patch-2
  • 3691224 Merge pull request #6872 from boneskull/patch-1
  • df2b3c2 Prettier
  • 165a2ed Remove extraneous argument from setOptions call sites in OptionsDefaulter
  • a31bf26 fix capitalization of project name in README.md
  • fc2feaf Merge pull request #6844 from swederik/issue-6843
  • eba38f1 Merge pull request #6861 from Legends/master
  • 41a0482 Merge pull request #6839 from webpack/feature/contenthash
  • b018bc7 more tests and fixes for webworker
  • 4861d2c Merge pull request #6832 from webpack/reflect
  • 68a11fd Extract setup infos from Contributing.md into separate setup.md for visiblity reasons
  • 06e9a57 get rid of webpackJsonp global leak
  • d7a0fc3 fix bug without async chunks, add more tests
  • c328c65 use destructing for more readable code

There are 24 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of tslint-config-holy-grail is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 23.0.4 of tslint-config-holy-grail was just published.

Branch Build failing 🚨
Dependency tslint-config-holy-grail
Current Version 23.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

tslint-config-holy-grail is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 7 commits.

  • 0b13d8d 23.0.4
  • 16dc881 fix(package): update rxjs to version 5.5.8
  • 29c0bee build(config): update Travis configuration
  • 1338eed build(config): update Travis configuration
  • 120e3e6 fix(package): update mocha to version 5.0.5
  • 9a7387f fix(package): update eslint to version 4.19.1
  • 1508289 fix(package): update eslint to version 4.19.0

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Timeout throttling still apparent

I must be doing something wrong, because I am still noticing the 1s throttling even though I switched from window.setTimeout to your library.

Here's a little snippet to test:

import * as Timer from 'worker-timers';

var time = performance.now();
Timer.setInterval(() => {
  console.log(performance.now() - time);
  time = performance.now();
}, 500);

When my tab is focused, the logged interval is around 500. When I switch to another tab and get back to this one a few seconds later, I see logged intervals of around 1000.

Using Chrome Version 55.0.2883.87 (64-bit) on Ubuntu 16.04.

An in-range update of worker-timers-broker is breaking the build 🚨

Version 4.0.21 of worker-timers-broker was just published.

Branch Build failing 🚨
Dependency worker-timers-broker
Current Version 4.0.20
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

worker-timers-broker is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 19 commits.

  • 2651140 4.0.21
  • 0b06bd2 fix(package): update worker-timers-worker to version 4.0.15
  • 8352a54 docs: add license file
  • 4f0f68b fix(package): update commitizen to version 2.10.1
  • a622a93 fix(package): update sinon to version 5.0.10
  • e603d36 fix(package): update rollup to version 0.59.3
  • 3ff32c5 fix(package): update commitizen to version 2.10.0
  • 2ecd8b3 fix(package): update tslint-config-holy-grail to version 27.0.3
  • ae7dae8 fix(package): update sinon-chai to version 3.1.0
  • 70dea7e fix(package): update rollup to version 0.59.2
  • 9e57a70 fix(package): update greenkeeper-lockfile to version 1.15.1
  • b77ff99 fix(package): update tslint-config-holy-grail to version 27.0.2
  • a129a88 fix(package): update tsconfig-holy-grail to version 4.0.17
  • 7acfddd fix(package): update mocha to version 5.2.0
  • a96d684 fix(package): update tsconfig-holy-grail to version 4.0.16

There are 19 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.