GithubHelp home page GithubHelp logo

roderickhsiao / idle-tracker Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 3.0 1.29 MB

Javascript library to track browser inactivity

Home Page: https://roderickhsiao.github.io/idle-tracker/test/

License: MIT License

JavaScript 16.23% HTML 30.05% CSS 19.32% Shell 8.10% TypeScript 26.30%
brower idle javascript

idle-tracker's Introduction

Hey ๐Ÿ‘‹

Hi, Roderick here. I'm a software architect based in San Francisco Bay Area.

Drop me a message if you want to discuss interesting web ideas, questions, or potentially fun project to work together :)

Open for tech talks invitations, project architecture consulting (web performance, large scale web app, team mentoring and more). Book your free discussion session with me at Calendly.

About

  • ๐Ÿ™โ€โ™‚๏ธ He/Him/His
  • ๐Ÿถ Dog Dad
  • ๐Ÿ‘จโ€๐Ÿ’ป Frontend Engineer
  • ๐Ÿ‡น๐Ÿ‡ผ ๐Ÿ‡บ๐Ÿ‡ธ
  • Website

idle-tracker's People

Contributors

a-fitzgerald avatar dependabot[bot] avatar greenkeeper[bot] avatar punund avatar roderickhsiao avatar tinder-rhsiao avatar

Stargazers

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

Watchers

 avatar  avatar

idle-tracker's Issues

An in-range update of babel7 is breaking the build ๐Ÿšจ

There have been updates to the babel7 monorepo:

    • The devDependency @babel/cli was updated from 7.6.4 to 7.7.0.

๐Ÿšจ View failing branch.

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

This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.

babel7 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
  • โŒ bundlesize: Checking output size...
  • โŒ ci/circleci: build: Your tests failed on CircleCI (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 mocha is breaking the build ๐Ÿšจ

The devDependency mocha was updated from 6.0.1 to 6.0.2.

๐Ÿšจ View failing branch.

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

mocha 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
  • โŒ ci/circleci: build: Your tests failed on CircleCI (Details).

Release Notes for v6.0.2

6.0.2 / 2019-02-25

๐Ÿ› Fixes

Two more regressions fixed:

  • #3768: Test file paths no longer dropped from mocha.opts (@boneskull)
  • #3767: --require does not break on module names that look like certain node flags (@boneskull)
Commits

The new version differs by 6 commits.

  • 00a895f Release v6.0.2
  • 1edce76 update CHANGELOG for v6.0.2 [ci skip]
  • 347e9db fix broken positional arguments in config; ensure positional args are unique; closes #3763
  • 9e31e9d fix handling of bareword args matching node flags; closes #3761
  • 6535965 Update "karma-browserify" to eliminate Karma middleware warning (#3762)
  • 37febb6 improve issue template. (#3411)

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 ๐ŸŒด

`end` method does not remove event listeners

Calling the end method on the tracker instance does not correctly remove the listeners. I would have submitted a solution, but I cannot get puppeteer to work on Windows.

Suggested solution, apply following patch

+++ b/src/index.js
@@ -26,8 +26,9 @@ class IdleTracker {

   start = ({ onIdleCallback } = {}) => {
     this.callback = onIdleCallback || this.callback;
+    this.handleEvent = this.handleEvent.bind(this);
     this.listeners = this.events.map(eventName => {
-      document.addEventListener(eventName, this.handleEvent.bind(this), false);
+      document.addEventListener(eventName, this.handleEvent, false);
       return eventName;
     });

An in-range update of mocha is breaking the build ๐Ÿšจ

The devDependency mocha was updated from 6.0.2 to 6.1.0.

๐Ÿšจ View failing branch.

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

mocha 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
  • โŒ ci/circleci: build: Your tests failed on CircleCI (Details).

Release Notes for v6.1.0

6.1.0 / 2019-04-07

๐Ÿ”’ Security Fixes

  • #3845: Update dependency "js-yaml" to v3.13.0 per npm security advisory (@plroebuck)

๐ŸŽ‰ Enhancements

  • #3766: Make reporter constructor support optional options parameter (@plroebuck)
  • #3760: Add support for config files with .jsonc extension (@sstephant)

๐Ÿ“  Deprecations

These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:

๐Ÿ› Fixes

  • #3829: Use cwd-relative pathname to load config file (@plroebuck)
  • #3745: Fix async calls of this.skip() in "before each" hooks (@juergba)
  • #3669: Enable --allow-uncaught for uncaught exceptions thrown inside hooks (@givanse)

and some regressions:

๐Ÿ“– Documentation

๐Ÿ”ฉ Other

  • #3830: Replace dependency "findup-sync" with "find-up" for faster startup (@cspotcode)
  • #3799: Update devDependencies to fix many npm vulnerabilities (@XhmikosR)
Commits

The new version differs by 28 commits.

  • f4fc95a Release v6.1.0
  • bd29dbd update CHANGELOG for v6.1.0 [ci skip]
  • aaf2b72 Use cwd-relative pathname to load config file (#3829)
  • b079d24 upgrade deps as per npm audit fix; closes #3854
  • e87c689 Deprecate this.skip() for "after all" hooks (#3719)
  • 81cfa90 Copy Suite property "root" when cloning; closes #3847 (#3848)
  • 8aa2fc4 Fix issue 3714, hide pound icon showing on hover header on docs page (#3850)
  • 586bf78 Update JS-YAML to address security issue (#3845)
  • d1024a3 Update doc examples "tests.html" (#3811)
  • 1d570e0 Delete "/docs/example/chai.js"
  • ade8b90 runner.js: "self.test" undefined in Browser (#3835)
  • 0098147 Replace findup-sync with find-up for faster startup (#3830)
  • d5ba121 Remove "package" flag from sample config file because it can only be passes as CLI arg (#3793)
  • a3089ad update package-lock
  • 75430ec Upgrade yargs-parser dependency to avoid loading 2 copies of yargs

There are 28 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 eslint is breaking the build ๐Ÿšจ

The devDependency eslint was updated from 5.14.0 to 5.14.1.

๐Ÿšจ View failing branch.

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

eslint 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
  • โŒ ci/circleci: build: Your tests failed on CircleCI (Details).

Release Notes for v5.14.1
  • 1d6e639 Fix: sort-keys throws Error at SpreadElement (fixes #11402) (#11403) (Krist Wongsuphasawat)
Commits

The new version differs by 3 commits.

  • b2e94d8 5.14.1
  • ce129ed Build: changelog update for 5.14.1
  • 1d6e639 Fix: sort-keys throws Error at SpreadElement (fixes #11402) (#11403)

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 eslint-plugin-react is breaking the build ๐Ÿšจ

The devDependency eslint-plugin-react was updated from 7.14.0 to 7.14.1.

๐Ÿšจ View failing branch.

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

eslint-plugin-react 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
  • โŒ ci/circleci: build: Your tests failed on CircleCI (Details).

Release Notes for v7.14.1

Fixed

  • Fix prop-types crash on multiple destructuring (#2319 @golopot)
Commits

The new version differs by 3 commits.

  • 62255af Update CHANGELOG and bump version
  • 655eb01 Merge pull request #2320 from golopot/issue-2319
  • 9639d82 [Fix] prop-types: fix crash on multiple destructuring

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 eslint is breaking the build ๐Ÿšจ

The devDependency eslint was updated from 5.14.1 to 5.15.0.

๐Ÿšจ View failing branch.

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

eslint 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
  • โŒ ci/circleci: build: Your tests failed on CircleCI (Details).

Release Notes for v5.15.0
  • 4088c6c Build: Remove path.resolve in webpack build (#11462) (Kevin Partington)
  • ec59ec0 New: add rule "prefer-named-capture-group" (fixes #11381) (#11392) (Pig Fang)
  • a44f750 Upgrade: [email protected] (#11461) (Teddy Katz)
  • d3ce611 Sponsors: Sync README with website (ESLint Jenkins)
  • ee88475 Chore: add utils for rule tests (#11453) (่–›ๅฎš่ฐ”็š„็Œซ)
  • d4824e4 Sponsors: Sync README with website (ESLint Jenkins)
  • 6489518 Fix: no-extra-parens crash when code is "((let))" (#11444) (Teddy Katz)
  • 9d20de2 Sponsors: Sync README with website (ESLint Jenkins)
  • 3f14de4 Sponsors: Sync README with website (ESLint Jenkins)
  • 3d6c770 Sponsors: Sync README with website (ESLint Jenkins)
  • de5cbc5 Update: remove invalid defaults from core rules (fixes #11415) (#11427) (Teddy Katz)
  • eb0650b Build: fix linting errors on master (#11428) (Teddy Katz)
  • 5018378 Chore: enable require-unicode-regexp on ESLint codebase (#11422) (Teddy Katz)
  • f6ba633 Chore: lint all files in the repo at the same time (#11425) (Teddy Katz)
  • 8f3d717 Docs: Add non-attending TSC member info (#11411) (Nicholas C. Zakas)
  • ce0777d Docs: use more common spelling (#11417) (่–›ๅฎš่ฐ”็š„็Œซ)
  • b9aabe3 Chore: run fuzzer along with unit tests (#11404) (Teddy Katz)
  • db0c5e2 Build: switch from browserify to webpack (fixes #11366) (#11398) (Pig Fang)
Commits

The new version differs by 22 commits.

  • b00a5e9 5.15.0
  • c3aebb1 Build: changelog update for 5.15.0
  • 4088c6c Build: Remove path.resolve in webpack build (#11462)
  • ec59ec0 New: add rule "prefer-named-capture-group" (fixes #11381) (#11392)
  • a44f750 Upgrade: [email protected] (#11461)
  • 341140f Revert "Chore: remove devDependency common-tags (#11455)" (#11460)
  • d3ce611 Sponsors: Sync README with website
  • aaba636 Chore: remove devDependency common-tags (#11455)
  • ee88475 Chore: add utils for rule tests (#11453)
  • d4824e4 Sponsors: Sync README with website
  • 6489518 Fix: no-extra-parens crash when code is "((let))" (#11444)
  • 9d20de2 Sponsors: Sync README with website
  • 3f14de4 Sponsors: Sync README with website
  • 3d6c770 Sponsors: Sync README with website
  • de5cbc5 Update: remove invalid defaults from core rules (fixes #11415) (#11427)

There are 22 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.