Packages

lolex

6.0.0 · 4 Feb 2020BSD-3-Clause2.5M / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: lolex has been renamed to @sinonjs/fake-timers. No API changes made. Please use the new package insteadWhat to use instead

Upgrading lolex From 1.1.0 to 6.0.0

42 releases in betweennotes for 9

Reading releases, release notes and advisories…

Other targets from 1.1.0Newest 1.x1.6.0
6.0.0, 5.0.0, 3.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below. The note of 2.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 1.1.0yours
  2. 11 releases
  3. 2.0.0major
  4. 19 releases
  5. 3.0.0major
  6. 4 releases
  7. 5.0.0major
  8. 4 releases
  9. 6.0.0target
?
changes to make
0
advisories fixed
7+
new
6+
fixes

Counted from 9 of 42 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 2.1.1 – 6.0.029 releases, nothing new or fixed; 28 without a note

  2. 2.1.0

    18 Jul 20171 new
    • New

      Add support for process.nextTick

  3. 2.0.0

    13 Jul 20171 new
    • New

      New install(config) signature that takes a config object

  4. 1.6.0

    25 Feb 20171 new · 1 fix
    • New

      Allow install to be called with date object

    • Fixed

      Fixed typo in clock.runAll error

  5. 1.5.2nothing new or fixed in the note

  6. 1.5.1

    28 Jul 20164 fixes
    • Fixed

      Fix setInterval() behavior with string times

    • Fixed

      Fix issue #59: context object required 'process'

    • Fixed

      Fixed a case where runAll was called and there are no timers

    • Fixed

      Correct the clear{Interval|Timeout|Immediate} error message when calling set* for a different type of timer.

  7. 1.5.0

    18 May 20163 new
    • New

      Add runAll method to run timers until empty

    • New

      Add tests demonstrating that a fake Date could be created with one argument as a String since this string is in a format recognized by the Date.parse() method.

    • New

      Add process.hrtime()

  8. 1.4.0

    11 Dec 20151 new · 1 fix
    • New

      Implement clock.next()

    • Fixed

      Correct parseTime() error message so it matches behavior

8 other lines we could not sort, mostly version bumps
  • Throw error on incorrect install use

    2.1.0
  • Lolex can now attach itself to the system timers and automatically ad…

    2.1.0
  • Update hrtime when an interval ticks

    2.1.0
  • Use common Sinon.JS eslint config

    1.6.0
  • Remove wrapper function

    1.6.0
  • Incorporate test from PR #65

    1.5.1
  • Lots of minor changes to tooling and the build process

    1.5.1
  • Lots of doc improvments

    1.4.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.