From 8377e6ea422ee2d52455da8955ff055e09c238d3 Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Tue, 30 Nov 2021 06:09:02 -0800 Subject: [PATCH 1/4] feat(scope-manager): update lib types (#4240) --- .../scope-manager/src/lib/dom.iterable.ts | 8 +- packages/scope-manager/src/lib/dom.ts | 424 ++++++++---------- packages/scope-manager/src/lib/es2021.intl.ts | 10 + packages/scope-manager/src/lib/es2021.ts | 2 + packages/scope-manager/src/lib/es5.ts | 3 + packages/scope-manager/src/lib/index.ts | 2 + .../src/lib/webworker.iterable.ts | 4 +- packages/scope-manager/src/lib/webworker.ts | 160 +++---- packages/types/src/lib.ts | 1 + packages/typescript-estree/src/parser.ts | 2 +- 10 files changed, 283 insertions(+), 333 deletions(-) create mode 100644 packages/scope-manager/src/lib/es2021.intl.ts diff --git a/packages/scope-manager/src/lib/dom.iterable.ts b/packages/scope-manager/src/lib/dom.iterable.ts index fcd9388b5620..7d08de4ce643 100644 --- a/packages/scope-manager/src/lib/dom.iterable.ts +++ b/packages/scope-manager/src/lib/dom.iterable.ts @@ -13,12 +13,12 @@ export const dom_iterable = { CSSStyleDeclaration: TYPE, Cache: TYPE, CanvasPathDrawingStyles: TYPE, - ClientRectList: TYPE, DOMRectList: TYPE, DOMStringList: TYPE, DOMTokenList: TYPE, DataTransferItemList: TYPE, FileList: TYPE, + FontFaceSet: TYPE, FormData: TYPE, HTMLAllCollection: TYPE, HTMLCollectionBase: TYPE, @@ -30,6 +30,7 @@ export const dom_iterable = { IDBObjectStore: TYPE, MediaKeyStatusMap: TYPE, MediaList: TYPE, + MessageEvent: TYPE, MimeTypeArray: TYPE, NamedNodeMap: TYPE, Navigator: TYPE, @@ -37,22 +38,21 @@ export const dom_iterable = { NodeListOf: TYPE, Plugin: TYPE, PluginArray: TYPE, - RTCRtpTransceiver: TYPE, RTCStatsReport: TYPE, SVGLengthList: TYPE, SVGNumberList: TYPE, SVGPointList: TYPE, SVGStringList: TYPE, + SVGTransformList: TYPE, SourceBufferList: TYPE, - SpeechGrammarList: TYPE, SpeechRecognitionResult: TYPE, SpeechRecognitionResultList: TYPE, StyleSheetList: TYPE, + SubtleCrypto: TYPE, TextTrackCueList: TYPE, TextTrackList: TYPE, TouchList: TYPE, URLSearchParams: TYPE, - VRDisplay: TYPE, WEBGL_draw_buffers: TYPE, WebGL2RenderingContextBase: TYPE, WebGL2RenderingContextOverloads: TYPE, diff --git a/packages/scope-manager/src/lib/dom.ts b/packages/scope-manager/src/lib/dom.ts index ca9edfe21919..f779c76f8b78 100644 --- a/packages/scope-manager/src/lib/dom.ts +++ b/packages/scope-manager/src/lib/dom.ts @@ -7,7 +7,6 @@ import { TYPE, TYPE_VALUE } from './base-config'; export const dom = { AddEventListenerOptions: TYPE, - AddressErrors: TYPE, AesCbcParams: TYPE, AesCtrParams: TYPE, AesDerivedKeyParams: TYPE, @@ -21,10 +20,9 @@ export const dom = { AssignedNodesOptions: TYPE, AudioBufferOptions: TYPE, AudioBufferSourceOptions: TYPE, - AudioContextInfo: TYPE, + AudioConfiguration: TYPE, AudioContextOptions: TYPE, AudioNodeOptions: TYPE, - AudioParamDescriptor: TYPE, AudioProcessingEventInit: TYPE, AudioTimestamp: TYPE, AudioWorkletNodeOptions: TYPE, @@ -32,29 +30,30 @@ export const dom = { AuthenticationExtensionsClientOutputs: TYPE, AuthenticatorSelectionCriteria: TYPE, BiquadFilterOptions: TYPE, + BlobEventInit: TYPE, BlobPropertyBag: TYPE, - ByteLengthChunk: TYPE, + CSSStyleSheetInit: TYPE, CacheQueryOptions: TYPE, CanvasRenderingContext2DSettings: TYPE, ChannelMergerOptions: TYPE, ChannelSplitterOptions: TYPE, ClientQueryOptions: TYPE, ClipboardEventInit: TYPE, + ClipboardItemOptions: TYPE, CloseEventInit: TYPE, CompositionEventInit: TYPE, ComputedEffectTiming: TYPE, ComputedKeyframe: TYPE, - ConfirmSiteSpecificExceptionsInformation: TYPE, ConstantSourceOptions: TYPE, ConstrainBooleanParameters: TYPE, ConstrainDOMStringParameters: TYPE, ConstrainDoubleRange: TYPE, ConstrainULongRange: TYPE, - ConstrainVideoFacingModeParameters: TYPE, ConvolverOptions: TYPE, CredentialCreationOptions: TYPE, CredentialPropertiesOutput: TYPE, CredentialRequestOptions: TYPE, + CryptoKeyPair: TYPE, CustomEventInit: TYPE, DOMMatrix2DInit: TYPE, DOMMatrixInit: TYPE, @@ -66,7 +65,7 @@ export const dom = { DeviceMotionEventInit: TYPE, DeviceMotionEventRotationRateInit: TYPE, DeviceOrientationEventInit: TYPE, - DevicePermissionDescriptor: TYPE, + DisplayMediaStreamConstraints: TYPE, DocumentTimelineOptions: TYPE, DoubleRange: TYPE, DragEventInit: TYPE, @@ -84,15 +83,17 @@ export const dom = { EventListenerOptions: TYPE, EventModifierInit: TYPE, EventSourceInit: TYPE, - ExceptionInformation: TYPE, FilePropertyBag: TYPE, + FileSystemFlags: TYPE, FocusEventInit: TYPE, - FocusNavigationEventInit: TYPE, - FocusNavigationOrigin: TYPE, FocusOptions: TYPE, + FontFaceDescriptors: TYPE, + FontFaceSetLoadEventInit: TYPE, + FormDataEventInit: TYPE, FullscreenOptions: TYPE, GainOptions: TYPE, GamepadEventInit: TYPE, + GetAnimationsOptions: TYPE, GetNotificationOptions: TYPE, GetRootNodeOptions: TYPE, HashChangeEventInit: TYPE, @@ -100,13 +101,15 @@ export const dom = { HmacImportParams: TYPE, HmacKeyAlgorithm: TYPE, HmacKeyGenParams: TYPE, + IDBDatabaseInfo: TYPE, IDBIndexParameters: TYPE, IDBObjectStoreParameters: TYPE, IDBVersionChangeEventInit: TYPE, IIRFilterOptions: TYPE, + IdleRequestOptions: TYPE, ImageBitmapOptions: TYPE, ImageBitmapRenderingContextSettings: TYPE, - ImageEncodeOptions: TYPE, + ImageDataSettings: TYPE, ImportMeta: TYPE, InputEventInit: TYPE, IntersectionObserverEntryInit: TYPE, @@ -117,17 +120,26 @@ export const dom = { Keyframe: TYPE, KeyframeAnimationOptions: TYPE, KeyframeEffectOptions: TYPE, + MediaCapabilitiesDecodingInfo: TYPE, + MediaCapabilitiesEncodingInfo: TYPE, + MediaCapabilitiesInfo: TYPE, + MediaConfiguration: TYPE, + MediaDecodingConfiguration: TYPE, MediaElementAudioSourceOptions: TYPE, + MediaEncodingConfiguration: TYPE, MediaEncryptedEventInit: TYPE, + MediaImage: TYPE, MediaKeyMessageEventInit: TYPE, MediaKeySystemConfiguration: TYPE, MediaKeySystemMediaCapability: TYPE, + MediaMetadataInit: TYPE, + MediaPositionState: TYPE, MediaQueryListEventInit: TYPE, + MediaRecorderErrorEventInit: TYPE, + MediaRecorderOptions: TYPE, + MediaSessionActionDetails: TYPE, MediaStreamAudioSourceOptions: TYPE, MediaStreamConstraints: TYPE, - MediaStreamErrorEventInit: TYPE, - MediaStreamEventInit: TYPE, - MediaStreamTrackAudioSourceOptions: TYPE, MediaStreamTrackEventInit: TYPE, MediaTrackCapabilities: TYPE, MediaTrackConstraintSet: TYPE, @@ -135,11 +147,9 @@ export const dom = { MediaTrackSettings: TYPE, MediaTrackSupportedConstraints: TYPE, MessageEventInit: TYPE, - MidiPermissionDescriptor: TYPE, MouseEventInit: TYPE, MultiCacheQueryOptions: TYPE, MutationObserverInit: TYPE, - NavigationPreloadState: TYPE, NotificationAction: TYPE, NotificationOptions: TYPE, OfflineAudioCompletionEventInit: TYPE, @@ -148,7 +158,6 @@ export const dom = { OscillatorOptions: TYPE, PageTransitionEventInit: TYPE, PannerOptions: TYPE, - PayerErrors: TYPE, PaymentCurrencyAmount: TYPE, PaymentDetailsBase: TYPE, PaymentDetailsInit: TYPE, @@ -157,11 +166,11 @@ export const dom = { PaymentItem: TYPE, PaymentMethodChangeEventInit: TYPE, PaymentMethodData: TYPE, - PaymentOptions: TYPE, PaymentRequestUpdateEventInit: TYPE, - PaymentShippingOption: TYPE, PaymentValidationErrors: TYPE, Pbkdf2Params: TYPE, + PerformanceMarkOptions: TYPE, + PerformanceMeasureOptions: TYPE, PerformanceObserverInit: TYPE, PeriodicWaveConstraints: TYPE, PeriodicWaveOptions: TYPE, @@ -169,7 +178,6 @@ export const dom = { PointerEventInit: TYPE, PopStateEventInit: TYPE, PositionOptions: TYPE, - PostMessageOptions: TYPE, ProgressEventInit: TYPE, PromiseRejectionEventInit: TYPE, PropertyIndexedKeyframes: TYPE, @@ -180,7 +188,6 @@ export const dom = { PublicKeyCredentialRequestOptions: TYPE, PublicKeyCredentialRpEntity: TYPE, PublicKeyCredentialUserEntity: TYPE, - PushPermissionDescriptor: TYPE, PushSubscriptionJSON: TYPE, PushSubscriptionOptionsInit: TYPE, QueuingStrategy: TYPE, @@ -192,29 +199,17 @@ export const dom = { RTCDataChannelEventInit: TYPE, RTCDataChannelInit: TYPE, RTCDtlsFingerprint: TYPE, - RTCDtlsParameters: TYPE, - RTCErrorEventInit: TYPE, - RTCErrorInit: TYPE, - RTCIceCandidateAttributes: TYPE, - RTCIceCandidateComplete: TYPE, - RTCIceCandidateDictionary: TYPE, RTCIceCandidateInit: TYPE, - RTCIceCandidatePair: TYPE, RTCIceCandidatePairStats: TYPE, - RTCIceGatherOptions: TYPE, - RTCIceParameters: TYPE, RTCIceServer: TYPE, - RTCIdentityProviderOptions: TYPE, - RTCInboundRTPStreamStats: TYPE, + RTCInboundRtpStreamStats: TYPE, RTCLocalSessionDescriptionInit: TYPE, - RTCMediaStreamTrackStats: TYPE, RTCOfferAnswerOptions: TYPE, RTCOfferOptions: TYPE, - RTCOutboundRTPStreamStats: TYPE, + RTCOutboundRtpStreamStats: TYPE, RTCPeerConnectionIceErrorEventInit: TYPE, RTCPeerConnectionIceEventInit: TYPE, - RTCRTPStreamStats: TYPE, - RTCRtcpFeedback: TYPE, + RTCReceivedRtpStreamStats: TYPE, RTCRtcpParameters: TYPE, RTCRtpCapabilities: TYPE, RTCRtpCodecCapability: TYPE, @@ -222,23 +217,17 @@ export const dom = { RTCRtpCodingParameters: TYPE, RTCRtpContributingSource: TYPE, RTCRtpEncodingParameters: TYPE, - RTCRtpFecParameters: TYPE, - RTCRtpHeaderExtension: TYPE, RTCRtpHeaderExtensionCapability: TYPE, RTCRtpHeaderExtensionParameters: TYPE, RTCRtpParameters: TYPE, RTCRtpReceiveParameters: TYPE, - RTCRtpRtxParameters: TYPE, RTCRtpSendParameters: TYPE, + RTCRtpStreamStats: TYPE, RTCRtpSynchronizationSource: TYPE, RTCRtpTransceiverInit: TYPE, - RTCRtpUnhandled: TYPE, + RTCSentRtpStreamStats: TYPE, RTCSessionDescriptionInit: TYPE, - RTCSrtpKeyParam: TYPE, - RTCSrtpSdesParameters: TYPE, - RTCSsrcRange: TYPE, RTCStats: TYPE, - RTCStatsReport: TYPE_VALUE, RTCTrackEventInit: TYPE, RTCTransportStats: TYPE, ReadableStreamDefaultReadDoneResult: TYPE, @@ -263,17 +252,15 @@ export const dom = { SecurityPolicyViolationEventInit: TYPE, ShadowRootInit: TYPE, ShareData: TYPE, - SpeechRecognitionErrorEventInit: TYPE, - SpeechRecognitionEventInit: TYPE, SpeechSynthesisErrorEventInit: TYPE, SpeechSynthesisEventInit: TYPE, StaticRangeInit: TYPE, StereoPannerOptions: TYPE, StorageEstimate: TYPE, StorageEventInit: TYPE, - StoreExceptionsInformation: TYPE, - StoreSiteSpecificExceptionsInformation: TYPE, StreamPipeOptions: TYPE, + StructuredSerializeOptions: TYPE, + SubmitEventInit: TYPE, TextDecodeOptions: TYPE, TextDecoderOptions: TYPE, TextEncoderEncodeIntoResult: TYPE, @@ -286,26 +273,24 @@ export const dom = { ULongRange: TYPE, UnderlyingSink: TYPE, UnderlyingSource: TYPE, - VRDisplayEventInit: TYPE, - VRLayer: TYPE, - VRStageParameters: TYPE, + VideoConfiguration: TYPE, WaveShaperOptions: TYPE, WebGLContextAttributes: TYPE, WebGLContextEventInit: TYPE, WheelEventInit: TYPE, + WindowPostMessageOptions: TYPE, WorkerOptions: TYPE, WorkletOptions: TYPE, - EventListener: TYPE, + NodeFilter: TYPE_VALUE, XPathNSResolver: TYPE, ANGLE_instanced_arrays: TYPE, + ARIAMixin: TYPE, AbortController: TYPE_VALUE, AbortSignalEventMap: TYPE, AbortSignal: TYPE_VALUE, AbstractRange: TYPE_VALUE, AbstractWorkerEventMap: TYPE, AbstractWorker: TYPE, - AesCfbParams: TYPE, - AesCmacParams: TYPE, AnalyserNode: TYPE_VALUE, Animatable: TYPE, AnimationEventMap: TYPE, @@ -315,8 +300,6 @@ export const dom = { AnimationFrameProvider: TYPE, AnimationPlaybackEvent: TYPE_VALUE, AnimationTimeline: TYPE_VALUE, - ApplicationCacheEventMap: TYPE, - ApplicationCache: TYPE_VALUE, Attr: TYPE_VALUE, AudioBuffer: TYPE_VALUE, AudioBufferSourceNode: TYPE_VALUE, @@ -339,15 +322,17 @@ export const dom = { BaseAudioContextEventMap: TYPE, BaseAudioContext: TYPE_VALUE, BeforeUnloadEvent: TYPE_VALUE, - BhxBrowser: TYPE_VALUE, BiquadFilterNode: TYPE_VALUE, Blob: TYPE_VALUE, + BlobEvent: TYPE_VALUE, Body: TYPE, BroadcastChannelEventMap: TYPE, BroadcastChannel: TYPE_VALUE, ByteLengthQueuingStrategy: TYPE_VALUE, CDATASection: TYPE_VALUE, + CSSAnimation: TYPE_VALUE, CSSConditionRule: TYPE_VALUE, + CSSCounterStyleRule: TYPE_VALUE, CSSFontFaceRule: TYPE_VALUE, CSSGroupingRule: TYPE_VALUE, CSSImportRule: TYPE_VALUE, @@ -362,6 +347,7 @@ export const dom = { CSSStyleRule: TYPE_VALUE, CSSStyleSheet: TYPE_VALUE, CSSSupportsRule: TYPE_VALUE, + CSSTransition: TYPE_VALUE, Cache: TYPE_VALUE, CacheStorage: TYPE_VALUE, CanvasCompositing: TYPE, @@ -383,19 +369,17 @@ export const dom = { CanvasTextDrawingStyles: TYPE, CanvasTransform: TYPE, CanvasUserInterface: TYPE, - CaretPosition: TYPE_VALUE, ChannelMergerNode: TYPE_VALUE, ChannelSplitterNode: TYPE_VALUE, CharacterData: TYPE_VALUE, ChildNode: TYPE, - ClientRect: TYPE_VALUE, - ClientRectList: TYPE_VALUE, + ClientRect: TYPE, Clipboard: TYPE_VALUE, ClipboardEvent: TYPE_VALUE, + ClipboardItem: TYPE_VALUE, CloseEvent: TYPE_VALUE, Comment: TYPE_VALUE, CompositionEvent: TYPE_VALUE, - ConcatParams: TYPE, ConstantSourceNode: TYPE_VALUE, ConvolverNode: TYPE_VALUE, CountQueuingStrategy: TYPE_VALUE, @@ -403,10 +387,8 @@ export const dom = { CredentialsContainer: TYPE_VALUE, Crypto: TYPE_VALUE, CryptoKey: TYPE_VALUE, - CryptoKeyPair: TYPE_VALUE, CustomElementRegistry: TYPE_VALUE, CustomEvent: TYPE_VALUE, - DOMError: TYPE_VALUE, DOMException: TYPE_VALUE, DOMImplementation: TYPE_VALUE, DOMMatrix: TYPE_VALUE, @@ -422,31 +404,21 @@ export const dom = { SVGRect: TYPE_VALUE, DOMRectList: TYPE_VALUE, DOMRectReadOnly: TYPE_VALUE, - DOMSettableTokenList: TYPE_VALUE, DOMStringList: TYPE_VALUE, DOMStringMap: TYPE_VALUE, DOMTokenList: TYPE_VALUE, - DataCue: TYPE_VALUE, DataTransfer: TYPE_VALUE, DataTransferItem: TYPE_VALUE, DataTransferItemList: TYPE_VALUE, - DeferredPermissionRequest: TYPE_VALUE, DelayNode: TYPE_VALUE, - DeviceAcceleration: TYPE_VALUE, DeviceMotionEvent: TYPE_VALUE, DeviceMotionEventAcceleration: TYPE, DeviceMotionEventRotationRate: TYPE, DeviceOrientationEvent: TYPE_VALUE, - DeviceRotationRate: TYPE_VALUE, - DhImportKeyParams: TYPE, - DhKeyAlgorithm: TYPE, - DhKeyDeriveParams: TYPE, - DhKeyGenParams: TYPE, DocumentEventMap: TYPE, Document: TYPE_VALUE, DocumentAndElementEventHandlersEventMap: TYPE, DocumentAndElementEventHandlers: TYPE, - DocumentEvent: TYPE, DocumentFragment: TYPE_VALUE, DocumentOrShadowRoot: TYPE, DocumentTimeline: TYPE_VALUE, @@ -454,35 +426,49 @@ export const dom = { DragEvent: TYPE_VALUE, DynamicsCompressorNode: TYPE_VALUE, EXT_blend_minmax: TYPE, + EXT_color_buffer_float: TYPE, + EXT_color_buffer_half_float: TYPE, + EXT_float_blend: TYPE, EXT_frag_depth: TYPE, EXT_sRGB: TYPE, EXT_shader_texture_lod: TYPE, + EXT_texture_compression_rgtc: TYPE, EXT_texture_filter_anisotropic: TYPE, ElementEventMap: TYPE, Element: TYPE_VALUE, ElementCSSInlineStyle: TYPE, ElementContentEditable: TYPE, + ElementInternals: TYPE_VALUE, ErrorEvent: TYPE_VALUE, Event: TYPE_VALUE, + EventListener: TYPE, EventListenerObject: TYPE, EventSourceEventMap: TYPE, EventSource: TYPE_VALUE, EventTarget: TYPE_VALUE, - ExtensionScriptApis: TYPE_VALUE, External: TYPE_VALUE, File: TYPE_VALUE, FileList: TYPE_VALUE, FileReaderEventMap: TYPE, FileReader: TYPE_VALUE, + FileSystem: TYPE_VALUE, + FileSystemDirectoryEntry: TYPE_VALUE, + FileSystemDirectoryReader: TYPE_VALUE, + FileSystemEntry: TYPE_VALUE, + FileSystemFileEntry: TYPE_VALUE, FocusEvent: TYPE_VALUE, - FocusNavigationEvent: TYPE_VALUE, + FontFace: TYPE_VALUE, + FontFaceSetEventMap: TYPE, + FontFaceSet: TYPE_VALUE, + FontFaceSetLoadEvent: TYPE_VALUE, + FontFaceSource: TYPE, FormData: TYPE_VALUE, + FormDataEvent: TYPE_VALUE, GainNode: TYPE_VALUE, Gamepad: TYPE_VALUE, GamepadButton: TYPE_VALUE, GamepadEvent: TYPE_VALUE, GamepadHapticActuator: TYPE_VALUE, - GamepadPose: TYPE_VALUE, GenericTransformStream: TYPE, Geolocation: TYPE_VALUE, GeolocationCoordinates: TYPE_VALUE, @@ -492,7 +478,6 @@ export const dom = { GlobalEventHandlers: TYPE, HTMLAllCollection: TYPE_VALUE, HTMLAnchorElement: TYPE_VALUE, - HTMLAppletElement: TYPE_VALUE, HTMLAreaElement: TYPE_VALUE, HTMLAudioElement: TYPE_VALUE, HTMLBRElement: TYPE_VALUE, @@ -508,7 +493,7 @@ export const dom = { HTMLDataElement: TYPE_VALUE, HTMLDataListElement: TYPE_VALUE, HTMLDetailsElement: TYPE_VALUE, - HTMLDialogElement: TYPE_VALUE, + HTMLDialogElement: TYPE, HTMLDirectoryElement: TYPE_VALUE, HTMLDivElement: TYPE_VALUE, HTMLDocument: TYPE_VALUE, @@ -535,7 +520,6 @@ export const dom = { HTMLLegendElement: TYPE_VALUE, HTMLLinkElement: TYPE_VALUE, HTMLMapElement: TYPE_VALUE, - HTMLMarqueeElementEventMap: TYPE, HTMLMarqueeElement: TYPE_VALUE, HTMLMediaElementEventMap: TYPE, HTMLMediaElement: TYPE_VALUE, @@ -565,9 +549,9 @@ export const dom = { HTMLTableCaptionElement: TYPE_VALUE, HTMLTableCellElement: TYPE_VALUE, HTMLTableColElement: TYPE_VALUE, - HTMLTableDataCellElement: TYPE_VALUE, + HTMLTableDataCellElement: TYPE, HTMLTableElement: TYPE_VALUE, - HTMLTableHeaderCellElement: TYPE_VALUE, + HTMLTableHeaderCellElement: TYPE, HTMLTableRowElement: TYPE_VALUE, HTMLTableSectionElement: TYPE_VALUE, HTMLTemplateElement: TYPE_VALUE, @@ -577,11 +561,11 @@ export const dom = { HTMLTrackElement: TYPE_VALUE, HTMLUListElement: TYPE_VALUE, HTMLUnknownElement: TYPE_VALUE, + HTMLVideoElementEventMap: TYPE, HTMLVideoElement: TYPE_VALUE, HashChangeEvent: TYPE_VALUE, Headers: TYPE_VALUE, History: TYPE_VALUE, - IDBArrayKey: TYPE, IDBCursor: TYPE_VALUE, IDBCursorWithValue: TYPE_VALUE, IDBDatabaseEventMap: TYPE, @@ -598,34 +582,22 @@ export const dom = { IDBTransaction: TYPE_VALUE, IDBVersionChangeEvent: TYPE_VALUE, IIRFilterNode: TYPE_VALUE, + IdleDeadline: TYPE_VALUE, ImageBitmap: TYPE_VALUE, ImageBitmapRenderingContext: TYPE_VALUE, ImageData: TYPE_VALUE, InnerHTML: TYPE, - InputDeviceInfo: TYPE_VALUE, InputEvent: TYPE_VALUE, IntersectionObserver: TYPE_VALUE, IntersectionObserverEntry: TYPE_VALUE, + KHR_parallel_shader_compile: TYPE, KeyboardEvent: TYPE_VALUE, KeyframeEffect: TYPE_VALUE, LinkStyle: TYPE, - ListeningStateChangedEvent: TYPE_VALUE, Location: TYPE_VALUE, - MSAssertion: TYPE_VALUE, - MSBlobBuilder: TYPE_VALUE, - MSFIDOCredentialAssertion: TYPE_VALUE, - MSFIDOSignature: TYPE_VALUE, - MSFIDOSignatureAssertion: TYPE_VALUE, - MSFileSaver: TYPE, - MSGesture: TYPE_VALUE, - MSGraphicsTrust: TYPE_VALUE, - MSInputMethodContextEventMap: TYPE, - MSInputMethodContext: TYPE_VALUE, - MSMediaKeyError: TYPE_VALUE, - MSMediaKeySession: TYPE_VALUE, - MSMediaKeys: TYPE_VALUE, - MSNavigatorDoNotTrack: TYPE, - MSStream: TYPE_VALUE, + MathMLElementEventMap: TYPE, + MathMLElement: TYPE_VALUE, + MediaCapabilities: TYPE_VALUE, MediaDeviceInfo: TYPE_VALUE, MediaDevicesEventMap: TYPE, MediaDevices: TYPE_VALUE, @@ -639,21 +611,22 @@ export const dom = { MediaKeySystemAccess: TYPE_VALUE, MediaKeys: TYPE_VALUE, MediaList: TYPE_VALUE, + MediaMetadata: TYPE_VALUE, MediaQueryListEventMap: TYPE, MediaQueryList: TYPE_VALUE, MediaQueryListEvent: TYPE_VALUE, + MediaRecorderEventMap: TYPE, + MediaRecorder: TYPE_VALUE, + MediaRecorderErrorEvent: TYPE_VALUE, + MediaSession: TYPE_VALUE, MediaSourceEventMap: TYPE, MediaSource: TYPE_VALUE, MediaStreamEventMap: TYPE, MediaStream: TYPE_VALUE, MediaStreamAudioDestinationNode: TYPE_VALUE, MediaStreamAudioSourceNode: TYPE_VALUE, - MediaStreamError: TYPE_VALUE, - MediaStreamErrorEvent: TYPE_VALUE, - MediaStreamEvent: TYPE_VALUE, MediaStreamTrackEventMap: TYPE, MediaStreamTrack: TYPE_VALUE, - MediaStreamTrackAudioSourceNode: TYPE_VALUE, MediaStreamTrackEvent: TYPE_VALUE, MessageChannel: TYPE_VALUE, MessageEvent: TYPE_VALUE, @@ -666,20 +639,19 @@ export const dom = { MutationObserver: TYPE_VALUE, MutationRecord: TYPE_VALUE, NamedNodeMap: TYPE_VALUE, - NavigationPreloadManager: TYPE_VALUE, Navigator: TYPE_VALUE, NavigatorAutomationInformation: TYPE, - NavigatorBeacon: TYPE, NavigatorConcurrentHardware: TYPE, NavigatorContentUtils: TYPE, NavigatorCookies: TYPE, NavigatorID: TYPE, NavigatorLanguage: TYPE, + NavigatorNetworkInformation: TYPE, NavigatorOnLine: TYPE, NavigatorPlugins: TYPE, NavigatorStorage: TYPE, + NetworkInformation: TYPE_VALUE, Node: TYPE_VALUE, - NodeFilter: TYPE_VALUE, NodeIterator: TYPE_VALUE, NodeList: TYPE_VALUE, NodeListOf: TYPE, @@ -688,49 +660,48 @@ export const dom = { NotificationEventMap: TYPE, Notification: TYPE_VALUE, OES_element_index_uint: TYPE, + OES_fbo_render_mipmap: TYPE, OES_standard_derivatives: TYPE, OES_texture_float: TYPE, OES_texture_float_linear: TYPE, OES_texture_half_float: TYPE, OES_texture_half_float_linear: TYPE, OES_vertex_array_object: TYPE, + OVR_multiview2: TYPE, OfflineAudioCompletionEvent: TYPE_VALUE, OfflineAudioContextEventMap: TYPE, OfflineAudioContext: TYPE_VALUE, - OffscreenCanvas: TYPE_VALUE, - OffscreenCanvasRenderingContext2D: TYPE_VALUE, OscillatorNode: TYPE_VALUE, OverconstrainedError: TYPE_VALUE, - OverflowEvent: TYPE_VALUE, PageTransitionEvent: TYPE_VALUE, PannerNode: TYPE_VALUE, ParentNode: TYPE, Path2D: TYPE_VALUE, - PaymentAddress: TYPE_VALUE, PaymentMethodChangeEvent: TYPE_VALUE, PaymentRequestEventMap: TYPE, PaymentRequest: TYPE_VALUE, PaymentRequestUpdateEvent: TYPE_VALUE, - PaymentResponseEventMap: TYPE, PaymentResponse: TYPE_VALUE, - PerfWidgetExternal: TYPE_VALUE, PerformanceEventMap: TYPE, Performance: TYPE_VALUE, PerformanceEntry: TYPE_VALUE, + PerformanceEventTiming: TYPE_VALUE, PerformanceMark: TYPE_VALUE, PerformanceMeasure: TYPE_VALUE, PerformanceNavigation: TYPE_VALUE, PerformanceNavigationTiming: TYPE_VALUE, PerformanceObserver: TYPE_VALUE, PerformanceObserverEntryList: TYPE_VALUE, + PerformancePaintTiming: TYPE_VALUE, PerformanceResourceTiming: TYPE_VALUE, + PerformanceServerTiming: TYPE_VALUE, PerformanceTiming: TYPE_VALUE, PeriodicWave: TYPE_VALUE, - PermissionRequest: TYPE_VALUE, - PermissionRequestedEvent: TYPE_VALUE, PermissionStatusEventMap: TYPE, PermissionStatus: TYPE_VALUE, Permissions: TYPE_VALUE, + PictureInPictureWindowEventMap: TYPE, + PictureInPictureWindow: TYPE_VALUE, Plugin: TYPE_VALUE, PluginArray: TYPE_VALUE, PointerEvent: TYPE_VALUE, @@ -751,20 +722,8 @@ export const dom = { RTCDataChannelEvent: TYPE_VALUE, RTCDtlsTransportEventMap: TYPE, RTCDtlsTransport: TYPE_VALUE, - RTCDtlsTransportStateChangedEvent: TYPE_VALUE, - RTCDtmfSenderEventMap: TYPE, - RTCDtmfSender: TYPE_VALUE, - RTCError: TYPE_VALUE, - RTCErrorEvent: TYPE_VALUE, RTCIceCandidate: TYPE_VALUE, - RTCIceCandidatePairChangedEvent: TYPE_VALUE, - RTCIceGathererEventMap: TYPE, - RTCIceGatherer: TYPE_VALUE, - RTCIceGathererEvent: TYPE_VALUE, - RTCIceTransportEventMap: TYPE, RTCIceTransport: TYPE_VALUE, - RTCIceTransportStateChangedEvent: TYPE_VALUE, - RTCIdentityAssertion: TYPE_VALUE, RTCPeerConnectionEventMap: TYPE, RTCPeerConnection: TYPE_VALUE, RTCPeerConnectionIceErrorEvent: TYPE_VALUE, @@ -772,21 +731,17 @@ export const dom = { RTCRtpReceiver: TYPE_VALUE, RTCRtpSender: TYPE_VALUE, RTCRtpTransceiver: TYPE_VALUE, - RTCSctpTransportEventMap: TYPE, - RTCSctpTransport: TYPE_VALUE, RTCSessionDescription: TYPE_VALUE, - RTCSrtpSdesTransportEventMap: TYPE, - RTCSrtpSdesTransport: TYPE_VALUE, - RTCSsrcConflictEvent: TYPE_VALUE, - RTCStatsProvider: TYPE_VALUE, + RTCStatsReport: TYPE_VALUE, RTCTrackEvent: TYPE_VALUE, RadioNodeList: TYPE_VALUE, - RandomSource: TYPE_VALUE, Range: TYPE_VALUE, ReadableStream: TYPE_VALUE, ReadableStreamDefaultController: TYPE_VALUE, ReadableStreamDefaultReader: TYPE_VALUE, ReadableStreamGenericReader: TYPE, + RemotePlaybackEventMap: TYPE, + RemotePlayback: TYPE_VALUE, Request: TYPE_VALUE, ResizeObserver: TYPE_VALUE, ResizeObserverEntry: TYPE_VALUE, @@ -814,13 +769,10 @@ export const dom = { SVGCircleElement: TYPE_VALUE, SVGClipPathElement: TYPE_VALUE, SVGComponentTransferFunctionElement: TYPE_VALUE, - SVGCursorElement: TYPE_VALUE, SVGDefsElement: TYPE_VALUE, SVGDescElement: TYPE_VALUE, SVGElementEventMap: TYPE, SVGElement: TYPE_VALUE, - SVGElementInstance: TYPE_VALUE, - SVGElementInstanceList: TYPE_VALUE, SVGEllipseElement: TYPE_VALUE, SVGFEBlendElement: TYPE_VALUE, SVGFEColorMatrixElement: TYPE_VALUE, @@ -860,33 +812,13 @@ export const dom = { SVGLengthList: TYPE_VALUE, SVGLineElement: TYPE_VALUE, SVGLinearGradientElement: TYPE_VALUE, + SVGMPathElement: TYPE_VALUE, SVGMarkerElement: TYPE_VALUE, SVGMaskElement: TYPE_VALUE, SVGMetadataElement: TYPE_VALUE, SVGNumber: TYPE_VALUE, SVGNumberList: TYPE_VALUE, SVGPathElement: TYPE_VALUE, - SVGPathSeg: TYPE_VALUE, - SVGPathSegArcAbs: TYPE_VALUE, - SVGPathSegArcRel: TYPE_VALUE, - SVGPathSegClosePath: TYPE_VALUE, - SVGPathSegCurvetoCubicAbs: TYPE_VALUE, - SVGPathSegCurvetoCubicRel: TYPE_VALUE, - SVGPathSegCurvetoCubicSmoothAbs: TYPE_VALUE, - SVGPathSegCurvetoCubicSmoothRel: TYPE_VALUE, - SVGPathSegCurvetoQuadraticAbs: TYPE_VALUE, - SVGPathSegCurvetoQuadraticRel: TYPE_VALUE, - SVGPathSegCurvetoQuadraticSmoothAbs: TYPE_VALUE, - SVGPathSegCurvetoQuadraticSmoothRel: TYPE_VALUE, - SVGPathSegLinetoAbs: TYPE_VALUE, - SVGPathSegLinetoHorizontalAbs: TYPE_VALUE, - SVGPathSegLinetoHorizontalRel: TYPE_VALUE, - SVGPathSegLinetoRel: TYPE_VALUE, - SVGPathSegLinetoVerticalAbs: TYPE_VALUE, - SVGPathSegLinetoVerticalRel: TYPE_VALUE, - SVGPathSegList: TYPE_VALUE, - SVGPathSegMovetoAbs: TYPE_VALUE, - SVGPathSegMovetoRel: TYPE_VALUE, SVGPatternElement: TYPE_VALUE, SVGPointList: TYPE_VALUE, SVGPolygonElement: TYPE_VALUE, @@ -897,6 +829,7 @@ export const dom = { SVGSVGElementEventMap: TYPE, SVGSVGElement: TYPE_VALUE, SVGScriptElement: TYPE_VALUE, + SVGSetElement: TYPE_VALUE, SVGStopElement: TYPE_VALUE, SVGStringList: TYPE_VALUE, SVGStyleElement: TYPE_VALUE, @@ -915,8 +848,6 @@ export const dom = { SVGUnitTypes: TYPE_VALUE, SVGUseElement: TYPE_VALUE, SVGViewElement: TYPE_VALUE, - SVGZoomAndPan: TYPE, - SVGZoomEvent: TYPE_VALUE, Screen: TYPE_VALUE, ScreenOrientationEventMap: TYPE, ScreenOrientation: TYPE_VALUE, @@ -924,7 +855,6 @@ export const dom = { ScriptProcessorNode: TYPE_VALUE, SecurityPolicyViolationEvent: TYPE_VALUE, Selection: TYPE_VALUE, - ServiceUIFrameContext: TYPE_VALUE, ServiceWorkerEventMap: TYPE, ServiceWorker: TYPE_VALUE, ServiceWorkerContainerEventMap: TYPE, @@ -938,13 +868,7 @@ export const dom = { SourceBuffer: TYPE_VALUE, SourceBufferListEventMap: TYPE, SourceBufferList: TYPE_VALUE, - SpeechGrammar: TYPE_VALUE, - SpeechGrammarList: TYPE_VALUE, - SpeechRecognitionEventMap: TYPE, - SpeechRecognition: TYPE_VALUE, SpeechRecognitionAlternative: TYPE_VALUE, - SpeechRecognitionErrorEvent: TYPE_VALUE, - SpeechRecognitionEvent: TYPE_VALUE, SpeechRecognitionResult: TYPE_VALUE, SpeechRecognitionResultList: TYPE_VALUE, SpeechSynthesisEventMap: TYPE, @@ -959,11 +883,11 @@ export const dom = { Storage: TYPE_VALUE, StorageEvent: TYPE_VALUE, StorageManager: TYPE_VALUE, - StyleMedia: TYPE_VALUE, + StyleMedia: TYPE, StyleSheet: TYPE_VALUE, StyleSheetList: TYPE_VALUE, + SubmitEvent: TYPE_VALUE, SubtleCrypto: TYPE_VALUE, - SyncManager: TYPE_VALUE, Text: TYPE_VALUE, TextDecoder: TYPE_VALUE, TextDecoderCommon: TYPE, @@ -971,7 +895,6 @@ export const dom = { TextEncoder: TYPE_VALUE, TextEncoderCommon: TYPE, TextEncoderStream: TYPE_VALUE, - TextEvent: TYPE_VALUE, TextMetrics: TYPE_VALUE, TextTrackEventMap: TYPE, TextTrack: TYPE_VALUE, @@ -993,13 +916,6 @@ export const dom = { URL: TYPE_VALUE, webkitURL: TYPE_VALUE, URLSearchParams: TYPE_VALUE, - VRDisplay: TYPE_VALUE, - VRDisplayCapabilities: TYPE_VALUE, - VRDisplayEvent: TYPE_VALUE, - VREyeParameters: TYPE_VALUE, - VRFieldOfView: TYPE_VALUE, - VRFrameData: TYPE_VALUE, - VRPose: TYPE_VALUE, VTTCue: TYPE_VALUE, VTTRegion: TYPE_VALUE, ValidityState: TYPE_VALUE, @@ -1008,6 +924,9 @@ export const dom = { VisualViewport: TYPE_VALUE, WEBGL_color_buffer_float: TYPE, WEBGL_compressed_texture_astc: TYPE, + WEBGL_compressed_texture_etc: TYPE, + WEBGL_compressed_texture_etc1: TYPE, + WEBGL_compressed_texture_pvrtc: TYPE, WEBGL_compressed_texture_s3tc: TYPE, WEBGL_compressed_texture_s3tc_srgb: TYPE, WEBGL_debug_renderer_info: TYPE, @@ -1038,7 +957,6 @@ export const dom = { WebGLUniformLocation: TYPE_VALUE, WebGLVertexArrayObject: TYPE_VALUE, WebGLVertexArrayObjectOES: TYPE, - WebKitPoint: TYPE_VALUE, WebSocketEventMap: TYPE, WebSocket: TYPE_VALUE, WheelEvent: TYPE_VALUE, @@ -1067,8 +985,6 @@ export const dom = { XPathExpression: TYPE_VALUE, XPathResult: TYPE_VALUE, XSLTProcessor: TYPE_VALUE, - webkitRTCPeerConnection: TYPE_VALUE, - EventListenerOrEventListenerObject: TYPE, Console: TYPE, CSS: TYPE_VALUE, WebAssembly: TYPE_VALUE, @@ -1076,15 +992,16 @@ export const dom = { CustomElementConstructor: TYPE, DecodeErrorCallback: TYPE, DecodeSuccessCallback: TYPE, - EventHandlerNonNull: TYPE, - ForEachCallback: TYPE, + ErrorCallback: TYPE, + FileCallback: TYPE, + FileSystemEntriesCallback: TYPE, + FileSystemEntryCallback: TYPE, FrameRequestCallback: TYPE, FunctionStringCallback: TYPE, + IdleRequestCallback: TYPE, IntersectionObserverCallback: TYPE, - MSLaunchUriCallback: TYPE, + MediaSessionActionHandler: TYPE, MutationCallback: TYPE, - NavigatorUserMediaErrorCallback: TYPE, - NavigatorUserMediaSuccessCallback: TYPE, NotificationPermissionCallback: TYPE, OnBeforeUnloadEventHandlerNonNull: TYPE, OnErrorEventHandlerNonNull: TYPE, @@ -1094,7 +1011,7 @@ export const dom = { QueuingStrategySize: TYPE, RTCPeerConnectionErrorCallback: TYPE, RTCSessionDescriptionCallback: TYPE, - RTCStatsCallback: TYPE, + RemotePlaybackAvailabilityCallback: TYPE, ResizeObserverCallback: TYPE, TransformerFlushCallback: TYPE, TransformerStartCallback: TYPE, @@ -1111,69 +1028,72 @@ export const dom = { HTMLElementDeprecatedTagNameMap: TYPE, SVGElementTagNameMap: TYPE, ElementTagNameMap: TYPE, - HeadersInit: TYPE, - BodyInit: TYPE, - RequestInfo: TYPE, + AlgorithmIdentifier: TYPE, + BigInteger: TYPE, + BinaryData: TYPE, BlobPart: TYPE, - DOMHighResTimeStamp: TYPE, - RenderingContext: TYPE, - HTMLOrSVGImageElement: TYPE, + BodyInit: TYPE, + BufferSource: TYPE, + COSEAlgorithmIdentifier: TYPE, + CSSNumberish: TYPE, CanvasImageSource: TYPE, - OffscreenRenderingContext: TYPE, - MessageEventSource: TYPE, - HTMLOrSVGScriptElement: TYPE, - ImageBitmapSource: TYPE, - MediaProvider: TYPE, - OnErrorEventHandler: TYPE, - OnBeforeUnloadEventHandler: TYPE, - TimerHandler: TYPE, - ConstrainULong: TYPE, - ConstrainDouble: TYPE, + ClipboardItemData: TYPE, + ClipboardItemDataType: TYPE, + ClipboardItems: TYPE, ConstrainBoolean: TYPE, ConstrainDOMString: TYPE, - PerformanceEntryList: TYPE, - ReadableStreamReader: TYPE, - ReadableStreamController: TYPE, - VibratePattern: TYPE, - COSEAlgorithmIdentifier: TYPE, - UvmEntry: TYPE, - UvmEntries: TYPE, - AlgorithmIdentifier: TYPE, - HashAlgorithmIdentifier: TYPE, - BigInteger: TYPE, - NamedCurve: TYPE, - GLenum: TYPE, - GLboolean: TYPE, + ConstrainDouble: TYPE, + ConstrainULong: TYPE, + DOMHighResTimeStamp: TYPE, + DOMTimeStamp: TYPE, + EventListenerOrEventListenerObject: TYPE, + Float32List: TYPE, + FormDataEntryValue: TYPE, GLbitfield: TYPE, + GLboolean: TYPE, + GLclampf: TYPE, + GLenum: TYPE, + GLfloat: TYPE, GLint: TYPE, - GLsizei: TYPE, + GLint64: TYPE, GLintptr: TYPE, + GLsizei: TYPE, GLsizeiptr: TYPE, GLuint: TYPE, - GLfloat: TYPE, - GLclampf: TYPE, - TexImageSource: TYPE, - Float32List: TYPE, - Int32List: TYPE, - GLint64: TYPE, GLuint64: TYPE, - Uint32List: TYPE, - BufferSource: TYPE, - DOMTimeStamp: TYPE, - LineAndPositionSetting: TYPE, - FormDataEntryValue: TYPE, - InsertPosition: TYPE, + HTMLOrSVGImageElement: TYPE, + HTMLOrSVGScriptElement: TYPE, + HashAlgorithmIdentifier: TYPE, + HeadersInit: TYPE, IDBValidKey: TYPE, + ImageBitmapSource: TYPE, + InsertPosition: TYPE, + Int32List: TYPE, + LineAndPositionSetting: TYPE, + MediaProvider: TYPE, + MessageEventSource: TYPE, MutationRecordType: TYPE, - IDBKeyPath: TYPE, + NamedCurve: TYPE, + OnBeforeUnloadEventHandler: TYPE, + OnErrorEventHandler: TYPE, + PerformanceEntryList: TYPE, + ReadableStreamController: TYPE, + ReadableStreamDefaultReadResult: TYPE, + ReadableStreamReader: TYPE, + RenderingContext: TYPE, + RequestInfo: TYPE, + TexImageSource: TYPE, + TimerHandler: TYPE, Transferable: TYPE, - RTCIceGatherCandidate: TYPE, - RTCTransport: TYPE, - MouseWheelEvent: TYPE, + Uint32List: TYPE, + UvmEntries: TYPE, + UvmEntry: TYPE, + VibratePattern: TYPE, WindowProxy: TYPE, - ReadableStreamDefaultReadResult: TYPE, + XMLHttpRequestBodyInit: TYPE, AlignSetting: TYPE, AnimationPlayState: TYPE, + AnimationReplaceState: TYPE, AppendMode: TYPE, AttestationConveyancePreference: TYPE, AudioContextLatencyCategory: TYPE, @@ -1187,16 +1107,22 @@ export const dom = { CanPlayTypeResult: TYPE, CanvasDirection: TYPE, CanvasFillRule: TYPE, + CanvasFontKerning: TYPE, + CanvasFontStretch: TYPE, + CanvasFontVariantCaps: TYPE, CanvasLineCap: TYPE, CanvasLineJoin: TYPE, CanvasTextAlign: TYPE, CanvasTextBaseline: TYPE, + CanvasTextRendering: TYPE, ChannelCountMode: TYPE, ChannelInterpretation: TYPE, ClientTypes: TYPE, + ColorGamut: TYPE, ColorSpaceConversion: TYPE, CompositeOperation: TYPE, CompositeOperationOrAuto: TYPE, + ConnectionType: TYPE, CredentialMediationRequirement: TYPE, DOMParserSupportedType: TYPE, DirectionSetting: TYPE, @@ -1206,10 +1132,12 @@ export const dom = { EndOfStreamError: TYPE, EndingType: TYPE, FillMode: TYPE, + FontFaceLoadStatus: TYPE, + FontFaceSetLoadStatus: TYPE, FullscreenNavigationUI: TYPE, - GamepadHand: TYPE, GamepadHapticActuatorType: TYPE, GamepadMappingType: TYPE, + HdrMetadataType: TYPE, IDBCursorDirection: TYPE, IDBRequestReadyState: TYPE, IDBTransactionMode: TYPE, @@ -1220,65 +1148,62 @@ export const dom = { KeyType: TYPE, KeyUsage: TYPE, LineAlignSetting: TYPE, - ListeningState: TYPE, - MSCredentialType: TYPE, - MSTransportType: TYPE, - MSWebViewPermissionState: TYPE, - MSWebViewPermissionType: TYPE, + MediaDecodingType: TYPE, MediaDeviceKind: TYPE, + MediaEncodingType: TYPE, MediaKeyMessageType: TYPE, + MediaKeySessionClosedReason: TYPE, MediaKeySessionType: TYPE, MediaKeyStatus: TYPE, MediaKeysRequirement: TYPE, + MediaSessionAction: TYPE, + MediaSessionPlaybackState: TYPE, MediaStreamTrackState: TYPE, - NavigationReason: TYPE, NavigationType: TYPE, NotificationDirection: TYPE, NotificationPermission: TYPE, - OffscreenRenderingContextId: TYPE, OrientationLockType: TYPE, OrientationType: TYPE, OscillatorType: TYPE, OverSampleType: TYPE, PanningModelType: TYPE, PaymentComplete: TYPE, - PaymentShippingType: TYPE, PermissionName: TYPE, PermissionState: TYPE, PlaybackDirection: TYPE, PositionAlignSetting: TYPE, + PredefinedColorSpace: TYPE, PremultiplyAlpha: TYPE, + PresentationStyle: TYPE, PublicKeyCredentialType: TYPE, PushEncryptionKeyName: TYPE, PushPermissionState: TYPE, RTCBundlePolicy: TYPE, RTCDataChannelState: TYPE, - RTCDtlsRole: TYPE, + RTCDegradationPreference: TYPE, RTCDtlsTransportState: TYPE, - RTCErrorDetailType: TYPE, RTCIceCandidateType: TYPE, RTCIceComponent: TYPE, RTCIceConnectionState: TYPE, RTCIceCredentialType: TYPE, - RTCIceGatherPolicy: TYPE, RTCIceGathererState: TYPE, RTCIceGatheringState: TYPE, RTCIceProtocol: TYPE, - RTCIceRole: TYPE, RTCIceTcpCandidateType: TYPE, RTCIceTransportPolicy: TYPE, RTCIceTransportState: TYPE, RTCPeerConnectionState: TYPE, + RTCPriorityType: TYPE, RTCRtcpMuxPolicy: TYPE, RTCRtpTransceiverDirection: TYPE, - RTCSctpTransportState: TYPE, RTCSdpType: TYPE, RTCSignalingState: TYPE, RTCStatsIceCandidatePairState: TYPE, - RTCStatsIceCandidateType: TYPE, RTCStatsType: TYPE, ReadyState: TYPE, + RecordingState: TYPE, ReferrerPolicy: TYPE, + RemotePlaybackState: TYPE, RequestCache: TYPE, RequestCredentials: TYPE, RequestDestination: TYPE, @@ -1292,17 +1217,18 @@ export const dom = { ScrollLogicalPosition: TYPE, ScrollRestoration: TYPE, ScrollSetting: TYPE, + SecurityPolicyViolationEventDisposition: TYPE, SelectionMode: TYPE, ServiceWorkerState: TYPE, ServiceWorkerUpdateViaCache: TYPE, ShadowRootMode: TYPE, - SpeechRecognitionErrorCode: TYPE, + SlotAssignmentMode: TYPE, SpeechSynthesisErrorCode: TYPE, TextTrackKind: TYPE, TextTrackMode: TYPE, TouchType: TYPE, + TransferFunction: TYPE, UserVerificationRequirement: TYPE, - VRDisplayEventReason: TYPE, VideoFacingModeEnum: TYPE, VisibilityState: TYPE, WebGLPowerPreference: TYPE, diff --git a/packages/scope-manager/src/lib/es2021.intl.ts b/packages/scope-manager/src/lib/es2021.intl.ts new file mode 100644 index 000000000000..7edebd8c54c2 --- /dev/null +++ b/packages/scope-manager/src/lib/es2021.intl.ts @@ -0,0 +1,10 @@ +// THIS CODE WAS AUTOMATICALLY GENERATED +// DO NOT EDIT THIS CODE BY HAND +// YOU CAN REGENERATE IT USING yarn generate:lib + +import { ImplicitLibVariableOptions } from '../variable'; +import { TYPE_VALUE } from './base-config'; + +export const es2021_intl = { + Intl: TYPE_VALUE, +} as Record; diff --git a/packages/scope-manager/src/lib/es2021.ts b/packages/scope-manager/src/lib/es2021.ts index 027a2d6142da..c414d073701c 100644 --- a/packages/scope-manager/src/lib/es2021.ts +++ b/packages/scope-manager/src/lib/es2021.ts @@ -7,10 +7,12 @@ import { es2020 } from './es2020'; import { es2021_promise } from './es2021.promise'; import { es2021_string } from './es2021.string'; import { es2021_weakref } from './es2021.weakref'; +import { es2021_intl } from './es2021.intl'; export const es2021 = { ...es2020, ...es2021_promise, ...es2021_string, ...es2021_weakref, + ...es2021_intl, } as Record; diff --git a/packages/scope-manager/src/lib/es5.ts b/packages/scope-manager/src/lib/es5.ts index 0fa14cdfccf2..f8def6e96b82 100644 --- a/packages/scope-manager/src/lib/es5.ts +++ b/packages/scope-manager/src/lib/es5.ts @@ -27,6 +27,8 @@ export const es5 = { NumberConstructor: TYPE, TemplateStringsArray: TYPE, ImportMeta: TYPE, + ImportCallOptions: TYPE, + ImportAssertions: TYPE, Math: TYPE_VALUE, Date: TYPE_VALUE, DateConstructor: TYPE, @@ -61,6 +63,7 @@ export const es5 = { PromiseConstructorLike: TYPE, PromiseLike: TYPE, Promise: TYPE, + Awaited: TYPE, ArrayLike: TYPE, Partial: TYPE, Required: TYPE, diff --git a/packages/scope-manager/src/lib/index.ts b/packages/scope-manager/src/lib/index.ts index 7ad94cf41a6d..b230a386aca6 100644 --- a/packages/scope-manager/src/lib/index.ts +++ b/packages/scope-manager/src/lib/index.ts @@ -52,6 +52,7 @@ import { es2020_intl } from './es2020.intl'; import { es2021_promise } from './es2021.promise'; import { es2021_string } from './es2021.string'; import { es2021_weakref } from './es2021.weakref'; +import { es2021_intl } from './es2021.intl'; import { esnext_array } from './esnext.array'; import { esnext_symbol } from './esnext.symbol'; import { esnext_asynciterable } from './esnext.asynciterable'; @@ -120,6 +121,7 @@ const lib = { 'es2021.promise': es2021_promise, 'es2021.string': es2021_string, 'es2021.weakref': es2021_weakref, + 'es2021.intl': es2021_intl, 'esnext.array': esnext_array, 'esnext.symbol': esnext_symbol, 'esnext.asynciterable': esnext_asynciterable, diff --git a/packages/scope-manager/src/lib/webworker.iterable.ts b/packages/scope-manager/src/lib/webworker.iterable.ts index 11efc7c746fa..9f8e3d3d67c7 100644 --- a/packages/scope-manager/src/lib/webworker.iterable.ts +++ b/packages/scope-manager/src/lib/webworker.iterable.ts @@ -7,13 +7,15 @@ import { TYPE } from './base-config'; export const webworker_iterable = { Cache: TYPE, - CanvasPathDrawingStyles: TYPE, DOMStringList: TYPE, FileList: TYPE, + FontFaceSet: TYPE, FormData: TYPE, Headers: TYPE, IDBDatabase: TYPE, IDBObjectStore: TYPE, + MessageEvent: TYPE, + SubtleCrypto: TYPE, URLSearchParams: TYPE, WEBGL_draw_buffers: TYPE, WebGL2RenderingContextBase: TYPE, diff --git a/packages/scope-manager/src/lib/webworker.ts b/packages/scope-manager/src/lib/webworker.ts index 569e5ef31ccd..554525ed7dc8 100644 --- a/packages/scope-manager/src/lib/webworker.ts +++ b/packages/scope-manager/src/lib/webworker.ts @@ -14,9 +14,9 @@ export const webworker = { AesKeyAlgorithm: TYPE, AesKeyGenParams: TYPE, Algorithm: TYPE, + AudioConfiguration: TYPE, BlobPropertyBag: TYPE, CacheQueryOptions: TYPE, - CanvasRenderingContext2DSettings: TYPE, ClientQueryOptions: TYPE, CloseEventInit: TYPE, CryptoKeyPair: TYPE, @@ -26,7 +26,6 @@ export const webworker = { DOMPointInit: TYPE, DOMQuadInit: TYPE, DOMRectInit: TYPE, - DevicePermissionDescriptor: TYPE, EcKeyGenParams: TYPE, EcKeyImportParams: TYPE, EcdhKeyDeriveParams: TYPE, @@ -39,34 +38,41 @@ export const webworker = { ExtendableMessageEventInit: TYPE, FetchEventInit: TYPE, FilePropertyBag: TYPE, + FontFaceDescriptors: TYPE, + FontFaceSetLoadEventInit: TYPE, GetNotificationOptions: TYPE, HkdfParams: TYPE, HmacImportParams: TYPE, HmacKeyGenParams: TYPE, + IDBDatabaseInfo: TYPE, IDBIndexParameters: TYPE, IDBObjectStoreParameters: TYPE, IDBVersionChangeEventInit: TYPE, ImageBitmapOptions: TYPE, ImageBitmapRenderingContextSettings: TYPE, - ImageEncodeOptions: TYPE, + ImageDataSettings: TYPE, ImportMeta: TYPE, JsonWebKey: TYPE, KeyAlgorithm: TYPE, + MediaCapabilitiesDecodingInfo: TYPE, + MediaCapabilitiesEncodingInfo: TYPE, + MediaCapabilitiesInfo: TYPE, + MediaConfiguration: TYPE, + MediaDecodingConfiguration: TYPE, + MediaEncodingConfiguration: TYPE, MessageEventInit: TYPE, - MidiPermissionDescriptor: TYPE, MultiCacheQueryOptions: TYPE, - NavigationPreloadState: TYPE, NotificationAction: TYPE, NotificationEventInit: TYPE, NotificationOptions: TYPE, Pbkdf2Params: TYPE, + PerformanceMarkOptions: TYPE, + PerformanceMeasureOptions: TYPE, PerformanceObserverInit: TYPE, PermissionDescriptor: TYPE, - PostMessageOptions: TYPE, ProgressEventInit: TYPE, PromiseRejectionEventInit: TYPE, PushEventInit: TYPE, - PushPermissionDescriptor: TYPE, PushSubscriptionJSON: TYPE, PushSubscriptionOptionsInit: TYPE, QueuingStrategy: TYPE, @@ -83,27 +89,26 @@ export const webworker = { RsaOaepParams: TYPE, RsaOtherPrimesInfo: TYPE, RsaPssParams: TYPE, + SecurityPolicyViolationEventInit: TYPE, StorageEstimate: TYPE, StreamPipeOptions: TYPE, - SyncEventInit: TYPE, + StructuredSerializeOptions: TYPE, TextDecodeOptions: TYPE, TextDecoderOptions: TYPE, TextEncoderEncodeIntoResult: TYPE, Transformer: TYPE, UnderlyingSink: TYPE, UnderlyingSource: TYPE, + VideoConfiguration: TYPE, WebGLContextAttributes: TYPE, WebGLContextEventInit: TYPE, WorkerOptions: TYPE, - EventListener: TYPE, ANGLE_instanced_arrays: TYPE, AbortController: TYPE_VALUE, AbortSignalEventMap: TYPE, AbortSignal: TYPE_VALUE, AbstractWorkerEventMap: TYPE, AbstractWorker: TYPE, - AesCfbParams: TYPE, - AesCmacParams: TYPE, AnimationFrameProvider: TYPE, Blob: TYPE_VALUE, Body: TYPE, @@ -112,27 +117,12 @@ export const webworker = { ByteLengthQueuingStrategy: TYPE_VALUE, Cache: TYPE_VALUE, CacheStorage: TYPE_VALUE, - CanvasCompositing: TYPE, - CanvasDrawImage: TYPE, - CanvasDrawPath: TYPE, - CanvasFillStrokeStyles: TYPE, - CanvasFilters: TYPE, CanvasGradient: TYPE_VALUE, - CanvasImageData: TYPE, - CanvasImageSmoothing: TYPE, CanvasPath: TYPE, - CanvasPathDrawingStyles: TYPE, CanvasPattern: TYPE_VALUE, - CanvasRect: TYPE, - CanvasShadowStyles: TYPE, - CanvasState: TYPE, - CanvasText: TYPE, - CanvasTextDrawingStyles: TYPE, - CanvasTransform: TYPE, Client: TYPE_VALUE, Clients: TYPE_VALUE, CloseEvent: TYPE_VALUE, - ConcatParams: TYPE, CountQueuingStrategy: TYPE_VALUE, Crypto: TYPE_VALUE, CryptoKey: TYPE_VALUE, @@ -148,17 +138,18 @@ export const webworker = { DOMStringList: TYPE_VALUE, DedicatedWorkerGlobalScopeEventMap: TYPE, DedicatedWorkerGlobalScope: TYPE_VALUE, - DhImportKeyParams: TYPE, - DhKeyAlgorithm: TYPE, - DhKeyDeriveParams: TYPE, - DhKeyGenParams: TYPE, EXT_blend_minmax: TYPE, + EXT_color_buffer_float: TYPE, + EXT_color_buffer_half_float: TYPE, + EXT_float_blend: TYPE, EXT_frag_depth: TYPE, EXT_sRGB: TYPE, EXT_shader_texture_lod: TYPE, + EXT_texture_compression_rgtc: TYPE, EXT_texture_filter_anisotropic: TYPE, ErrorEvent: TYPE_VALUE, Event: TYPE_VALUE, + EventListener: TYPE, EventListenerObject: TYPE, EventSourceEventMap: TYPE, EventSource: TYPE_VALUE, @@ -171,10 +162,14 @@ export const webworker = { FileReaderEventMap: TYPE, FileReader: TYPE_VALUE, FileReaderSync: TYPE_VALUE, + FontFace: TYPE_VALUE, + FontFaceSetEventMap: TYPE, + FontFaceSet: TYPE_VALUE, + FontFaceSetLoadEvent: TYPE_VALUE, + FontFaceSource: TYPE, FormData: TYPE_VALUE, GenericTransformStream: TYPE, Headers: TYPE_VALUE, - IDBArrayKey: TYPE, IDBCursor: TYPE_VALUE, IDBCursorWithValue: TYPE_VALUE, IDBDatabaseEventMap: TYPE, @@ -193,28 +188,32 @@ export const webworker = { ImageBitmap: TYPE_VALUE, ImageBitmapRenderingContext: TYPE_VALUE, ImageData: TYPE_VALUE, + KHR_parallel_shader_compile: TYPE, + MediaCapabilities: TYPE_VALUE, MessageChannel: TYPE_VALUE, MessageEvent: TYPE_VALUE, MessagePortEventMap: TYPE, MessagePort: TYPE_VALUE, - NavigationPreloadManager: TYPE_VALUE, NavigatorConcurrentHardware: TYPE, NavigatorID: TYPE, NavigatorLanguage: TYPE, + NavigatorNetworkInformation: TYPE, NavigatorOnLine: TYPE, NavigatorStorage: TYPE, + NetworkInformation: TYPE_VALUE, NotificationEventMap: TYPE, Notification: TYPE_VALUE, NotificationEvent: TYPE_VALUE, OES_element_index_uint: TYPE, + OES_fbo_render_mipmap: TYPE, OES_standard_derivatives: TYPE, OES_texture_float: TYPE, OES_texture_float_linear: TYPE, OES_texture_half_float: TYPE, OES_texture_half_float_linear: TYPE, OES_vertex_array_object: TYPE, - OffscreenCanvas: TYPE_VALUE, - OffscreenCanvasRenderingContext2D: TYPE_VALUE, + OVR_multiview2: TYPE, + OffscreenCanvas: TYPE, Path2D: TYPE_VALUE, PerformanceEventMap: TYPE, Performance: TYPE_VALUE, @@ -224,6 +223,7 @@ export const webworker = { PerformanceObserver: TYPE_VALUE, PerformanceObserverEntryList: TYPE_VALUE, PerformanceResourceTiming: TYPE_VALUE, + PerformanceServerTiming: TYPE_VALUE, PermissionStatusEventMap: TYPE, PermissionStatus: TYPE_VALUE, Permissions: TYPE_VALUE, @@ -240,6 +240,7 @@ export const webworker = { ReadableStreamGenericReader: TYPE, Request: TYPE_VALUE, Response: TYPE_VALUE, + SecurityPolicyViolationEvent: TYPE_VALUE, ServiceWorkerEventMap: TYPE, ServiceWorker: TYPE_VALUE, ServiceWorkerContainerEventMap: TYPE, @@ -248,13 +249,10 @@ export const webworker = { ServiceWorkerGlobalScope: TYPE_VALUE, ServiceWorkerRegistrationEventMap: TYPE, ServiceWorkerRegistration: TYPE_VALUE, - SharedWorker: TYPE_VALUE, SharedWorkerGlobalScopeEventMap: TYPE, SharedWorkerGlobalScope: TYPE_VALUE, StorageManager: TYPE_VALUE, SubtleCrypto: TYPE_VALUE, - SyncEvent: TYPE_VALUE, - SyncManager: TYPE_VALUE, TextDecoder: TYPE_VALUE, TextDecoderCommon: TYPE, TextDecoderStream: TYPE_VALUE, @@ -268,6 +266,9 @@ export const webworker = { URLSearchParams: TYPE_VALUE, WEBGL_color_buffer_float: TYPE, WEBGL_compressed_texture_astc: TYPE, + WEBGL_compressed_texture_etc: TYPE, + WEBGL_compressed_texture_etc1: TYPE, + WEBGL_compressed_texture_pvrtc: TYPE, WEBGL_compressed_texture_s3tc: TYPE, WEBGL_compressed_texture_s3tc_srgb: TYPE, WEBGL_debug_renderer_info: TYPE, @@ -315,7 +316,6 @@ export const webworker = { XMLHttpRequestEventTargetEventMap: TYPE, XMLHttpRequestEventTarget: TYPE_VALUE, XMLHttpRequestUpload: TYPE_VALUE, - EventListenerOrEventListenerObject: TYPE, Console: TYPE, WebAssembly: TYPE_VALUE, FrameRequestCallback: TYPE, @@ -333,72 +333,74 @@ export const webworker = { UnderlyingSourcePullCallback: TYPE, UnderlyingSourceStartCallback: TYPE, VoidFunction: TYPE, - HeadersInit: TYPE, - BodyInit: TYPE, - RequestInfo: TYPE, - BlobPart: TYPE, - DOMHighResTimeStamp: TYPE, - CanvasImageSource: TYPE, - OffscreenRenderingContext: TYPE, - MessageEventSource: TYPE, - ImageBitmapSource: TYPE, - OnErrorEventHandler: TYPE, - TimerHandler: TYPE, - PerformanceEntryList: TYPE, - PushMessageDataInit: TYPE, - ReadableStreamReader: TYPE, - ReadableStreamController: TYPE, - VibratePattern: TYPE, AlgorithmIdentifier: TYPE, - HashAlgorithmIdentifier: TYPE, BigInteger: TYPE, - NamedCurve: TYPE, - GLenum: TYPE, - GLboolean: TYPE, + BinaryData: TYPE, + BlobPart: TYPE, + BodyInit: TYPE, + BufferSource: TYPE, + CanvasImageSource: TYPE, + DOMHighResTimeStamp: TYPE, + DOMTimeStamp: TYPE, + EventListenerOrEventListenerObject: TYPE, + Float32List: TYPE, + FormDataEntryValue: TYPE, GLbitfield: TYPE, + GLboolean: TYPE, + GLclampf: TYPE, + GLenum: TYPE, + GLfloat: TYPE, GLint: TYPE, - GLsizei: TYPE, + GLint64: TYPE, GLintptr: TYPE, + GLsizei: TYPE, GLsizeiptr: TYPE, GLuint: TYPE, - GLfloat: TYPE, - GLclampf: TYPE, - TexImageSource: TYPE, - Float32List: TYPE, - Int32List: TYPE, - GLint64: TYPE, GLuint64: TYPE, - Uint32List: TYPE, - BufferSource: TYPE, - DOMTimeStamp: TYPE, - FormDataEntryValue: TYPE, + HashAlgorithmIdentifier: TYPE, + HeadersInit: TYPE, IDBValidKey: TYPE, - Transferable: TYPE, + ImageBitmapSource: TYPE, + Int32List: TYPE, + MessageEventSource: TYPE, + NamedCurve: TYPE, + OnErrorEventHandler: TYPE, + PerformanceEntryList: TYPE, + PushMessageDataInit: TYPE, + ReadableStreamController: TYPE, ReadableStreamDefaultReadResult: TYPE, + ReadableStreamReader: TYPE, + RequestInfo: TYPE, + TexImageSource: TYPE, + TimerHandler: TYPE, + Transferable: TYPE, + Uint32List: TYPE, + VibratePattern: TYPE, + XMLHttpRequestBodyInit: TYPE, BinaryType: TYPE, - CanvasDirection: TYPE, - CanvasFillRule: TYPE, - CanvasLineCap: TYPE, - CanvasLineJoin: TYPE, - CanvasTextAlign: TYPE, - CanvasTextBaseline: TYPE, ClientTypes: TYPE, + ColorGamut: TYPE, ColorSpaceConversion: TYPE, + ConnectionType: TYPE, EndingType: TYPE, + FontFaceLoadStatus: TYPE, + FontFaceSetLoadStatus: TYPE, FrameType: TYPE, + HdrMetadataType: TYPE, IDBCursorDirection: TYPE, IDBRequestReadyState: TYPE, IDBTransactionMode: TYPE, ImageOrientation: TYPE, - ImageSmoothingQuality: TYPE, KeyFormat: TYPE, KeyType: TYPE, KeyUsage: TYPE, + MediaDecodingType: TYPE, + MediaEncodingType: TYPE, NotificationDirection: TYPE, NotificationPermission: TYPE, - OffscreenRenderingContextId: TYPE, PermissionName: TYPE, PermissionState: TYPE, + PredefinedColorSpace: TYPE, PremultiplyAlpha: TYPE, PushEncryptionKeyName: TYPE, PushPermissionState: TYPE, @@ -410,8 +412,10 @@ export const webworker = { RequestRedirect: TYPE, ResizeQuality: TYPE, ResponseType: TYPE, + SecurityPolicyViolationEventDisposition: TYPE, ServiceWorkerState: TYPE, ServiceWorkerUpdateViaCache: TYPE, + TransferFunction: TYPE, VisibilityState: TYPE, WebGLPowerPreference: TYPE, WorkerType: TYPE, diff --git a/packages/types/src/lib.ts b/packages/types/src/lib.ts index 06e8eaf2103c..bd7f43a86f3d 100644 --- a/packages/types/src/lib.ts +++ b/packages/types/src/lib.ts @@ -53,6 +53,7 @@ type Lib = | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' + | 'es2021.intl' | 'esnext.array' | 'esnext.symbol' | 'esnext.asynciterable' diff --git a/packages/typescript-estree/src/parser.ts b/packages/typescript-estree/src/parser.ts index 65847192bd54..8867e8a14d3f 100644 --- a/packages/typescript-estree/src/parser.ts +++ b/packages/typescript-estree/src/parser.ts @@ -35,7 +35,7 @@ const SUPPORTED_TYPESCRIPT_VERSIONS = '>=3.3.1 <4.6.0'; * The semver package will ignore prerelease ranges, and we don't want to explicitly document every one * List them all separately here, so we can automatically create the full string */ -const SUPPORTED_PRERELEASE_RANGES: string[] = ['4.5.0-beta', '4.5.1-rc']; +const SUPPORTED_PRERELEASE_RANGES: string[] = []; const ACTIVE_TYPESCRIPT_VERSION = ts.version; const isRunningSupportedTypeScriptVersion = semver.satisfies( ACTIVE_TYPESCRIPT_VERSION, From 833f8221ce00aecb7d08c519bab9568353850f48 Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Wed, 1 Dec 2021 17:23:06 -0800 Subject: [PATCH 2/4] feat(scope-manager): support TS4.5 import/export specifier kind (#4234) --- .prettierignore | 6 - package.json | 4 +- .../tests/rules/naming-convention.test.ts | 4 +- .../src/referencer/ExportVisitor.ts | 12 +- .../tests/fixtures/export/default-type.ts | 1 + .../fixtures/export/default-type.ts.shot | 25 +++- .../tests/fixtures/export/type-inline.ts | 5 + .../tests/fixtures/export/type-inline.ts.shot | 75 ++++++++++++ .../fixtures/import/type-inline-value.ts | 5 + .../fixtures/import/type-inline-value.ts.shot | 74 ++++++++++++ .../tests/fixtures/import/type-inline.ts | 6 + .../tests/fixtures/import/type-inline.ts.shot | 109 ++++++++++++++++++ .../tests/fixtures/import/type-named.ts | 2 +- .../tests/fixtures/import/type-named.ts.shot | 8 +- .../type-declaration/literal-type1.ts | 4 +- .../type-declaration/literal-type2.ts | 5 +- .../type-declaration/literal-type3.ts | 8 +- .../src/components/ast/ASTViewer.module.css | 4 +- .../components/config/ConfigEditor.module.css | 6 +- .../src/components/inputs/Tooltip.module.css | 5 +- .../src/components/layout/Expander.module.css | 7 +- yarn.lock | 10 +- 22 files changed, 344 insertions(+), 41 deletions(-) create mode 100644 packages/scope-manager/tests/fixtures/export/type-inline.ts create mode 100644 packages/scope-manager/tests/fixtures/export/type-inline.ts.shot create mode 100644 packages/scope-manager/tests/fixtures/import/type-inline-value.ts create mode 100644 packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot create mode 100644 packages/scope-manager/tests/fixtures/import/type-inline.ts create mode 100644 packages/scope-manager/tests/fixtures/import/type-inline.ts.shot diff --git a/.prettierignore b/.prettierignore index 8c4dce359d7a..93e27c9f84d6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -19,9 +19,3 @@ CHANGELOG.md packages/website/.docusaurus packages/website/build packages/website/src/vendor - -# TODO - remove this once prettier supports TS4.1 -packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts -packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts -packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts -packages/scope-manager/tests/fixtures/type-declaration/mapped-named.ts diff --git a/package.json b/package.json index fe8d5e25da31..7c532099e9bb 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "@types/marked": "^3.0.2", "@types/ncp": "^2.0.5", "@types/node": "^16.11.4", - "@types/prettier": "^2.3.2", + "@types/prettier": "^2.4.2", "@types/rimraf": "^3.0.2", "@types/semver": "^7.3.9", "@types/tmp": "^0.2.2", @@ -102,7 +102,7 @@ "markdownlint-cli": "^0.29.0", "ncp": "^2.0.0", "node-fetch": "^3.0.0", - "prettier": "2.4.1", + "prettier": "^2.5.0", "pretty-format": "^27.3.1", "rimraf": "^3.0.2", "tmp": "^0.2.1", diff --git a/packages/eslint-plugin/tests/rules/naming-convention.test.ts b/packages/eslint-plugin/tests/rules/naming-convention.test.ts index d35afe5ed30c..b8ad03a53a61 100644 --- a/packages/eslint-plugin/tests/rules/naming-convention.test.ts +++ b/packages/eslint-plugin/tests/rules/naming-convention.test.ts @@ -1222,7 +1222,7 @@ ruleTester.run('naming-convention', rule, { { code: ` class Ignored { - private static abstract readonly some_name = 1; + private static abstract readonly some_name; IgnoredDueToModifiers = 1; } `, @@ -2060,7 +2060,7 @@ ruleTester.run('naming-convention', rule, { { code: ` class Ignored { - private static abstract readonly some_name = 1; + private static abstract readonly some_name; IgnoredDueToModifiers = 1; } `, diff --git a/packages/scope-manager/src/referencer/ExportVisitor.ts b/packages/scope-manager/src/referencer/ExportVisitor.ts index bae523ae6b21..60dc45bdbff0 100644 --- a/packages/scope-manager/src/referencer/ExportVisitor.ts +++ b/packages/scope-manager/src/referencer/ExportVisitor.ts @@ -24,6 +24,7 @@ class ExportVisitor extends Visitor { protected Identifier(node: TSESTree.Identifier): void { if (this.#exportNode.exportKind === 'type') { + // export type { T }; // type exports can only reference types this.#referencer.currentScope().referenceType(node); } else { @@ -65,7 +66,16 @@ class ExportVisitor extends Visitor { } protected ExportSpecifier(node: TSESTree.ExportSpecifier): void { - this.visit(node.local); + if (node.exportKind === 'type') { + // export { type T }; + // type exports can only reference types + // + // we can't let this fall through to the Identifier selector because the exportKind is on this node + // and we don't have access to the `.parent` during scope analysis + this.#referencer.currentScope().referenceType(node.local); + } else { + this.visit(node.local); + } } } diff --git a/packages/scope-manager/tests/fixtures/export/default-type.ts b/packages/scope-manager/tests/fixtures/export/default-type.ts index d62a0213891e..c49d502e4707 100644 --- a/packages/scope-manager/tests/fixtures/export/default-type.ts +++ b/packages/scope-manager/tests/fixtures/export/default-type.ts @@ -1,4 +1,5 @@ //// @sourceType = module +const T = 1; // unreferenced type T = 1; export default T; diff --git a/packages/scope-manager/tests/fixtures/export/default-type.ts.shot b/packages/scope-manager/tests/fixtures/export/default-type.ts.shot index cd8ffb388738..a03744ca6faf 100644 --- a/packages/scope-manager/tests/fixtures/export/default-type.ts.shot +++ b/packages/scope-manager/tests/fixtures/export/default-type.ts.shot @@ -6,14 +6,28 @@ ScopeManager { ImplicitGlobalConstTypeVariable, Variable$2 { defs: Array [ - TypeDefinition$1 { + VariableDefinition$1 { name: Identifier<"T">, - node: TSTypeAliasDeclaration$1, + node: VariableDeclarator$1, + }, + TypeDefinition$2 { + name: Identifier<"T">, + node: TSTypeAliasDeclaration$2, }, ], name: "T", references: Array [ Reference$1 { + identifier: Identifier<"T">, + init: true, + isRead: false, + isTypeReference: false, + isValueReference: true, + isWrite: true, + resolved: Variable$2, + writeExpr: Literal$3, + }, + Reference$2 { identifier: Identifier<"T">, isRead: true, isTypeReference: true, @@ -22,13 +36,13 @@ ScopeManager { resolved: Variable$2, }, ], - isValueVariable: false, + isValueVariable: true, isTypeVariable: true, }, ], scopes: Array [ GlobalScope$1 { - block: Program$2, + block: Program$4, isStrict: false, references: Array [], set: Map { @@ -41,10 +55,11 @@ ScopeManager { ], }, ModuleScope$2 { - block: Program$2, + block: Program$4, isStrict: true, references: Array [ Reference$1, + Reference$2, ], set: Map { "T" => Variable$2, diff --git a/packages/scope-manager/tests/fixtures/export/type-inline.ts b/packages/scope-manager/tests/fixtures/export/type-inline.ts new file mode 100644 index 000000000000..54016449936e --- /dev/null +++ b/packages/scope-manager/tests/fixtures/export/type-inline.ts @@ -0,0 +1,5 @@ +//// @sourceType = module + +const T = 1; // unreferenced +type T = 1; +export { type T }; diff --git a/packages/scope-manager/tests/fixtures/export/type-inline.ts.shot b/packages/scope-manager/tests/fixtures/export/type-inline.ts.shot new file mode 100644 index 000000000000..0463684b9638 --- /dev/null +++ b/packages/scope-manager/tests/fixtures/export/type-inline.ts.shot @@ -0,0 +1,75 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`export type-inline 1`] = ` +ScopeManager { + variables: Array [ + ImplicitGlobalConstTypeVariable, + Variable$2 { + defs: Array [ + VariableDefinition$1 { + name: Identifier<"T">, + node: VariableDeclarator$1, + }, + TypeDefinition$2 { + name: Identifier<"T">, + node: TSTypeAliasDeclaration$2, + }, + ], + name: "T", + references: Array [ + Reference$1 { + identifier: Identifier<"T">, + init: true, + isRead: false, + isTypeReference: false, + isValueReference: true, + isWrite: true, + resolved: Variable$2, + writeExpr: Literal$3, + }, + Reference$2 { + identifier: Identifier<"T">, + isRead: true, + isTypeReference: true, + isValueReference: false, + isWrite: false, + resolved: Variable$2, + }, + ], + isValueVariable: true, + isTypeVariable: true, + }, + ], + scopes: Array [ + GlobalScope$1 { + block: Program$4, + isStrict: false, + references: Array [], + set: Map { + "const" => ImplicitGlobalConstTypeVariable, + }, + type: "global", + upper: null, + variables: Array [ + ImplicitGlobalConstTypeVariable, + ], + }, + ModuleScope$2 { + block: Program$4, + isStrict: true, + references: Array [ + Reference$1, + Reference$2, + ], + set: Map { + "T" => Variable$2, + }, + type: "module", + upper: GlobalScope$1, + variables: Array [ + Variable$2, + ], + }, + ], +} +`; diff --git a/packages/scope-manager/tests/fixtures/import/type-inline-value.ts b/packages/scope-manager/tests/fixtures/import/type-inline-value.ts new file mode 100644 index 000000000000..1675f71cad58 --- /dev/null +++ b/packages/scope-manager/tests/fixtures/import/type-inline-value.ts @@ -0,0 +1,5 @@ +//// @sourceType = module + +import { type foo } from 'foo'; + +type T = typeof foo; diff --git a/packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot b/packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot new file mode 100644 index 000000000000..037a97b96fc3 --- /dev/null +++ b/packages/scope-manager/tests/fixtures/import/type-inline-value.ts.shot @@ -0,0 +1,74 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`import type-inline-value 1`] = ` +ScopeManager { + variables: Array [ + ImplicitGlobalConstTypeVariable, + Variable$2 { + defs: Array [ + ImportBindingDefinition$1 { + name: Identifier<"foo">, + node: ImportSpecifier$1, + }, + ], + name: "foo", + references: Array [ + Reference$1 { + identifier: Identifier<"foo">, + isRead: true, + isTypeReference: false, + isValueReference: true, + isWrite: false, + resolved: Variable$2, + }, + ], + isValueVariable: true, + isTypeVariable: true, + }, + Variable$3 { + defs: Array [ + TypeDefinition$2 { + name: Identifier<"T">, + node: TSTypeAliasDeclaration$2, + }, + ], + name: "T", + references: Array [], + isValueVariable: false, + isTypeVariable: true, + }, + ], + scopes: Array [ + GlobalScope$1 { + block: Program$3, + isStrict: false, + references: Array [], + set: Map { + "const" => ImplicitGlobalConstTypeVariable, + }, + type: "global", + upper: null, + variables: Array [ + ImplicitGlobalConstTypeVariable, + ], + }, + ModuleScope$2 { + block: Program$3, + isStrict: true, + references: Array [ + Reference$1, + ], + set: Map { + "foo" => Variable$2, + "T" => Variable$3, + }, + type: "module", + upper: GlobalScope$1, + variables: Array [ + Variable$2, + Variable$3, + ], + }, + ], +} +`; diff --git a/packages/scope-manager/tests/fixtures/import/type-inline.ts b/packages/scope-manager/tests/fixtures/import/type-inline.ts new file mode 100644 index 000000000000..f6eba4fd0dfc --- /dev/null +++ b/packages/scope-manager/tests/fixtures/import/type-inline.ts @@ -0,0 +1,6 @@ +//// @sourceType = module + +import { type T } from 'foo'; + +type Ref = T; +const unresolved = T; diff --git a/packages/scope-manager/tests/fixtures/import/type-inline.ts.shot b/packages/scope-manager/tests/fixtures/import/type-inline.ts.shot new file mode 100644 index 000000000000..4e5205e91d27 --- /dev/null +++ b/packages/scope-manager/tests/fixtures/import/type-inline.ts.shot @@ -0,0 +1,109 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`import type-inline 1`] = ` +ScopeManager { + variables: Array [ + ImplicitGlobalConstTypeVariable, + Variable$2 { + defs: Array [ + ImportBindingDefinition$1 { + name: Identifier<"T">, + node: ImportSpecifier$1, + }, + ], + name: "T", + references: Array [ + Reference$1 { + identifier: Identifier<"T">, + isRead: true, + isTypeReference: true, + isValueReference: false, + isWrite: false, + resolved: Variable$2, + }, + Reference$3 { + identifier: Identifier<"T">, + isRead: true, + isTypeReference: false, + isValueReference: true, + isWrite: false, + resolved: Variable$2, + }, + ], + isValueVariable: true, + isTypeVariable: true, + }, + Variable$3 { + defs: Array [ + TypeDefinition$2 { + name: Identifier<"Ref">, + node: TSTypeAliasDeclaration$2, + }, + ], + name: "Ref", + references: Array [], + isValueVariable: false, + isTypeVariable: true, + }, + Variable$4 { + defs: Array [ + VariableDefinition$3 { + name: Identifier<"unresolved">, + node: VariableDeclarator$3, + }, + ], + name: "unresolved", + references: Array [ + Reference$2 { + identifier: Identifier<"unresolved">, + init: true, + isRead: false, + isTypeReference: false, + isValueReference: true, + isWrite: true, + resolved: Variable$4, + writeExpr: Identifier<"T">, + }, + ], + isValueVariable: true, + isTypeVariable: false, + }, + ], + scopes: Array [ + GlobalScope$1 { + block: Program$4, + isStrict: false, + references: Array [], + set: Map { + "const" => ImplicitGlobalConstTypeVariable, + }, + type: "global", + upper: null, + variables: Array [ + ImplicitGlobalConstTypeVariable, + ], + }, + ModuleScope$2 { + block: Program$4, + isStrict: true, + references: Array [ + Reference$1, + Reference$2, + Reference$3, + ], + set: Map { + "T" => Variable$2, + "Ref" => Variable$3, + "unresolved" => Variable$4, + }, + type: "module", + upper: GlobalScope$1, + variables: Array [ + Variable$2, + Variable$3, + Variable$4, + ], + }, + ], +} +`; diff --git a/packages/scope-manager/tests/fixtures/import/type-named.ts b/packages/scope-manager/tests/fixtures/import/type-named.ts index 1b73102379a1..f2d4b03083d9 100644 --- a/packages/scope-manager/tests/fixtures/import/type-named.ts +++ b/packages/scope-manager/tests/fixtures/import/type-named.ts @@ -3,4 +3,4 @@ import type { T } from 'foo'; type Ref = T; -const unresovled = T; +const unresolved = T; diff --git a/packages/scope-manager/tests/fixtures/import/type-named.ts.shot b/packages/scope-manager/tests/fixtures/import/type-named.ts.shot index ddf3bf95f63a..75b2214ff067 100644 --- a/packages/scope-manager/tests/fixtures/import/type-named.ts.shot +++ b/packages/scope-manager/tests/fixtures/import/type-named.ts.shot @@ -48,14 +48,14 @@ ScopeManager { Variable$4 { defs: Array [ VariableDefinition$3 { - name: Identifier<"unresovled">, + name: Identifier<"unresolved">, node: VariableDeclarator$3, }, ], - name: "unresovled", + name: "unresolved", references: Array [ Reference$2 { - identifier: Identifier<"unresovled">, + identifier: Identifier<"unresolved">, init: true, isRead: false, isTypeReference: false, @@ -94,7 +94,7 @@ ScopeManager { set: Map { "T" => Variable$2, "Ref" => Variable$3, - "unresovled" => Variable$4, + "unresolved" => Variable$4, }, type: "module", upper: GlobalScope$1, diff --git a/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts b/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts index 62d52177631d..3fe358428f70 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts +++ b/packages/scope-manager/tests/fixtures/type-declaration/literal-type1.ts @@ -1,3 +1,3 @@ -type Color = "red" | "blue"; -type Quantity = "one" | "two"; +type Color = 'red' | 'blue'; +type Quantity = 'one' | 'two'; type SeussFish = `${Quantity | Color} fish`; diff --git a/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts b/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts index b08b1843885d..264558bea382 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts +++ b/packages/scope-manager/tests/fixtures/type-declaration/literal-type2.ts @@ -1,2 +1,3 @@ -type EnthusiasticGreeting = `${Uppercase} - ${Lowercase} - ${Capitalize} - ${Uncapitalize}`; -type HELLO = EnthusiasticGreeting<"heLLo">; +type EnthusiasticGreeting = + `${Uppercase} - ${Lowercase} - ${Capitalize} - ${Uncapitalize}`; +type HELLO = EnthusiasticGreeting<'heLLo'>; diff --git a/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts b/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts index 126a004bf3e8..408889902ee8 100644 --- a/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts +++ b/packages/scope-manager/tests/fixtures/type-declaration/literal-type3.ts @@ -1,8 +1,10 @@ -type VerticalAlignment = "top" | "middle" | "bottom"; -type HorizontalAlignment = "left" | "center" | "right"; +type VerticalAlignment = 'top' | 'middle' | 'bottom'; +type HorizontalAlignment = 'left' | 'center' | 'right'; // Takes // | "top-left" | "top-center" | "top-right" // | "middle-left" | "middle-center" | "middle-right" // | "bottom-left" | "bottom-center" | "bottom-right" -declare function setAlignment(value: `${VerticalAlignment}-${HorizontalAlignment}`): void; +declare function setAlignment( + value: `${VerticalAlignment}-${HorizontalAlignment}`, +): void; diff --git a/packages/website/src/components/ast/ASTViewer.module.css b/packages/website/src/components/ast/ASTViewer.module.css index ebb4b3470dcb..1739f872ecb6 100644 --- a/packages/website/src/components/ast/ASTViewer.module.css +++ b/packages/website/src/components/ast/ASTViewer.module.css @@ -5,10 +5,10 @@ margin: 0; list-style: none; padding-left: 1.5rem; - font-family: Consolas, "Courier New", monospace; + font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 13px; - font-feature-settings: "liga" 0, "calt" 0; + font-feature-settings: 'liga' 0, 'calt' 0; line-height: 18px; letter-spacing: 0px; } diff --git a/packages/website/src/components/config/ConfigEditor.module.css b/packages/website/src/components/config/ConfigEditor.module.css index 2ca4bb4c1cc9..1329e5af9a74 100644 --- a/packages/website/src/components/config/ConfigEditor.module.css +++ b/packages/website/src/components/config/ConfigEditor.module.css @@ -15,7 +15,8 @@ border-radius: 0.2rem; } -.searchResult, .searchResultGroup { +.searchResult, +.searchResultGroup { align-items: center; display: flex; flex: 0 0 1.5rem; @@ -38,7 +39,8 @@ margin: 0.2rem 0; } -.searchResult:nth-child(even), .searchResultGroup:nth-child(even) { +.searchResult:nth-child(even), +.searchResultGroup:nth-child(even) { background: var(--ifm-color-emphasis-100); } diff --git a/packages/website/src/components/inputs/Tooltip.module.css b/packages/website/src/components/inputs/Tooltip.module.css index 50f499aa86f4..95895ffc6092 100644 --- a/packages/website/src/components/inputs/Tooltip.module.css +++ b/packages/website/src/components/inputs/Tooltip.module.css @@ -18,14 +18,15 @@ } .tooltipText::after { - content: ""; + content: ''; position: absolute; top: 50%; left: 100%; margin-top: -5px; border-width: 5px; border-style: solid; - border-color: transparent transparent transparent var(--ifm-color-emphasis-200); + border-color: transparent transparent transparent + var(--ifm-color-emphasis-200); } .tooltip.tooltipActive .tooltipText { diff --git a/packages/website/src/components/layout/Expander.module.css b/packages/website/src/components/layout/Expander.module.css index e38abfa4a9a3..96b5eb34d248 100644 --- a/packages/website/src/components/layout/Expander.module.css +++ b/packages/website/src/components/layout/Expander.module.css @@ -9,7 +9,9 @@ display: flex; flex-direction: row; align-items: center; - transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default), color var(--ifm-transition-fast) var(--ifm-transition-timing-default); + transition: background-color var(--ifm-transition-fast) + var(--ifm-transition-timing-default), + color var(--ifm-transition-fast) var(--ifm-transition-timing-default); color: var(--ifm-color-emphasis-900); cursor: pointer; padding: 0.4rem 0.8rem; @@ -18,7 +20,8 @@ background: transparent; text-rendering: optimizelegibility; -webkit-text-size-adjust: 100%; - font: var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base); + font: var(--ifm-font-size-base) / var(--ifm-line-height-base) + var(--ifm-font-family-base); text-align: left; } diff --git a/yarn.lock b/yarn.lock index cf83b08f8e63..889f67f81324 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3770,7 +3770,7 @@ resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-5.0.3.tgz#e7b5aebbac150f8b5fdd4a46e7f0bd8e65e19109" integrity sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw== -"@types/prettier@*", "@types/prettier@^2.1.5", "@types/prettier@^2.3.2": +"@types/prettier@*", "@types/prettier@^2.1.5", "@types/prettier@^2.4.2": version "2.4.2" resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.4.2.tgz#4c62fae93eb479660c3bd93f9d24d561597a8281" integrity sha512-ekoj4qOQYp7CvjX8ZDBgN86w3MqQhLE1hczEJbEIjgFEumDy+na/4AJAbLXfgEWFNB2pKadM5rPFtuSGMWK7xA== @@ -11706,10 +11706,10 @@ prepend-http@^2.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= -prettier@*, prettier@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c" - integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA== +prettier@*, prettier@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.0.tgz#a6370e2d4594e093270419d9cc47f7670488f893" + integrity sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg== pretty-error@^4.0.0: version "4.0.0" From 6e159ee7cf8ef2028792cb8ee636cf6143fa967f Mon Sep 17 00:00:00 2001 From: Galen Wong Date: Fri, 3 Dec 2021 00:14:17 -0500 Subject: [PATCH 3/4] docs(website): fix `node` to `originalNode` in type checking example (#4245) --- docs/development/CUSTOM_RULES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/CUSTOM_RULES.md b/docs/development/CUSTOM_RULES.md index ee220e523a1e..045a0d12e4a4 100644 --- a/docs/development/CUSTOM_RULES.md +++ b/docs/development/CUSTOM_RULES.md @@ -240,7 +240,7 @@ export const rule: eslint.Rule.RuleModule = { const originalNode = parserServices.esTreeNodeToTSNodeMap.get( node.right, ); - const nodeType = checker.getTypeAtLocation(node); + const nodeType = checker.getTypeAtLocation(originalNode); // 3. Check the TS node type using the TypeScript APIs if (tsutils.isTypeFlagSet(nodeType, ts.TypeFlags.EnumLike)) { From 3c72e13dfbe7acb3c9d994b70e1872ef24615f5c Mon Sep 17 00:00:00 2001 From: James Henry Date: Mon, 6 Dec 2021 18:01:55 +0000 Subject: [PATCH 4/4] chore: publish v5.6.0 --- CHANGELOG.md | 12 ++++++++++++ lerna.json | 2 +- packages/ast-spec/CHANGELOG.md | 8 ++++++++ packages/ast-spec/package.json | 2 +- packages/eslint-plugin-internal/CHANGELOG.md | 8 ++++++++ packages/eslint-plugin-internal/package.json | 6 +++--- packages/eslint-plugin-tslint/CHANGELOG.md | 8 ++++++++ packages/eslint-plugin-tslint/package.json | 6 +++--- packages/eslint-plugin/CHANGELOG.md | 11 +++++++++++ packages/eslint-plugin/package.json | 6 +++--- packages/experimental-utils/CHANGELOG.md | 8 ++++++++ packages/experimental-utils/package.json | 8 ++++---- packages/parser/CHANGELOG.md | 8 ++++++++ packages/parser/package.json | 10 +++++----- packages/scope-manager/CHANGELOG.md | 12 ++++++++++++ packages/scope-manager/package.json | 8 ++++---- packages/shared-fixtures/CHANGELOG.md | 8 ++++++++ packages/shared-fixtures/package.json | 2 +- packages/types/CHANGELOG.md | 11 +++++++++++ packages/types/package.json | 2 +- packages/typescript-estree/CHANGELOG.md | 11 +++++++++++ packages/typescript-estree/package.json | 8 ++++---- packages/visitor-keys/CHANGELOG.md | 8 ++++++++ packages/visitor-keys/package.json | 4 ++-- packages/website-eslint/CHANGELOG.md | 8 ++++++++ packages/website-eslint/package.json | 16 ++++++++-------- packages/website/CHANGELOG.md | 11 +++++++++++ packages/website/package.json | 4 ++-- 28 files changed, 174 insertions(+), 42 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aca4e48f1ff4..94f691a2cb4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + + +### Features + +* **scope-manager:** support TS4.5 import/export specifier kind ([#4234](https://github.com/typescript-eslint/typescript-eslint/issues/4234)) ([833f822](https://github.com/typescript-eslint/typescript-eslint/commit/833f8221ce00aecb7d08c519bab9568353850f48)) +* **scope-manager:** update lib types ([#4240](https://github.com/typescript-eslint/typescript-eslint/issues/4240)) ([8377e6e](https://github.com/typescript-eslint/typescript-eslint/commit/8377e6ea422ee2d52455da8955ff055e09c238d3)) + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) diff --git a/lerna.json b/lerna.json index fe8d54785cd9..f209467054f7 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "5.5.0", + "version": "5.6.0", "npmClient": "yarn", "useWorkspaces": true, "stream": true diff --git a/packages/ast-spec/CHANGELOG.md b/packages/ast-spec/CHANGELOG.md index 720055dd131b..5ef2c3ca1c23 100644 --- a/packages/ast-spec/CHANGELOG.md +++ b/packages/ast-spec/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/ast-spec + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/ast-spec diff --git a/packages/ast-spec/package.json b/packages/ast-spec/package.json index 5b95e79dc7e8..890f2587479a 100644 --- a/packages/ast-spec/package.json +++ b/packages/ast-spec/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/ast-spec", - "version": "5.5.0", + "version": "5.6.0", "description": "TypeScript-ESTree AST spec", "private": true, "keywords": [ diff --git a/packages/eslint-plugin-internal/CHANGELOG.md b/packages/eslint-plugin-internal/CHANGELOG.md index b63040d51d62..ba62929231d4 100644 --- a/packages/eslint-plugin-internal/CHANGELOG.md +++ b/packages/eslint-plugin-internal/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal diff --git a/packages/eslint-plugin-internal/package.json b/packages/eslint-plugin-internal/package.json index e386f87827c4..8e78f4a4e0a0 100644 --- a/packages/eslint-plugin-internal/package.json +++ b/packages/eslint-plugin-internal/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin-internal", - "version": "5.5.0", + "version": "5.6.0", "private": true, "main": "dist/index.js", "scripts": { @@ -14,8 +14,8 @@ }, "dependencies": { "@types/prettier": "*", - "@typescript-eslint/experimental-utils": "5.5.0", - "@typescript-eslint/scope-manager": "5.5.0", + "@typescript-eslint/experimental-utils": "5.6.0", + "@typescript-eslint/scope-manager": "5.6.0", "prettier": "*" } } diff --git a/packages/eslint-plugin-tslint/CHANGELOG.md b/packages/eslint-plugin-tslint/CHANGELOG.md index 8b720954cc34..8b1e167ba632 100644 --- a/packages/eslint-plugin-tslint/CHANGELOG.md +++ b/packages/eslint-plugin-tslint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint diff --git a/packages/eslint-plugin-tslint/package.json b/packages/eslint-plugin-tslint/package.json index 8bd14955ba50..fa70b87afe38 100644 --- a/packages/eslint-plugin-tslint/package.json +++ b/packages/eslint-plugin-tslint/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin-tslint", - "version": "5.5.0", + "version": "5.6.0", "main": "dist/index.js", "typings": "src/index.ts", "description": "TSLint wrapper plugin for ESLint", @@ -38,7 +38,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/experimental-utils": "5.5.0", + "@typescript-eslint/experimental-utils": "5.6.0", "lodash": "^4.17.21" }, "peerDependencies": { @@ -48,6 +48,6 @@ }, "devDependencies": { "@types/lodash": "*", - "@typescript-eslint/parser": "5.5.0" + "@typescript-eslint/parser": "5.6.0" } } diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 4811c6a939ba..510c4a30b394 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + + +### Features + +* **scope-manager:** support TS4.5 import/export specifier kind ([#4234](https://github.com/typescript-eslint/typescript-eslint/issues/4234)) ([833f822](https://github.com/typescript-eslint/typescript-eslint/commit/833f8221ce00aecb7d08c519bab9568353850f48)) + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index db47b6544d2e..986b27b213b7 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "5.5.0", + "version": "5.6.0", "description": "TypeScript plugin for ESLint", "keywords": [ "eslint", @@ -44,8 +44,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/experimental-utils": "5.5.0", - "@typescript-eslint/scope-manager": "5.5.0", + "@typescript-eslint/experimental-utils": "5.6.0", + "@typescript-eslint/scope-manager": "5.6.0", "debug": "^4.3.2", "functional-red-black-tree": "^1.0.1", "ignore": "^5.1.8", diff --git a/packages/experimental-utils/CHANGELOG.md b/packages/experimental-utils/CHANGELOG.md index 10256e8efef0..ccf223b31713 100644 --- a/packages/experimental-utils/CHANGELOG.md +++ b/packages/experimental-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/experimental-utils + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) diff --git a/packages/experimental-utils/package.json b/packages/experimental-utils/package.json index bb36d8c602f9..1a165fb9ba43 100644 --- a/packages/experimental-utils/package.json +++ b/packages/experimental-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/experimental-utils", - "version": "5.5.0", + "version": "5.6.0", "description": "(Experimental) Utilities for working with TypeScript + ESLint together", "keywords": [ "eslint", @@ -40,9 +40,9 @@ }, "dependencies": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.5.0", - "@typescript-eslint/types": "5.5.0", - "@typescript-eslint/typescript-estree": "5.5.0", + "@typescript-eslint/scope-manager": "5.6.0", + "@typescript-eslint/types": "5.6.0", + "@typescript-eslint/typescript-estree": "5.6.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" }, diff --git a/packages/parser/CHANGELOG.md b/packages/parser/CHANGELOG.md index c653f6252fc2..1d9a7c917f2f 100644 --- a/packages/parser/CHANGELOG.md +++ b/packages/parser/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/parser + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/parser diff --git a/packages/parser/package.json b/packages/parser/package.json index a73757d0ebf8..0769ff138329 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "5.5.0", + "version": "5.6.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -44,14 +44,14 @@ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "5.5.0", - "@typescript-eslint/types": "5.5.0", - "@typescript-eslint/typescript-estree": "5.5.0", + "@typescript-eslint/scope-manager": "5.6.0", + "@typescript-eslint/types": "5.6.0", + "@typescript-eslint/typescript-estree": "5.6.0", "debug": "^4.3.2" }, "devDependencies": { "@types/glob": "*", - "@typescript-eslint/experimental-utils": "5.5.0", + "@typescript-eslint/experimental-utils": "5.6.0", "glob": "*", "typescript": "*" }, diff --git a/packages/scope-manager/CHANGELOG.md b/packages/scope-manager/CHANGELOG.md index 8e741b1a6ebb..c9bf1a6239e8 100644 --- a/packages/scope-manager/CHANGELOG.md +++ b/packages/scope-manager/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + + +### Features + +* **scope-manager:** support TS4.5 import/export specifier kind ([#4234](https://github.com/typescript-eslint/typescript-eslint/issues/4234)) ([833f822](https://github.com/typescript-eslint/typescript-eslint/commit/833f8221ce00aecb7d08c519bab9568353850f48)) +* **scope-manager:** update lib types ([#4240](https://github.com/typescript-eslint/typescript-eslint/issues/4240)) ([8377e6e](https://github.com/typescript-eslint/typescript-eslint/commit/8377e6ea422ee2d52455da8955ff055e09c238d3)) + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json index bd07f5e19e1d..32f1f93ddbc4 100644 --- a/packages/scope-manager/package.json +++ b/packages/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "5.5.0", + "version": "5.6.0", "description": "TypeScript scope analyser for ESLint", "keywords": [ "eslint", @@ -39,12 +39,12 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "5.5.0", - "@typescript-eslint/visitor-keys": "5.5.0" + "@typescript-eslint/types": "5.6.0", + "@typescript-eslint/visitor-keys": "5.6.0" }, "devDependencies": { "@types/glob": "*", - "@typescript-eslint/typescript-estree": "5.5.0", + "@typescript-eslint/typescript-estree": "5.6.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/packages/shared-fixtures/CHANGELOG.md b/packages/shared-fixtures/CHANGELOG.md index d4bb6943fabe..d606aa64a4fc 100644 --- a/packages/shared-fixtures/CHANGELOG.md +++ b/packages/shared-fixtures/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/shared-fixtures + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/shared-fixtures diff --git a/packages/shared-fixtures/package.json b/packages/shared-fixtures/package.json index 281da3efab4a..8b3911ffb2a7 100644 --- a/packages/shared-fixtures/package.json +++ b/packages/shared-fixtures/package.json @@ -1,5 +1,5 @@ { "name": "@typescript-eslint/shared-fixtures", - "version": "5.5.0", + "version": "5.6.0", "private": true } diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 8fbc3556ff6e..e5369be70664 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + + +### Features + +* **scope-manager:** update lib types ([#4240](https://github.com/typescript-eslint/typescript-eslint/issues/4240)) ([8377e6e](https://github.com/typescript-eslint/typescript-eslint/commit/8377e6ea422ee2d52455da8955ff055e09c238d3)) + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/types diff --git a/packages/types/package.json b/packages/types/package.json index 918fc8c600d7..78a5dbde545e 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "5.5.0", + "version": "5.6.0", "description": "Types for the TypeScript-ESTree AST spec", "keywords": [ "eslint", diff --git a/packages/typescript-estree/CHANGELOG.md b/packages/typescript-estree/CHANGELOG.md index 713725fdc910..31262c8ff976 100644 --- a/packages/typescript-estree/CHANGELOG.md +++ b/packages/typescript-estree/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + + +### Features + +* **scope-manager:** update lib types ([#4240](https://github.com/typescript-eslint/typescript-eslint/issues/4240)) ([8377e6e](https://github.com/typescript-eslint/typescript-eslint/commit/8377e6ea422ee2d52455da8955ff055e09c238d3)) + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/typescript-estree diff --git a/packages/typescript-estree/package.json b/packages/typescript-estree/package.json index 7003cb12fdc3..88c8bbd3db88 100644 --- a/packages/typescript-estree/package.json +++ b/packages/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "5.5.0", + "version": "5.6.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -41,8 +41,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "5.5.0", - "@typescript-eslint/visitor-keys": "5.5.0", + "@typescript-eslint/types": "5.6.0", + "@typescript-eslint/visitor-keys": "5.6.0", "debug": "^4.3.2", "globby": "^11.0.4", "is-glob": "^4.0.3", @@ -59,7 +59,7 @@ "@types/is-glob": "*", "@types/semver": "*", "@types/tmp": "*", - "@typescript-eslint/shared-fixtures": "5.5.0", + "@typescript-eslint/shared-fixtures": "5.6.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/packages/visitor-keys/CHANGELOG.md b/packages/visitor-keys/CHANGELOG.md index 034a16fbc662..255b818900e8 100644 --- a/packages/visitor-keys/CHANGELOG.md +++ b/packages/visitor-keys/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/visitor-keys + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) diff --git a/packages/visitor-keys/package.json b/packages/visitor-keys/package.json index d1ccf7556f5f..d8209b3f273e 100644 --- a/packages/visitor-keys/package.json +++ b/packages/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "5.5.0", + "version": "5.6.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "keywords": [ "eslint", @@ -38,7 +38,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "5.5.0", + "@typescript-eslint/types": "5.6.0", "eslint-visitor-keys": "^3.0.0" }, "devDependencies": { diff --git a/packages/website-eslint/CHANGELOG.md b/packages/website-eslint/CHANGELOG.md index 55ef091566e5..5053ccf35a06 100644 --- a/packages/website-eslint/CHANGELOG.md +++ b/packages/website-eslint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + +**Note:** Version bump only for package @typescript-eslint/website-eslint + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package @typescript-eslint/website-eslint diff --git a/packages/website-eslint/package.json b/packages/website-eslint/package.json index 03a3ac2af9fe..042aee614edc 100644 --- a/packages/website-eslint/package.json +++ b/packages/website-eslint/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/website-eslint", - "version": "5.5.0", + "version": "5.6.0", "private": true, "description": "ESLint which works in browsers.", "engines": { @@ -16,19 +16,19 @@ "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore" }, "dependencies": { - "@typescript-eslint/experimental-utils": "5.5.0", - "@typescript-eslint/types": "5.5.0" + "@typescript-eslint/experimental-utils": "5.6.0", + "@typescript-eslint/types": "5.6.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.0.6", "@rollup/pluginutils": "^3.1.0", - "@typescript-eslint/eslint-plugin": "5.5.0", - "@typescript-eslint/parser": "5.5.0", - "@typescript-eslint/scope-manager": "5.5.0", - "@typescript-eslint/typescript-estree": "5.5.0", - "@typescript-eslint/visitor-keys": "5.5.0", + "@typescript-eslint/eslint-plugin": "5.6.0", + "@typescript-eslint/parser": "5.6.0", + "@typescript-eslint/scope-manager": "5.6.0", + "@typescript-eslint/typescript-estree": "5.6.0", + "@typescript-eslint/visitor-keys": "5.6.0", "eslint": "*", "rollup": "^2.59.0", "semver": "^7.3.5" diff --git a/packages/website/CHANGELOG.md b/packages/website/CHANGELOG.md index 7ca28a97a50f..029b67b024a6 100644 --- a/packages/website/CHANGELOG.md +++ b/packages/website/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.6.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) (2021-12-06) + + +### Features + +* **scope-manager:** support TS4.5 import/export specifier kind ([#4234](https://github.com/typescript-eslint/typescript-eslint/issues/4234)) ([833f822](https://github.com/typescript-eslint/typescript-eslint/commit/833f8221ce00aecb7d08c519bab9568353850f48)) + + + + + # [5.5.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) (2021-11-29) **Note:** Version bump only for package website diff --git a/packages/website/package.json b/packages/website/package.json index 2058c4598359..c0941de451e2 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "5.5.0", + "version": "5.6.0", "private": true, "scripts": { "build": "docusaurus build", @@ -20,7 +20,7 @@ "@docusaurus/theme-classic": "^2.0.0-beta.9", "@docusaurus/theme-search-algolia": "^2.0.0-beta.9", "@mdx-js/react": "1.6.22", - "@typescript-eslint/website-eslint": "5.5.0", + "@typescript-eslint/website-eslint": "5.6.0", "clsx": "^1.1.1", "eslint": "*", "konamimojisplosion": "^0.5.1",