Skip to content

v17.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 20 May 05:59
· 2 commits to main since this release

Breaking

Improvements

  • Support t.snapshot() formatAsCodeBlock options 38cd4fd
  • Remove enhance-visitors dependency a867c89
  • test-title-format: Check template literal titles 41a1016

Fixes

  • use-true-false: Fix Object.hasOwn() not being flagged 82118fb
  • no-incorrect-deep-equal: Fix NaN, Infinity, and -Infinity not being flagged e4ce630
  • use-true-false: Fix in and instanceof not being flagged 9a8832c
  • no-incorrect-deep-equal: Fix negative number literals not being flagged dbb691b
  • no-identical-title: Fix duplicate not detected across string literal and template literal f418374
  • no-incorrect-deep-equal: Fix .skip variants not being flagged 0299697
  • prefer-async-await: Fix false positive on nested functions f2ae631
  • hooks-order: Fix serial hooks being ignored 03640ec
  • Don't crash or report false positives when a computed member expression is used as a test modifier 7c78018
  • use-t-well: Don't crash when a computed member expression is used 7b5cab1
  • use-t: Don't crash when a test call has no arguments 41caf01
  • prefer-t-regex: Don't crash or report when bare RegExp() is compared to a boolean 9f27e14
  • prefer-t-regex: Don't crash or suggest invalid fix when .test() is called without arguments a863404
  • use-t-throws-async-well: Fix autofix not offered for titled async tests affa778
  • Fix handling of t.skip 67bf495

v16.0.1...v17.0.0