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.0.0 to 1.6.0

12 releases in betweennotes for 6

Reading releases, release notes and advisories…

Other targets from 1.0.0Latest6.0.0
  1. 1.0.0yours
  2. 11 releases
  3. 1.6.0target
?
changes to make
0
advisories fixed
5+
new
6+
fixes

Counted from 6 of 12 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 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

  2. 1.5.2nothing new or fixed in the note

  3. 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.

  4. 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()

  5. 1.4.0

    11 Dec 20151 new · 1 fix
    • New

      Implement clock.next()

    • Fixed

      Correct parseTime() error message so it matches behavior

  6. 1.1.0 – 1.3.27 releases, nothing new or fixed; 6 without a note

5 other lines we could not sort, mostly version bumps
  • 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.