Update dependency analyzer to ^0.41.0 #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.39.5
->^0.41.0
Release Notes
dart-lang/sdk
v0.41.1
PackageBuildWorkspace
that supportspackage:build
to stopat the first directory with
pubspec.yaml
, and don't try to go upand find another one with both
pubspec.yaml
and.dart_tool/build
.ErrorCode
class. It will be used tomigrate existing
ErrorCode
subclasses, and then deprecated and removed.v0.41.0
Scope.lookup({id, setter})
withlookup(id)
.Scope.lookup2(id)
, uselookup()
instead.Member.baseElement
.package:analyzer/analyzer.dart
library.ElementAnnotation.constantValue
.VariableElement.constantValue
.VariableElement.initializer
.auxiliaryElements
.FunctionType.element
for types created from atypedef
is now
FunctionTypeAliasElement
, not its function element.GenericTypeAliasElement
.PhysicalResourceProvider.NORMALIZE_EOL_ALWAYS
.PhysicalResourceProvider
constructor to no longer take arequired positional parameter (removed the existing
fileReadMode
positionalparameter).
v0.40.6
Instead of the latest known language version, the language version of the
SDK (against which analysis is done, not necessary the same as used to run
the analyzer) is used.
v0.40.5
GenericTypeAliasElement
. UseFunctionTypeAliasElement
.AnalysisDriver
.Specifically,
parseFileSync
will not read any referenced files.identifiers in metadata (still set in arguments).
v0.40.4
IndexExpression.auxiliaryElements
andSimpleIdentifier.auxiliaryElements
. UseCompoundAssignmentExpression
.getReadType
, useCompoundAssignmentExpression
.v0.40.3
2.11
.43462, 43439, 43162, 43397, 43200.
v0.40.2
meta: ^1.2.3
.v0.40.1
LocalVariableElement.hasInitializer
,PropertyInducingElement.hasInitializer
,ParameterElement.hasDefaultValue
.ElementImpl.toString()
usesgetDisplayString(withNullability: true)
.ElementAnnotation.constantValue
, it does not guarantee thatthe value has been computed. Use
computeConstantValue()
instead.CompoundAssignmentExpression
with read/write element/type getters.This interface is implemented by
AssignmentExpression
,PostfixExpression
and
PrefixExpression
. Use it instead ofstaticElement
andstaticType
of the left-hand side expressions (target expressions in case of postfix
or prefix expressions with increment operator).
43032, 43073.
v0.40.0
LibraryElement.featureSet
.EmbedderSdk
and related classes.FunctionType
returned fromExecutableElement.type
returnnull
as its
element
. UseExecutableElement
s directly if necessary.FunctionTypeAliasElement
does not implementFunctionTypedElement
anymore, implements
TypeParameterizedElement
instead.CustomUriResolver
.ExplicitSourceResolver
,FileUriResolver
,LocalSourcePredicate
,PackageUriResolver
,RelativeFileUriResolver
.ErrorCode
instances.withNullability
flag inDartType.getDisplayString()
is now required.DartType.substitute2
, andFunctionType.substitute3
,use
ClassElement.instantiate
,FunctionTypeAliasElement.instantiate()
,or
FunctionType.instantiate()
.FunctionType.boundTypeParameters
, usetypeFormals
for now. Later, it will be deprecated, and replaced with
typeParameters
.InterfaceType.instantiate()
,InterfaceType.substitute4
,use
ClassElement.instantiate()
.typeParameters
andinstantiate()
fromParameterizedType
.Use
typeParameters
andinstantiate()
fromClassElement
.DeclaredVariables
.typeProvider
andtypeSystem
getters.Use corresponding
LibraryElement
getters instead.AnalysisOptions
.ClassElement.hasReferenceToSuper
.DartType.isObject
.Use
DartType.isDartCoreObject
instead.AnalysisContext
andContextLocator
.ParseResult
andResolveResult
.AnalysisContext.typeProvider
andtypeSystem
.Use the corresponding getters of
LibraryElement
.AnalysisSession
.dart/ast/ast.dart
.AstFactory
.parseFile2
..TypeDefiningElement.type
.Feature
are not constants anymore.Feature.firstSupportedVersion
withreleaseVersion
.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 PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.