Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Use named Parser import, to allow bundlers to create direct function references #535

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/updating-the-parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For example, suppose we have found a new renderer named `verticalListRenderer`.
> `../classes/VerticalList.ts`

```ts
import Parser, { RawNode } from '../index.js';
import { Parser, RawNode } from '../index.js';
import { YTNode } from '../helpers.js';

export default class VerticalList extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/core/Actions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { NavigateAction } from '../parser/index.js';
import { Parser, NavigateAction } from '../parser/index.js';
import { InnertubeError } from '../utils/Utils.js';

import type Session from './Session.js';
Expand Down
2 changes: 1 addition & 1 deletion src/core/clients/Kids.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser from '../../parser/index.js';
import { Parser } from '../../parser/index.js';
import Channel from '../../parser/ytkids/Channel.js';
import HomeFeed from '../../parser/ytkids/HomeFeed.js';
import Search from '../../parser/ytkids/Search.js';
Expand Down
2 changes: 1 addition & 1 deletion src/core/mixins/Feed.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Memo, ObservedArray, SuperParsedResult, YTNode } from '../../parser/helpers.js';
import Parser, { ReloadContinuationItemsCommand } from '../../parser/index.js';
import { Parser, ReloadContinuationItemsCommand } from '../../parser/index.js';
import { concatMemos, InnertubeError } from '../../utils/Utils.js';
import type Actions from '../Actions.js';

Expand Down
2 changes: 1 addition & 1 deletion src/core/mixins/MediaInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as FormatUtils from '../../utils/FormatUtils.js';
import { InnertubeError } from '../../utils/Utils.js';
import type Format from '../../parser/classes/misc/Format.js';
import type { INextResponse, IPlayerResponse } from '../../parser/index.js';
import Parser from '../../parser/index.js';
import { Parser } from '../../parser/index.js';
import type { DashOptions } from '../../types/DashOptions.js';
import PlayerStoryboardSpec from '../../parser/classes/PlayerStoryboardSpec.js';
import { getStreamingInfo } from '../../utils/StreamingInfo.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/AccountItemSection.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser from '../index.js';
import { Parser } from '../index.js';
import AccountItemSectionHeader from './AccountItemSectionHeader.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/AccountSectionList.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser from '../index.js';
import { Parser } from '../index.js';
import AccountChannel from './AccountChannel.js';
import AccountItemSection from './AccountItemSection.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/BackstagePost.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import CommentActionButtons from './comments/CommentActionButtons.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/BackstagePostThread.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { YTNode } from '../helpers.js';

export default class BackstagePostThread extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/BrowseFeedActions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';

export default class BrowseFeedActions extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/C4TabbedHeader.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import ChannelHeaderLinks from './ChannelHeaderLinks.js';
import ChannelHeaderLinksView from './ChannelHeaderLinksView.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/Card.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { YTNode } from '../helpers.js';

export default class Card extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CardCollection.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Text from './misc/Text.js';

export default class CardCollection extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CarouselHeader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';

export default class CarouselHeader extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CarouselItem.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';
import Thumbnail from './misc/Thumbnail.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CarouselLockup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type ObservedArray, YTNode } from '../helpers.js';
import InfoRow from './InfoRow.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import CompactVideo from './CompactVideo.js';

export default class CarouselLockup extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/Channel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import SubscribeButton from './SubscribeButton.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ChannelAboutFullMetadata.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ChannelFeaturedContent.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type ObservedArray, YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Text from './misc/Text.js';

export default class ChannelFeaturedContent extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ChannelSubMenu.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';

export default class ChannelSubMenu extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ChipCloud.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import ChipCloudChip from './ChipCloudChip.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CompactChannel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Menu from './menus/Menu.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CompactMovie.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import type { RawNode } from '../index.js';
import Parser from '../index.js';
import { Parser } from '../index.js';
import Author from './misc/Author.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CompactVideo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { timeToSeconds } from '../../utils/Utils.js';
import { YTNode, type ObservedArray, type SuperParsedResult } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Menu from './menus/Menu.js';
import MetadataBadge from './MetadataBadge.js';
import Author from './misc/Author.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ConfirmDialog.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Text from './misc/Text.js';
import Button from './Button.js';
import { YTNode } from '../helpers.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ContinuationItem.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import NavigationEndpoint from './NavigationEndpoint.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ConversationBar.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Message from './Message.js';

export default class ConversationBar extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CopyLink.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';

export default class CopyLink extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/CreatePlaylistDialog.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import Dropdown from './Dropdown.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/DecoratedPlayerBar.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { YTNode } from '../helpers.js';
import type { RawNode } from '../index.js';
import Parser from '../index.js';
import { Parser } from '../index.js';
import Button from './Button.js';
import MultiMarkersPlayerBar from './MultiMarkersPlayerBar.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/DefaultPromoPanel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/Dropdown.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import DropdownItem from './DropdownItem.js';

export default class Dropdown extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/Element.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import ChildElement from './misc/ChildElement.js';
import { type ObservedArray, YTNode, observe } from '../helpers.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/EmergencyOnebox.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Menu from './menus/Menu.js';
import Text from './misc/Text.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/EndScreenVideo.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type ObservedArray, YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Author from './misc/Author.js';
import Text from './misc/Text.js';
import Thumbnail from './misc/Thumbnail.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/Endscreen.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser from '../index.js';
import { Parser } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';

export default class Endscreen extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/EndscreenElement.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Thumbnail from './misc/Thumbnail.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/EngagementPanelSectionList.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import ClipSection from './ClipSection.js';
import ContinuationItem from './ContinuationItem.js';
import EngagementPanelTitleHeader from './EngagementPanelTitleHeader.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ExpandableMetadata.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Button from './Button.js';
import HorizontalCardList from './HorizontalCardList.js';
import HorizontalList from './HorizontalList.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ExpandableTab.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';

export default class ExpandableTab extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ExpandedShelfContents.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';

export default class ExpandedShelfContents extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/FeedFilterChipBar.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import ChipCloudChip from './ChipCloudChip.js';

export default class FeedFilterChipBar extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/GameCard.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';

export default class GameCard extends YTNode {
static type = 'GameCard';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/Grid.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';

export default class Grid extends YTNode {
static type = 'Grid';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/GridChannel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Author from './misc/Author.js';
import Text from './misc/Text.js';
import NavigationEndpoint from './NavigationEndpoint.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/GridMix.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
import Thumbnail from './misc/Thumbnail.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/GridMovie.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import MetadataBadge from './MetadataBadge.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/GridPlaylist.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Author from './misc/Author.js';
import Text from './misc/Text.js';
import Thumbnail from './misc/Thumbnail.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/GridVideo.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Menu from './menus/Menu.js';
import Author from './misc/Author.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/Heatmap.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import HeatMarker from './HeatMarker.js';
import { type ObservedArray, YTNode } from '../helpers.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/HorizontalCardList.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';
import SearchRefinementCard from './SearchRefinementCard.js';
import Button from './Button.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/HorizontalList.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';

export default class HorizontalList extends YTNode {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/HorizontalMovieList.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';
import Button from './Button.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/InfoPanelContainer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import InfoPanelContent from './InfoPanelContent.js';
import Menu from './menus/Menu.js';
import Text from './misc/Text.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/InteractiveTabbedHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Text from './misc/Text.js';
import Thumbnail from './misc/Thumbnail.js';

import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';

export default class InteractiveTabbedHeader extends YTNode {
static type = 'InteractiveTabbedHeader';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ItemSection.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import ItemSectionHeader from './ItemSectionHeader.js';
import ItemSectionTabbedHeader from './ItemSectionTabbedHeader.js';
import CommentsHeader from './comments/CommentsHeader.js';
Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/ItemSectionTabbedHeader.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode, type ObservedArray } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import ItemSectionTab from './ItemSectionTab.js';
import Text from './misc/Text.js';

Expand Down
2 changes: 1 addition & 1 deletion src/parser/classes/LiveChat.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { YTNode } from '../helpers.js';
import Parser, { type RawNode } from '../index.js';
import { Parser, type RawNode } from '../index.js';
import Text from './misc/Text.js';

export default class LiveChat extends YTNode {
Expand Down
Loading
Loading