April 2021 (version 1.47.0)

Welcome to the new DeepScan updates. It's bright and warm here in Korea. We hope that Spring comes to all the neighbors and no one gets hurt.

Thank you for your continual love and support!

Analysis Improvements

  • Improve analysis precision of local function parameters
  • Improve analysis precision of const variables
  • Improve analysis precision of lexical variables declared at top-level
  • Detect USELESS_ARRAY alarm when only the length property is used
  • Recognize TypeScript files having a @ts-expect-error directive as test case code and apply alarm filtering accordingly
  • Recognize TypeScript Function type

Miscellaneous

  • More CONSTANT_CONDITION alarm filtering on defensive type checking of type-annotated parameters
  • Restrict analysis results of functions defined at dead code to prevent irrelevant alarms
  • Automatically exclude test cases imported from well-known projects like V8
  • ESLint is upgraded to 7.8.1 and ES2021 is supported for ESLint projects

Bug Fixes

  • Analyzer may abnormally terminate when a Vue ref object is passed as an function call argument
  • Analyzer may abnormally terminate when a < character is used abnormally in *.tsx file
  • Symbolic link target files may be omitted from analysis