File tree Expand file tree Collapse file tree 8 files changed +171
-167
lines changed
Expand file tree Collapse file tree 8 files changed +171
-167
lines changed Original file line number Diff line number Diff line change 105105 "@bufbuild/protobuf" : " ^2.0.0" ,
106106 "meriyah" : " ^6.1.4"
107107 },
108- "overrides" : {
109- "typescript" : " ^5.0.0"
110- },
111108 "devDependencies" : {
112- "@eslint/js" : " ^9.9 .0" ,
109+ "@eslint/js" : " ^9.37 .0" ,
113110 "@types/estree" : " ^1.0.6" ,
114111 "@types/glob" : " ^8.1.0" ,
115112 "@types/node" : " ^24.0.14" ,
113+ "@typescript-eslint/eslint-plugin" : " ^8.46.0" ,
114+ "@typescript-eslint/parser" : " ^8.46.0" ,
116115 "cpy-cli" : " ^4.2.0" ,
117116 "esbuild" : " ^0.25.6" ,
118- "eslint" : " ^9.9 .0" ,
117+ "eslint" : " ^9.37 .0" ,
119118 "globals" : " ^16.4.0" ,
120119 "replace" : " ^1.2.2" ,
121120 "rimraf" : " ^6.0.1" ,
122121 "ts-patch" : " ^3.0.2" ,
123122 "ts-proto" : " ^2.2.0" ,
124123 "typedoc" : " ^0.28.14" ,
125124 "typedoc-plugin-markdown" : " ^4.9.0" ,
126- "typescript" : " ^5.0.0 " ,
127- "typescript-eslint" : " ^8.2 .0" ,
125+ "typescript" : " ^5.9.3 " ,
126+ "typescript-eslint" : " ^8.46 .0" ,
128127 "vitest" : " ^3.2.4"
129128 },
130129 "bugs" : {
142141 " downloader" ,
143142 " ytmusic"
144143 ]
145- }
144+ }
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ import type { RawNode } from '../types/index.js';
44export default class CompositeVideoPrimaryInfo extends YTNode {
55 static type = 'CompositeVideoPrimaryInfo' ;
66
7- // eslint-disable-next-line @typescript-eslint/no-unused-vars
8- constructor ( data : RawNode ) {
7+ constructor ( _data : RawNode ) {
98 super ( ) ;
109 }
1110}
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import type { RawNode } from '../../index.js';
44export default class MusicMenuItemDivider extends YTNode {
55 static type = 'MusicMenuItemDivider' ;
66
7- // eslint-disable-next-line
87 constructor ( _data : RawNode ) {
98 super ( ) ;
109 // XXX: Should check if this ever has any data.
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ export * as YTKids from './ytkids/index.js';
77export * as YTShorts from './ytshorts/index.js' ;
88export * as Helpers from './helpers.js' ;
99export * as Generator from './generator.js' ;
10- export * as APIResponseTypes from './types/index.js' ;
10+ export type * as APIResponseTypes from './types/index.js' ;
1111export * from './continuations.js' ;
1212
1313// @TODO : Remove this when files are updated to use APIResponseTypes or /types/index.js directly.
14- export * from './types/index.js' ;
14+ export type * from './types/index.js' ;
Original file line number Diff line number Diff line change 1- export * from './RawResponse.js' ;
2- export * from './ParsedResponse.js' ;
3- export * from './CommandEndpoints.js' ;
1+ export type * from './RawResponse.js' ;
2+ export type * from './ParsedResponse.js' ;
3+ export type * from './CommandEndpoints.js' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import Innertube from '../Innertube.js';
22
33export * from '../core/index.js' ;
44export * from '../parser/index.js' ;
5- export * as Types from '../types/index.js' ;
5+ export type * as Types from '../types/index.js' ;
66export * from '../utils/index.js' ;
77
88export * from '../Innertube.js' ;
Original file line number Diff line number Diff line change 11export type { default as PlatformShim } from './PlatformShim.js' ;
22
3- export * from './Cache.js' ;
4- export * from './PlatformShim.js' ;
5- export * from './Misc.js' ;
6- export * from './FormatUtils.js' ;
7- export * from './GetVideoInfoOptions.js' ;
3+ export type * from './Cache.js' ;
4+ export type * from './PlatformShim.js' ;
5+ export type * from './Misc.js' ;
6+ export type * from './FormatUtils.js' ;
7+ export type * from './GetVideoInfoOptions.js' ;
88export type * from '../utils/javascript/JsAnalyzer.js' ;
99export type * from '../utils/javascript/JsExtractor.js' ;
You can’t perform that action at this time.
0 commit comments