fix(deps): update dependency analyzer to v7 #2670
Draft
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:
^6.4.1
->^7.1.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
dart-lang/sdk (analyzer)
v7.1.0
v7.0.0
DartType.element2
.DartType.isDynamic
.DartType.isVoid
.DartType.resolveToBound
.IfElement.condition
.IfStatement.condition
.AstNode.getProperty
andAstNode.setProperty
.File.createSource()
, it violates levels of abstraction.You can get
Source
instances fromAnalysisResult
s.LibraryElement.toLegacyTypeIfOptOut
.LibraryElement.toLegacyElementIfOptOut
.LibraryElement.isNonNullableByDefault
.File.changes
andFolder.changes
.Resource.parent2
.OnClause
.ContextBuilder
, useAnalysisContextCollection
.ContextLocator
, useAnalysisContextCollection
.ClassOrAugmentationDeclaration.
.MixinOrAugmentationDeclaration.
.AnalysisError
.TypeSystem.instantiateToBounds2
.buildSdkSummary2()
.FileSource.fileReadMode
.ErrorReporter
.Comment.isBlock
,isDocumentation
,isEndOfLine
.Element.enclosingElement
.PropertyAccessor.variable
.LibraryOrAugmentationElement
.LibraryElement
properties.enabledPluginNames
andhint
fromAnalysisOptions
.source_io.dart
.lint/Spelunker
.source_resource.dart
.MultiplyInheritedExecutableElement
.AnalyzeFunctionBodiesPredicate
.normalParameterNames
andoptionalParameterNames
fromFunctionType
.v6.11.0
LibraryElement.exportedLibraries
.LibraryElement.importedLibraries
.v6.10.0
LibraryElement.accessibleExtensions
, useCompilationUnitElement.accessibleExtensions
instead.LibraryElement.exportedLibraries
.LibraryElement.importedLibraries
.LibraryElement.isBrowserApplication
.LibraryElement.libraryExports
,use
CompilationUnitElement.libraryExports
instead.LibraryElement.libraryImports
,use
CompilationUnitElement.libraryImports
instead.LibraryElement.prefixes
,use
CompilationUnitElement.libraryImportPrefixes
instead.LibraryElement.parts
,use
CompilationUnitElement.parts
instead.LibraryElement.scope
,use
CompilationUnitElement.scope
instead.v6.9.0
NormalFormalParameter
now implementsAnnotatedNode
.Element.enclosingElement
, useenclosingElement3
.v6.8.0
AnalysisContextCollection.dispose()
. It must be invoked at the end.ContextLocator
andContextBuilder
.Use
AnalysisContextCollection
instead.v6.7.0
File.createSource()
, it violates levels of abstraction.You can get
Source
instances fromAnalysisResult
s.AnalysisError
.v6.6.0
src/file_system/file_system.dart
from
file_system/file_system.dart
.package:analyzer/src/source/source_resource.dart
,import
package:analyzer/source/file_source.dart
instead.package:analyzer/src/source/source.dart
,import
package:analyzer/source/source.dart
instead.v6.5.2
macros: '>=0.1.2-0 <0.1.3'
.v6.5.1
macros: '>=0.1.1-0 <0.1.2'
.v6.5.0
LibraryElement.toLegacyTypeIfOptOut
.LibraryElement.toLegacyElementIfOptOut
.LibraryElement.isNonNullableByDefault
.InterfaceElement.lookUpGetter
,InterfaceElement.lookUpMethod
,and
InterfaceElement.lookUpSetter
.GeneralizingAstVisitor.visitNamedType
to invokevisitTypeAnnotation
.PropertyInducingElement get variable
inPropertyAccessorElement
,use
PropertyInducingElement? get variable2
instead.The reason for this is that when the property accessor is an augmentation
without the corresponding declaration, there is no corresponding variable.
ExtensionDeclaration.onKeyword
andextendedType
.Use
ExtensionOnClause? get onClause
instead.Extension augmentations are not allowed to have
onClause
.OnClause
, useMixinOnClause
instead.@doNotSubmit
.@mustBeConst
.constructor
,directive
,enumValue
, andtypeParameter
.AstNode.getProperty
andAstNode.setProperty
. Clients who needthe ability to add arbitrary decorations to AST nodes can achieve the same
effect using Dart's built-in
Expando class.
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 was generated by Mend Renovate. View the repository job log.