May 2024 (version 1.62.0)
Welcome to the new DeepScan updates. This release includes ESNext import attributes support and many small bug fixes.
Thank you for your continual love and support!
Analysis Improvements
- Support ESNext import attributes
- Support the default value parameter of Vue
toRef()
- Support Flow indexed access types
- Support Flow
this
parameter annotation - Improve recognizing Vue
<script setup>
variables accessible in<template>
- Filter-out UNUSED_EXPR alarms on function values inside test case code because they are usually harmless
- Allow Flow type parameter defaults at function declarations
- Allow mixing labeled and unlabeled elements at TypeScript tuple type
Miscellaneous
- Do not detect VUE_DUPLICATE_PROPERTY_IN_OPTION alarms on duplicate properties between
setup()
andprops
becausesetup()
may provide modified prop value with the same name
Bug Fixes
- A false alarm for CALL_NON_FUNC may occur for variables holding function call results
- A false alarm for CONSTANT_CONDITION may occur when properties are deleted
- A false alarm for MISMATCHED_COUNT_OF_ARGS occurs for the optional
month
parameter - A false alarm for SYNTAX_ERROR occurs when a keyword is used as the label of a TypeScript tuple type
- A false alarm for SYNTAX_ERROR occurs when a line break appears before TypeScript
assert
return type - A false alarm for SYNTAX_ERROR occurs at type arguments starting with
<<
- A false alarm for UNDEFINED_IMPORT may occur when Flow
declare export opaque type
is used - A false alarm for UNUSED_IMPORT may occur when Flow type parameter default is used
- A false alarm for VUE_MISMATCHED_TYPE_OF_PROP occurs for custom model prop with
model
option