Skip to content

Update dependency lolex to v5 - autoclosed

renovate-bot requested to merge renovate/lolex-5.x into develop

This MR contains the following updates:

Package Type Update Change
lolex devDependencies major 1.6.0 -> 5.1.2

Release Notes

sinonjs/lolex

v5.1.2

Compare Source

==================

  • Use global from @sinonjs/commons
  • Fix setSystemTime affects hrtime if its called multiple times.
  • Test coverage: use nyc

v5.1.1

Compare Source

==================

  • Fix global ReferenceError (#​273)

v5.1.0

Compare Source

==================

  • Upgrade lolex with async versions of most calls

v5.0.1

Compare Source

==================

  • Upgrade eslint, add prettier
  • Use --no-detect-globals to bundle and test lolex (#​270)

v5.0.0

Compare Source

==================

  • Avoid installing setImmediate in unsupported environments
  • fix #​246: non-constructor Date() should return a string

v4.2.0

Compare Source

==================

  • Fix support for replacing the JSDOM performance field

v4.1.0

Compare Source

==================

  • Fix crash on Bash version 3 (macOS)
  • Support hrtime.bigint()
  • fix: count microtasks in countTimers
  • Return empty arrays for performance.getEntries, other relevant methods

v4.0.1

Compare Source

==================

  • Remove sinon: added by mistake

v3.1.0

Compare Source

==================

  • default timeout set to 50ms
  • first implementation of requestIdleCallback and cancelIdleCallback
  • fixed accidentally performance.now() -> x.now() replacement
  • added queueMicrotask

v3.0.0

Compare Source

==================

  • Add countTimers method
  • Disallow negative ticks (breaking API change!)
  • Avoid exposing hrNow
  • Fix #​207 - round-off errors in hrtime
  • Truncate sub-nanosecond values for hrtime
  • Truncate sub-millisceond values for Date.now()

v2.7.5

Compare Source

==================

  • fix: handle floating point in hrtime (#​210)
  • fix: reset high resolution timer on clock.reset (#​209)
  • Add an error when creating a clock with no Date object (#​205)

v2.7.4

Compare Source

==================

  • performance.mark related fixes for failing Safari, IE 10 and IE 11 tests

v2.7.3

Compare Source

==================

  • Fix for #​200: TypeError on performance.mark

v2.7.2

Compare Source

==================

  • fix(setInterval): parse timeout arg to integer (#​202)
  • Upgrade insecure dependencies with npm audit fix

v2.7.1

Compare Source

==================

  • Fix performance replacement on iOS 9.3

v2.7.0

Compare Source

==================

  • reset clock to start
  • check Performance exists before touching it

v2.6.0

Compare Source

==================

  • Fix reset and document it publicly Clear microtick jobs and set now to 0 in reset (#​179)
  • Access Date on _global (#​178)

v2.5.0

Compare Source

==================

  • feat: respect loopLimit in runMicrotasks (#​172)
  • assign performance as a property, not as a function

v2.4.2

Compare Source

===================

v2.4.1

Compare Source

==================

  • fix: handle negative infinity timeout (#​165)

v2.4.0

Compare Source

==================

  • Add withGlobal export
  • expose runMicrotasks
  • Fix that performance.mark is undefined after timer install

v2.3.2

Compare Source

==================

  • Add files section to package.json to avoid unnecessary package bloat #​154
  • Add missing functions in default toFake #​150

v2.3.1

Compare Source

==================

  • bugfix for a setTimeout() or setSystemTime() within a nextTick() call. (#​145)

v2.3.0

Compare Source

==================

  • Stops leak of (request|cancel)AnimationFrame into global scope. (#​143)
  • return timers on uninstall

v2.2.0

Compare Source

==================

  • Add support for requestAnimationFrame
  • fix negative timeout bug

v2.1.3

Compare Source

==================

v2.1.2

Compare Source

==================

    • does not fake process.nextTick by default - added .idea folder to .gitignore - fixed documentation - added clock teardowns in tests
  • overflowing the timer correctly (issue #​67)

v2.1.1

Compare Source

==================

  • support passing parameters in nextTick (fixes #​122)

v2.1.0

Compare Source

==================

  • Throw error on incorrect install use (#​112)
  • Add support for process.nextTick
  • lolex can now attach itself to the system timers and automatically ad… (#​102)
  • update hrtime when an interval ticks

v2.0.0

Compare Source

==================

  • New install() signature
  • Add support for performance.now (#​106)
  • Fix issue with tick(): setSystemClock then throw
  • Update old dependencies
  • Added support to automatically increment time (#​85)
  • Changed internal uninstall method signature

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports