chore(deps): update dependency analyzer to v9 #632
+1
−1
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->9.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
dart-lang/sdk (analyzer)
v9.0.0Diagnostic.data.DiagnosticReporter.atOffsetand the constructorsDiagnostic.tmpandDiagnostic.forValues, remove the deprecated namedparameter
errorCode, and make the named parameterdiagnosticCodenon-nullable and required.
DiagnosticReporter.atOffsetnamed parameter,errorCode.BooleanErrorListener.RecordingErrorListener.AnalysisErrorListener.NULL_LISTENER.AstNodeExtension.NullShortableExpression.PartDirective.configurations.TypeDefiningElement.TypeAliasElement.aliasedElement.resolveFile2.ErrorCode.ErrorSeverity.ErrorType.AnalysisErrorListener.RecordingDiagnosticListener.errors.RecordingDiagnosticListener.getErrorForSource.BooleanDiagnosticListener.onErrorin favor of.onDiagnostic.RecordingDiagnosticListener.onErrorin favor of.onDiagnostic.DiagnosticOrErrorListenerin favor ofDiagnosticListener.v8.4.0experimental_member_usewarning, which warns about any reference toa declaration annotated with
@experimental.TypeAliasElement.aliasedElement, usealiasedTypeinstead.v8.3.0TypeDefiningElement, check for specific elements.TypeDefiningFragment, check for specific fragments.PartDirective.configurations, removed from the specification.v8.2.0^3.9.0.Diagnostic.data. Instead, please use an expando to attach data tothe
Diagnosticobject.CatchClauseParameter.declaredElementandCatchClauseParameter.declaredElement2.Use
CatchClauseParameter.declaredFragmentinstead.DeclaredIdentifier.declaredElementandDeclaredIdentifier.declaredElement2.Use
DeclaredIdentifier.declaredFragmentinstead.DeclaredVariablePattern.declaredElementandDeclaredVariablePattern.declaredElement2.Use
DeclaredVariablePattern.declaredFragmentinstead.VariableDeclaration.declaredElementandVariableDeclaration.declaredElement2.Use
VariableDeclaration.declaredFragmentinstead.InterfaceFragment.interfaces, useInterfaceElement.interfacesinstead.InterfaceFragment.mixins, useInterfaceElement.mixinsinstead.InterfaceFragment.supertype, useInterfaceElement.supertypeinstead.ExtensionTypeFragment.primaryConstructor, useExtensionTypeElement.primaryConstructor.ExtensionTypeFragment.representation, useExtensionTypeElement.representation.NullShortableExpression. This interface should not be needed byanalyzer clients, and is no longer supported.
v8.1.1EnumSetusage when compiled to JavaScript.v8.1.0DartObject.constructorInvocationwith the constructor and arguments.PropertyAccessorElement.variablenon-nullable.documentationCommenttoElementandFragment.metadatatoElementandFragment.metadatatoElementDirective.partKeywordOffsettoPartInclude.package:build.LibraryElementResult.element2, useelementinstead.ResolvedLibraryResult.element2, useelementinstead.ResolvedUnitResult.libraryElement2, uselibraryElementinstead.AnalysisSession.getParsedLibraryByElement2, usegetParsedLibraryByElementinstead.AnalysisSession.getResolvedLibraryByElement2, usegetResolvedLibraryByElementinstead.resolveFile2, useresolveFileinstead.DartObject.variable2, usevariableinstead.DartObject.toFunctionValue2, usetoFunctionValueinstead.Annotatable, usedocumentationCommentandmetadataofElementorFragmentdirectly.ClassElement.isExtendableIn; useisExtendableOutsideinstead.ClassElement.isImplementableIn; useisImplementableOutsideinstead.ClassElement.isMixableIn; useisMixableOutsideinstead.MixinElement.isImplementableIn; useisImplementableOutsideinstead.v8.0.0DartType.isStructurallyEqualTo.RecordType.positionalTypes.RecordType.sortedNamedTypes.ElementLocationclass; its values are not returned anymore.AnalysisContext.analysisOptions.PromotableElementandPromotableFragment.LocalVariableElement.hasInitializer.LocalVariableFragment.hasInitializer.LocalVariableFragment.nameOffset.JoinPatternVariableFragment.isConsistent.JoinPatternVariableFragment.variables2.VariableElement.constantInitializer2.VariableFragment.initializer.ConstantInitializer.HasSinceSdkVersion.LibraryFragmentis notAnnotatableanymore.ConstantEvaluationTargetbyElementAnnotation.This is an internal interface that should not have been exposed.
element2.dartlibrary; importelement.dart.XyzElement2classes; useXyzElementinstead.AnalysisError.correctionfield; useAnalysisError.correctionMessageinstead.AnalysisError; useDiagnosticinstead.ErrorCode; useDiagnosticCodeinstead.ErrorReporter.atOffset'serrorCodeparameter; usediagnosticCodeinstead.ErrorSeverity; useDiagnosticSeverityinstead.DiagnosticCode.errorSeverity; useDiagnosticCode.diagnosticSeverityinstead.AnalysisErrorListener,BooleanErrorListener, andRecordingErrorListener; useDiagnosticListener,BooleanDiagnosticListener, andRecordingDiagnosticListenerrespectively,instead. Instead of calling or overriding
AnalysisErrorListener.onError,call or override
DiagnosticListener.onDiagnostic. Instead of usingAnalysisErrorListener.NULL_LISTENER, useDiagnosticListener.nullListener.RecordingErrorListener.errors; useRecordingDiagnosticListener.diagnosticsinstead.RecordingErrorListener.getErrorsForSource; no longer supported.AnalysisResultWithErrors; useAnalysisResultWithDiagnosticsinstead.
AnalysisResultWithErrors.errors; useAnalysisResultWithErrors.diagnosticsinstead.ErrorType; useDiagnosticTypeinstead.ElementDirectivefromsealedtoabstract.This allows the analyzer to have an internal implementation
class corresponding to
ElementDirective.NamedType.name2, usenameinstead.ClassElement.isXyzIn2, useisXyzIninstead.Element.enclosingElement2, useenclosingElementinstead.InstanceElement.fields2, usefieldsinstead.InstanceElement.getters2, usegettersinstead.InstanceElement.setters2, usesettersinstead.InstanceElement.methods2, usemethodsinstead.InstanceElement.getField2, usegetFieldinstead.InstanceElement.getGetter2, usegetGetterinstead.InstanceElement.getSetter2, usegetSetterinstead.InstanceElement.getMethod2, usegetMethodinstead.InstanceFragment.fields2, usefieldsinstead.InstanceFragment.methods2, usemethodsinstead.InterfaceElement.constructors2, useconstructorsinstead.InterfaceFragment.constructors2, useconstructorsinstead.JoinPatternVariableElement.variables2, usevariablesinstead.Annotatable.metadata2, usemetadatainstead.Element.nonSynthetic2, usenonSyntheticinstead.Element.library2, uselibraryinstead.ExtensionTypeElement.primaryConstructor2, useprimaryConstructorinstead.ExtensionTypeElement.representation2, userepresentationinstead.ExtensionTypeFragment.primaryConstructor2, useprimaryConstructorinstead.ExtensionTypeFragment.representation2, userepresentationinstead.InterfaceType.getGetter2, usegetGetterinstead.InterfaceType.getMethod2, usegetMethodinstead.InterfaceType.getSetter2, usegetSetterinstead.InterfaceType.lookUpConstructor2, uselookUpConstructorinstead.InterfaceType.lookUpGetter3, uselookUpGetterinstead.InterfaceType.lookUpMethod3, uselookUpMethodinstead.InterfaceType.lookUpSetter3, uselookUpSetterinstead.PropertyAccessorFragmentImplImplicitGetter,PropertyAccessorFragmentImplImplicitSetter,and
FormalParameterFragmentImplOfImplicitSetter, replace withGetterFragmentImpl, andSetterFragmentImpl.ExtensionTypeFragment.representation2, userepresentationinstead.DartType.element3, useelementinstead.LibraryElement.loadLibraryFunction2, useloadLibraryFunctioninstead.InterfaceType.constructors2, useconstructorsinstead.Element.accept2, useacceptinstead.InstantiatedTypeAliasElement.element2, useelementinstead.TypeProvider.boolElement2, useboolElementinstead.TypeProvider.doubleElement2, usedoubleElementinstead.TypeProvider.enumElement2, useenumElementinstead.TypeProvider.futureElement2, usefutureElementinstead.TypeProvider.futureOrElement2, usefutureOrElementinstead.TypeProvider.intElement2, useintElementinstead.TypeProvider.iterableElement2, useiterableElementinstead.TypeProvider.listElement2, uselistElementinstead.TypeProvider.mapElement2, usemapElementinstead.TypeProvider.nullElement2, usenullElementinstead.TypeProvider.numElement2, usenumElementinstead.TypeProvider.objectElement2, useobjectElementinstead.TypeProvider.recordElement2, userecordElementinstead.TypeProvider.setElement2, usesetElementinstead.TypeProvider.streamElement2, usestreamElementinstead.TypeProvider.stringElement2, usestringElementinstead.TypeProvider.symbolElement2, usesymbolElementinstead.Annotation.element2, useelementinstead.LibraryDirective.name2, usenameinstead.CatchClauseParameter.declaredElement2, usedeclaredElementinstead.CompoundAssignmentExpression.readElement2, usereadElementinstead.CompoundAssignmentExpression.writeElement2, usewriteElementinstead.DeclaredIdentifier.declaredElement2, usedeclaredElementinstead.DeclaredVariablePattern.declaredElement2, usedeclaredElementinstead.EnumConstantDeclaration.constructorElement2, useconstructorElementinstead.ExtensionOverride.element2, useelementinstead.FunctionBody.isPotentiallyMutatedInScope2, useisPotentiallyMutatedInScopeinstead.ImportPrefixReference.element2, useelementinstead.LibraryDirective.element2, useelementinstead.LibraryDirective.name2, usenameinstead.NamedExpression.element2, useelementinstead.NamedType.element2, useelementinstead.PatternField.element2, useelementinstead.RelationalPattern.element2, useelementinstead.VariableDeclaration.declaredElement2, usedeclaredElementinstead.InterfaceType.methods2, usemethodsinstead.Fragment.name2, usenameinstead.Element.name3, usenameinstead.ConstructorElement.redirectedConstructor2, useredirectedConstructorinstead.ConstructorElement.superConstructor2, usesuperConstructor˙instead.Element.children2, usechildreninstead.Element.displayString2, usedisplayStringinstead.Element.getExtendedDisplayName2, usegetExtendedDisplayNameinstead.Element.isAccessibleIn2, useisAccessibleIninstead.Element.thisOrAncestorMatching2, usethisOrAncestorMatchinginstead.Element.thisOrAncestorOfType2, usethisOrAncestorOfTypeinstead.EnumElement.constants2, useconstantsinstead.FieldFormalParameterElement.field2, usefieldinstead.FormalParameterElement.typeParameters2, usetypeParametersinstead.Fragment.children3, usechildreninstead.DartType.asInstanceOf2, useasInstanceOfinstead.TypeSystem.instantiateInterfaceToBounds2, useinstantiateInterfaceToBoundsinstead.TypeSystem.instantiateTypeAliasToBounds2, useinstantiateTypeAliasToBoundsinstead.FormalParameterElement.appendToWithoutDelimiters, useappendToWithoutDelimitersinstead.GetterElement.correspondingSetter2, usecorrespondingSetterinstead.InterfaceElement.unnamedConstructor2, useunnamedConstructorinstead.InterfaceElement.getNamedConstructor2, usegetNamedConstructorinstead.TypeParameterizedElement.typeParameters2, usetypeParametersinstead.FormalParameterElement.appendToWithoutDelimiters2, useappendToWithoutDelimitersinstead.GetterElement.correspondingSetter2, usecorrespondingSetterinstead.InterfaceElement.unnamedConstructor2, useunnamedConstructorinstead.InterfaceElement.getNamedConstructor2, usegetNamedConstructorinstead.LibraryElement.entryPoint2, useentryPointinstead.LibraryElement.exportedLibraries2, useexportedLibrariesinstead.LibraryElement.getClass2, usegetClassinstead.LibraryElement.getEnum2, usegetEnuminstead.LibraryElement.getMixin2, usegetMixininstead.LibraryExport.exportedLibrary2, useexportedLibraryinstead.LibraryFragment.accessibleExtensions2, useaccessibleExtensionsinstead.LibraryFragment.importedLibraries2, useimportedLibrariesinstead.LibraryImport.importedLibrary2, useimportedLibraryinstead.MixinElement.isImplementableIn2, useisImplementableIninstead.PatternVariableElement.join2, usejoininstead.PropertyAccessorElement.variable3, usevariableinstead.PropertyInducingElement.getter2, usegetterinstead.PropertyInducingElement.setter2, usesetterinstead.SetterElement.correspondingGetter2, usecorrespondingGetterinstead.SuperFormalParameterElement.superConstructorParameter2, usesuperConstructorParameterinstead.TypeAliasElement.aliasedElement2, usealiasedElementinstead.TypeParameterizedElement.typeParameters2, usetypeParametersinstead.VariableElement.constantInitializer2, useconstantInitializerinstead.TypeProvider.isNonSubtypableClass2, useisNonSubtypableClassinstead.EnumFragment.constants2, useconstantsinstead.InterfaceElement.lookUpInheritedMethod2, uselookUpInheritedMethodinstead.LibraryFragment.classes2, useclassesinstead.LibraryFragment.enums2, useenumsinstead.LibraryFragment.extensionTypes2, useextensionTypesinstead.LibraryFragment.extensions2, useextensionsinstead.LibraryFragment.functions2, usefunctionsinstead.LibraryFragment.libraryExports2, uselibraryExportsinstead.LibraryFragment.libraryImports2, uselibraryImportsinstead.LibraryFragment.mixins2, usemixinsinstead.LibraryFragment.topLevelVariables2, usetopLevelVariablesinstead.LibraryFragment.typeAliases2, usetypeAliasesinstead.PatternVariableFragment.join2, usejoininstead.LibraryFragment.isNonSubtypableClass2, useisNonSubtypableClassinstead.TypeParameterizedFragment.typeParameters2, usetypeParametersinstead.Fragment.nameOffset2, usenameOffsetinstead.DirectiveUriWithLibrary.library2, uselibraryinstead.ElementAnnotation.element2, useelementinstead.LibraryImport.prefix2, useprefixinstead.MultiplyDefinedElement.conflictingElements2, useconflictingElementsinstead.ScopeLookupResult.getter2, usegetterinstead.ScopeLookupResult.setter2, usesetterinstead.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.