chore(deps): update dependency analyzer to v8 #633
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:
^7.4.0
->^8.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
dart-lang/sdk (analyzer)
v8.1.1
EnumSet
usage when compiled to JavaScript.v8.1.0
DartObject.constructorInvocation
with the constructor and arguments.PropertyAccessorElement.variable
non-nullable.documentationComment
toElement
andFragment
.metadata
toElement
andFragment
.metadata
toElementDirective
.partKeywordOffset
toPartInclude
.package:build
.LibraryElementResult.element2
, useelement
instead.ResolvedLibraryResult.element2
, useelement
instead.ResolvedUnitResult.libraryElement2
, uselibraryElement
instead.AnalysisSession.getParsedLibraryByElement2
, usegetParsedLibraryByElement
instead.AnalysisSession.getResolvedLibraryByElement2
, usegetResolvedLibraryByElement
instead.resolveFile2
, useresolveFile
instead.DartObject.variable2
, usevariable
instead.DartObject.toFunctionValue2
, usetoFunctionValue
instead.Annotatable
, usedocumentationComment
andmetadata
ofElement
orFragment
directly.ClassElement.isExtendableIn
; useisExtendableOutside
instead.ClassElement.isImplementableIn
; useisImplementableOutside
instead.ClassElement.isMixableIn
; useisMixableOutside
instead.MixinElement.isImplementableIn
; useisImplementableOutside
instead.v8.0.0
DartType.isStructurallyEqualTo
.RecordType.positionalTypes
.RecordType.sortedNamedTypes
.ElementLocation
class; its values are not returned anymore.AnalysisContext.analysisOptions
.PromotableElement
andPromotableFragment
.LocalVariableElement.hasInitializer
.LocalVariableFragment.hasInitializer
.LocalVariableFragment.nameOffset
.JoinPatternVariableFragment.isConsistent
.JoinPatternVariableFragment.variables2
.VariableElement.constantInitializer2
.VariableFragment.initializer
.ConstantInitializer
.HasSinceSdkVersion
.LibraryFragment
is notAnnotatable
anymore.ConstantEvaluationTarget
byElementAnnotation
.This is an internal interface that should not have been exposed.
element2.dart
library; importelement.dart
.XyzElement2
classes; useXyzElement
instead.AnalysisError.correction
field; useAnalysisError.correctionMessage
instead.AnalysisError
; useDiagnostic
instead.ErrorCode
; useDiagnosticCode
instead.ErrorReporter.atOffset
'serrorCode
parameter; usediagnosticCode
instead.ErrorSeverity
; useDiagnosticSeverity
instead.DiagnosticCode.errorSeverity
; useDiagnosticCode.diagnosticSeverity
instead.AnalysisErrorListener
,BooleanErrorListener
, andRecordingErrorListener
; useDiagnosticListener
,BooleanDiagnosticListener
, andRecordingDiagnosticListener
respectively,instead. Instead of calling or overriding
AnalysisErrorListener.onError
,call or override
DiagnosticListener.onDiagnostic
. Instead of usingAnalysisErrorListener.NULL_LISTENER
, useDiagnosticListener.nullListener
.RecordingErrorListener.errors
; useRecordingDiagnosticListener.diagnostics
instead.RecordingErrorListener.getErrorsForSource
; no longer supported.AnalysisResultWithErrors
; useAnalysisResultWithDiagnostics
instead.
AnalysisResultWithErrors.errors
; useAnalysisResultWithErrors.diagnostics
instead.ErrorType
; useDiagnosticType
instead.ElementDirective
fromsealed
toabstract
.This allows the analyzer to have an internal implementation
class corresponding to
ElementDirective
.NamedType.name2
, usename
instead.ClassElement.isXyzIn2
, useisXyzIn
instead.Element.enclosingElement2
, useenclosingElement
instead.InstanceElement.fields2
, usefields
instead.InstanceElement.getters2
, usegetters
instead.InstanceElement.setters2
, usesetters
instead.InstanceElement.methods2
, usemethods
instead.InstanceElement.getField2
, usegetField
instead.InstanceElement.getGetter2
, usegetGetter
instead.InstanceElement.getSetter2
, usegetSetter
instead.InstanceElement.getMethod2
, usegetMethod
instead.InstanceFragment.fields2
, usefields
instead.InstanceFragment.methods2
, usemethods
instead.InterfaceElement.constructors2
, useconstructors
instead.InterfaceFragment.constructors2
, useconstructors
instead.JoinPatternVariableElement.variables2
, usevariables
instead.Annotatable.metadata2
, usemetadata
instead.Element.nonSynthetic2
, usenonSynthetic
instead.Element.library2
, uselibrary
instead.ExtensionTypeElement.primaryConstructor2
, useprimaryConstructor
instead.ExtensionTypeElement.representation2
, userepresentation
instead.ExtensionTypeFragment.primaryConstructor2
, useprimaryConstructor
instead.ExtensionTypeFragment.representation2
, userepresentation
instead.InterfaceType.getGetter2
, usegetGetter
instead.InterfaceType.getMethod2
, usegetMethod
instead.InterfaceType.getSetter2
, usegetSetter
instead.InterfaceType.lookUpConstructor2
, uselookUpConstructor
instead.InterfaceType.lookUpGetter3
, uselookUpGetter
instead.InterfaceType.lookUpMethod3
, uselookUpMethod
instead.InterfaceType.lookUpSetter3
, uselookUpSetter
instead.PropertyAccessorFragmentImplImplicitGetter
,PropertyAccessorFragmentImplImplicitSetter
,and
FormalParameterFragmentImplOfImplicitSetter
, replace withGetterFragmentImpl
, andSetterFragmentImpl
.ExtensionTypeFragment.representation2
, userepresentation
instead.DartType.element3
, useelement
instead.LibraryElement.loadLibraryFunction2
, useloadLibraryFunction
instead.InterfaceType.constructors2
, useconstructors
instead.Element.accept2
, useaccept
instead.InstantiatedTypeAliasElement.element2
, useelement
instead.TypeProvider.boolElement2
, useboolElement
instead.TypeProvider.doubleElement2
, usedoubleElement
instead.TypeProvider.enumElement2
, useenumElement
instead.TypeProvider.futureElement2
, usefutureElement
instead.TypeProvider.futureOrElement2
, usefutureOrElement
instead.TypeProvider.intElement2
, useintElement
instead.TypeProvider.iterableElement2
, useiterableElement
instead.TypeProvider.listElement2
, uselistElement
instead.TypeProvider.mapElement2
, usemapElement
instead.TypeProvider.nullElement2
, usenullElement
instead.TypeProvider.numElement2
, usenumElement
instead.TypeProvider.objectElement2
, useobjectElement
instead.TypeProvider.recordElement2
, userecordElement
instead.TypeProvider.setElement2
, usesetElement
instead.TypeProvider.streamElement2
, usestreamElement
instead.TypeProvider.stringElement2
, usestringElement
instead.TypeProvider.symbolElement2
, usesymbolElement
instead.Annotation.element2
, useelement
instead.LibraryDirective.name2
, usename
instead.CatchClauseParameter.declaredElement2
, usedeclaredElement
instead.CompoundAssignmentExpression.readElement2
, usereadElement
instead.CompoundAssignmentExpression.writeElement2
, usewriteElement
instead.DeclaredIdentifier.declaredElement2
, usedeclaredElement
instead.DeclaredVariablePattern.declaredElement2
, usedeclaredElement
instead.EnumConstantDeclaration.constructorElement2
, useconstructorElement
instead.ExtensionOverride.element2
, useelement
instead.FunctionBody.isPotentiallyMutatedInScope2
, useisPotentiallyMutatedInScope
instead.ImportPrefixReference.element2
, useelement
instead.LibraryDirective.element2
, useelement
instead.LibraryDirective.name2
, usename
instead.NamedExpression.element2
, useelement
instead.NamedType.element2
, useelement
instead.PatternField.element2
, useelement
instead.RelationalPattern.element2
, useelement
instead.VariableDeclaration.declaredElement2
, usedeclaredElement
instead.InterfaceType.methods2
, usemethods
instead.Fragment.name2
, usename
instead.Element.name3
, usename
instead.ConstructorElement.redirectedConstructor2
, useredirectedConstructor
instead.ConstructorElement.superConstructor2
, usesuperConstructor˙
instead.Element.children2
, usechildren
instead.Element.displayString2
, usedisplayString
instead.Element.getExtendedDisplayName2
, usegetExtendedDisplayName
instead.Element.isAccessibleIn2
, useisAccessibleIn
instead.Element.thisOrAncestorMatching2
, usethisOrAncestorMatching
instead.Element.thisOrAncestorOfType2
, usethisOrAncestorOfType
instead.EnumElement.constants2
, useconstants
instead.FieldFormalParameterElement.field2
, usefield
instead.FormalParameterElement.typeParameters2
, usetypeParameters
instead.Fragment.children3
, usechildren
instead.DartType.asInstanceOf2
, useasInstanceOf
instead.TypeSystem.instantiateInterfaceToBounds2
, useinstantiateInterfaceToBounds
instead.TypeSystem.instantiateTypeAliasToBounds2
, useinstantiateTypeAliasToBounds
instead.FormalParameterElement.appendToWithoutDelimiters
, useappendToWithoutDelimiters
instead.GetterElement.correspondingSetter2
, usecorrespondingSetter
instead.InterfaceElement.unnamedConstructor2
, useunnamedConstructor
instead.InterfaceElement.getNamedConstructor2
, usegetNamedConstructor
instead.TypeParameterizedElement.typeParameters2
, usetypeParameters
instead.FormalParameterElement.appendToWithoutDelimiters2
, useappendToWithoutDelimiters
instead.GetterElement.correspondingSetter2
, usecorrespondingSetter
instead.InterfaceElement.unnamedConstructor2
, useunnamedConstructor
instead.InterfaceElement.getNamedConstructor2
, usegetNamedConstructor
instead.LibraryElement.entryPoint2
, useentryPoint
instead.LibraryElement.exportedLibraries2
, useexportedLibraries
instead.LibraryElement.getClass2
, usegetClass
instead.LibraryElement.getEnum2
, usegetEnum
instead.LibraryElement.getMixin2
, usegetMixin
instead.LibraryExport.exportedLibrary2
, useexportedLibrary
instead.LibraryFragment.accessibleExtensions2
, useaccessibleExtensions
instead.LibraryFragment.importedLibraries2
, useimportedLibraries
instead.LibraryImport.importedLibrary2
, useimportedLibrary
instead.MixinElement.isImplementableIn2
, useisImplementableIn
instead.PatternVariableElement.join2
, usejoin
instead.PropertyAccessorElement.variable3
, usevariable
instead.PropertyInducingElement.getter2
, usegetter
instead.PropertyInducingElement.setter2
, usesetter
instead.SetterElement.correspondingGetter2
, usecorrespondingGetter
instead.SuperFormalParameterElement.superConstructorParameter2
, usesuperConstructorParameter
instead.TypeAliasElement.aliasedElement2
, usealiasedElement
instead.TypeParameterizedElement.typeParameters2
, usetypeParameters
instead.VariableElement.constantInitializer2
, useconstantInitializer
instead.TypeProvider.isNonSubtypableClass2
, useisNonSubtypableClass
instead.EnumFragment.constants2
, useconstants
instead.InterfaceElement.lookUpInheritedMethod2
, uselookUpInheritedMethod
instead.LibraryFragment.classes2
, useclasses
instead.LibraryFragment.enums2
, useenums
instead.LibraryFragment.extensionTypes2
, useextensionTypes
instead.LibraryFragment.extensions2
, useextensions
instead.LibraryFragment.functions2
, usefunctions
instead.LibraryFragment.libraryExports2
, uselibraryExports
instead.LibraryFragment.libraryImports2
, uselibraryImports
instead.LibraryFragment.mixins2
, usemixins
instead.LibraryFragment.topLevelVariables2
, usetopLevelVariables
instead.LibraryFragment.typeAliases2
, usetypeAliases
instead.PatternVariableFragment.join2
, usejoin
instead.LibraryFragment.isNonSubtypableClass2
, useisNonSubtypableClass
instead.TypeParameterizedFragment.typeParameters2
, usetypeParameters
instead.Fragment.nameOffset2
, usenameOffset
instead.DirectiveUriWithLibrary.library2
, uselibrary
instead.ElementAnnotation.element2
, useelement
instead.LibraryImport.prefix2
, useprefix
instead.MultiplyDefinedElement.conflictingElements2
, useconflictingElements
instead.ScopeLookupResult.getter2
, usegetter
instead.ScopeLookupResult.setter2
, usesetter
instead.Configuration
📅 Schedule: Branch creation - "on wednesday" (UTC), 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.