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.0Release Notes
dart-lang/sdk
v0.41.1PackageBuildWorkspacethat supportspackage:buildto stopat the first directory with
pubspec.yaml, and don't try to go upand find another one with both
pubspec.yamland.dart_tool/build.ErrorCodeclass. It will be used tomigrate existing
ErrorCodesubclasses, and then deprecated and removed.v0.41.0Scope.lookup({id, setter})withlookup(id).Scope.lookup2(id), uselookup()instead.Member.baseElement.package:analyzer/analyzer.dartlibrary.ElementAnnotation.constantValue.VariableElement.constantValue.VariableElement.initializer.auxiliaryElements.FunctionType.elementfor types created from atypedefis now
FunctionTypeAliasElement, not its function element.GenericTypeAliasElement.PhysicalResourceProvider.NORMALIZE_EOL_ALWAYS.PhysicalResourceProviderconstructor to no longer take arequired positional parameter (removed the existing
fileReadModepositionalparameter).
v0.40.6Instead 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.5GenericTypeAliasElement. UseFunctionTypeAliasElement.AnalysisDriver.Specifically,
parseFileSyncwill not read any referenced files.identifiers in metadata (still set in arguments).
v0.40.4IndexExpression.auxiliaryElementsandSimpleIdentifier.auxiliaryElements. UseCompoundAssignmentExpression.getReadType, useCompoundAssignmentExpression.v0.40.32.11.43462, 43439, 43162, 43397, 43200.
v0.40.2meta: ^1.2.3.v0.40.1LocalVariableElement.hasInitializer,PropertyInducingElement.hasInitializer,ParameterElement.hasDefaultValue.ElementImpl.toString()usesgetDisplayString(withNullability: true).ElementAnnotation.constantValue, it does not guarantee thatthe value has been computed. Use
computeConstantValue()instead.CompoundAssignmentExpressionwith read/write element/type getters.This interface is implemented by
AssignmentExpression,PostfixExpressionand
PrefixExpression. Use it instead ofstaticElementandstaticTypeof the left-hand side expressions (target expressions in case of postfix
or prefix expressions with increment operator).
43032, 43073.
v0.40.0LibraryElement.featureSet.EmbedderSdkand related classes.FunctionTypereturned fromExecutableElement.typereturnnullas its
element. UseExecutableElements directly if necessary.FunctionTypeAliasElementdoes not implementFunctionTypedElementanymore, implements
TypeParameterizedElementinstead.CustomUriResolver.ExplicitSourceResolver,FileUriResolver,LocalSourcePredicate,PackageUriResolver,RelativeFileUriResolver.ErrorCodeinstances.withNullabilityflag inDartType.getDisplayString()is now required.DartType.substitute2, andFunctionType.substitute3,use
ClassElement.instantiate,FunctionTypeAliasElement.instantiate(),or
FunctionType.instantiate().FunctionType.boundTypeParameters, usetypeFormalsfor now. Later, it will be deprecated, and replaced with
typeParameters.InterfaceType.instantiate(),InterfaceType.substitute4,use
ClassElement.instantiate().typeParametersandinstantiate()fromParameterizedType.Use
typeParametersandinstantiate()fromClassElement.DeclaredVariables.typeProviderandtypeSystemgetters.Use corresponding
LibraryElementgetters instead.AnalysisOptions.ClassElement.hasReferenceToSuper.DartType.isObject.Use
DartType.isDartCoreObjectinstead.AnalysisContextandContextLocator.ParseResultandResolveResult.AnalysisContext.typeProviderandtypeSystem.Use the corresponding getters of
LibraryElement.AnalysisSession.dart/ast/ast.dart.AstFactory.parseFile2..TypeDefiningElement.type.Featureare not constants anymore.Feature.firstSupportedVersionwithreleaseVersion.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.