mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
refactor(Player)!: Use AST-based JS extraction with side-effect safe code emission (#1052)
* chore(deps): Add `meriyah` * feat(utils): Implement AST-based JS extractors * chore(utils): Remove old ast walker code * fix(Player): Migrate js extraction logic * chore(JsExtractor): Fix typo in tsdoc * perf(JsAnalyzer): Simplify main AST analysis logic * fix(JsAnalyzer): Change `break` to `return` in AST matching logic * chore: Update docs * chore: Don't export `PlayerInitializationOptions` * chore(evaluate): Update error message to include doc link * perf: Use a `for-loop` to find iife
This commit is contained in:
@@ -20,7 +20,7 @@ A wrapper class that provides type-safe access to a value.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:67](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L67)
|
||||
[src/parser/helpers.ts:67](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L67)
|
||||
|
||||
## Accessors
|
||||
|
||||
@@ -34,7 +34,7 @@ A wrapper class that provides type-safe access to a value.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:82](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L82)
|
||||
[src/parser/helpers.ts:82](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L82)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -52,7 +52,7 @@ This call is not meant to be used outside of debugging. Please use the specific
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:278](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L278)
|
||||
[src/parser/helpers.ts:278](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L278)
|
||||
|
||||
***
|
||||
|
||||
@@ -74,7 +74,7 @@ If the value is not an array.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:166](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L166)
|
||||
[src/parser/helpers.ts:166](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L166)
|
||||
|
||||
***
|
||||
|
||||
@@ -96,7 +96,7 @@ If the value is not an array
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:178](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L178)
|
||||
[src/parser/helpers.ts:178](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L178)
|
||||
|
||||
***
|
||||
|
||||
@@ -110,7 +110,7 @@ If the value is not an array
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:102](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L102)
|
||||
[src/parser/helpers.ts:102](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L102)
|
||||
|
||||
***
|
||||
|
||||
@@ -124,7 +124,7 @@ If the value is not an array
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:110](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L110)
|
||||
[src/parser/helpers.ts:110](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L110)
|
||||
|
||||
***
|
||||
|
||||
@@ -138,7 +138,7 @@ If the value is not an array
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:153](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L153)
|
||||
[src/parser/helpers.ts:153](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L153)
|
||||
|
||||
***
|
||||
|
||||
@@ -170,7 +170,7 @@ If the node is not of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:289](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L289)
|
||||
[src/parser/helpers.ts:289](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L289)
|
||||
|
||||
***
|
||||
|
||||
@@ -188,7 +188,7 @@ whether the value is an array.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:194](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L194)
|
||||
[src/parser/helpers.ts:194](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L194)
|
||||
|
||||
***
|
||||
|
||||
@@ -202,7 +202,7 @@ whether the value is an array.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:106](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L106)
|
||||
[src/parser/helpers.ts:106](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L106)
|
||||
|
||||
***
|
||||
|
||||
@@ -216,7 +216,7 @@ whether the value is an array.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:114](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L114)
|
||||
[src/parser/helpers.ts:114](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L114)
|
||||
|
||||
***
|
||||
|
||||
@@ -230,7 +230,7 @@ whether the value is an array.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:157](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L157)
|
||||
[src/parser/helpers.ts:157](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L157)
|
||||
|
||||
***
|
||||
|
||||
@@ -258,7 +258,7 @@ Whether the node is an instance of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:301](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L301)
|
||||
[src/parser/helpers.ts:301](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L301)
|
||||
|
||||
***
|
||||
|
||||
@@ -276,7 +276,7 @@ Whether the value is a YTNode.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:214](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L214)
|
||||
[src/parser/helpers.ts:214](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L214)
|
||||
|
||||
***
|
||||
|
||||
@@ -306,7 +306,7 @@ Whether the value is a YTNode of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:233](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L233)
|
||||
[src/parser/helpers.ts:233](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L233)
|
||||
|
||||
***
|
||||
|
||||
@@ -320,7 +320,7 @@ Whether the value is a YTNode of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:140](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L140)
|
||||
[src/parser/helpers.ts:140](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L140)
|
||||
|
||||
***
|
||||
|
||||
@@ -334,7 +334,7 @@ Whether the value is a YTNode of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:98](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L98)
|
||||
[src/parser/helpers.ts:98](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L98)
|
||||
|
||||
***
|
||||
|
||||
@@ -348,7 +348,7 @@ Whether the value is a YTNode of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:148](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L148)
|
||||
[src/parser/helpers.ts:148](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L148)
|
||||
|
||||
***
|
||||
|
||||
@@ -364,7 +364,7 @@ Check if the value is an ObservedArray.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:251](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L251)
|
||||
[src/parser/helpers.ts:251](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L251)
|
||||
|
||||
***
|
||||
|
||||
@@ -380,7 +380,7 @@ Is the result a SuperParsedResult?
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:270](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L270)
|
||||
[src/parser/helpers.ts:270](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L270)
|
||||
|
||||
***
|
||||
|
||||
@@ -394,7 +394,7 @@ Is the result a SuperParsedResult?
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:90](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L90)
|
||||
[src/parser/helpers.ts:90](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L90)
|
||||
|
||||
***
|
||||
|
||||
@@ -408,7 +408,7 @@ Is the result a SuperParsedResult?
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:122](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L122)
|
||||
[src/parser/helpers.ts:122](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L122)
|
||||
|
||||
***
|
||||
|
||||
@@ -422,7 +422,7 @@ Is the result a SuperParsedResult?
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:130](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L130)
|
||||
[src/parser/helpers.ts:130](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L130)
|
||||
|
||||
***
|
||||
|
||||
@@ -444,7 +444,7 @@ If the value is not a YTNode.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:203](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L203)
|
||||
[src/parser/helpers.ts:203](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L203)
|
||||
|
||||
***
|
||||
|
||||
@@ -478,7 +478,7 @@ If the node is not of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:224](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L224)
|
||||
[src/parser/helpers.ts:224](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L224)
|
||||
|
||||
***
|
||||
|
||||
@@ -492,7 +492,7 @@ If the node is not of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:134](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L134)
|
||||
[src/parser/helpers.ts:134](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L134)
|
||||
|
||||
***
|
||||
|
||||
@@ -506,7 +506,7 @@ If the node is not of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:94](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L94)
|
||||
[src/parser/helpers.ts:94](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L94)
|
||||
|
||||
***
|
||||
|
||||
@@ -520,7 +520,7 @@ If the node is not of the given type.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:144](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L144)
|
||||
[src/parser/helpers.ts:144](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L144)
|
||||
|
||||
***
|
||||
|
||||
@@ -538,7 +538,7 @@ the value of the Maybe as a ObservedArray.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:241](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L241)
|
||||
[src/parser/helpers.ts:241](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L241)
|
||||
|
||||
***
|
||||
|
||||
@@ -560,7 +560,7 @@ If the value is not a SuperParsedResult.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:260](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L260)
|
||||
[src/parser/helpers.ts:260](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L260)
|
||||
|
||||
***
|
||||
|
||||
@@ -574,7 +574,7 @@ If the value is not a SuperParsedResult.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:86](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L86)
|
||||
[src/parser/helpers.ts:86](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L86)
|
||||
|
||||
***
|
||||
|
||||
@@ -588,7 +588,7 @@ If the value is not a SuperParsedResult.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:118](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L118)
|
||||
[src/parser/helpers.ts:118](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L118)
|
||||
|
||||
***
|
||||
|
||||
@@ -602,4 +602,4 @@ If the value is not a SuperParsedResult.
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:126](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L126)
|
||||
[src/parser/helpers.ts:126](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L126)
|
||||
|
||||
@@ -248,7 +248,7 @@ node\_modules/typescript/lib/lib.es2015.collection.d.ts:33
|
||||
|
||||
##### Defined in
|
||||
|
||||
[src/parser/helpers.ts:503](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L503)
|
||||
[src/parser/helpers.ts:503](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L503)
|
||||
|
||||
#### getType(types)
|
||||
|
||||
@@ -270,7 +270,7 @@ node\_modules/typescript/lib/lib.es2015.collection.d.ts:33
|
||||
|
||||
##### Defined in
|
||||
|
||||
[src/parser/helpers.ts:504](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L504)
|
||||
[src/parser/helpers.ts:504](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L504)
|
||||
|
||||
***
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ Represents a parsed response in an unknown state. Either a YTNode or a YTNode[]
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:321](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L321)
|
||||
[src/parser/helpers.ts:321](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L321)
|
||||
|
||||
## Accessors
|
||||
|
||||
@@ -38,7 +38,7 @@ Represents a parsed response in an unknown state. Either a YTNode or a YTNode[]
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:328](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L328)
|
||||
[src/parser/helpers.ts:328](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L328)
|
||||
|
||||
***
|
||||
|
||||
@@ -52,7 +52,7 @@ Represents a parsed response in an unknown state. Either a YTNode or a YTNode[]
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:331](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L331)
|
||||
[src/parser/helpers.ts:331](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L331)
|
||||
|
||||
***
|
||||
|
||||
@@ -66,7 +66,7 @@ Represents a parsed response in an unknown state. Either a YTNode or a YTNode[]
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:325](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L325)
|
||||
[src/parser/helpers.ts:325](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L325)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -80,7 +80,7 @@ Represents a parsed response in an unknown state. Either a YTNode or a YTNode[]
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:335](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L335)
|
||||
[src/parser/helpers.ts:335](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L335)
|
||||
|
||||
***
|
||||
|
||||
@@ -94,4 +94,4 @@ Represents a parsed response in an unknown state. Either a YTNode or a YTNode[]
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:342](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L342)
|
||||
[src/parser/helpers.ts:342](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L342)
|
||||
|
||||
@@ -219,6 +219,8 @@
|
||||
- [`ItemSectionTabbedHeader`](../../YTNodes/classes/ItemSectionTabbedHeader.md)
|
||||
- [`LikeButton`](../../YTNodes/classes/LikeButton.md)
|
||||
- [`LikeButtonView`](../../YTNodes/classes/LikeButtonView.md)
|
||||
- [`ListItemView`](../../YTNodes/classes/ListItemView.md)
|
||||
- [`ListView`](../../YTNodes/classes/ListView.md)
|
||||
- [`LiveChat`](../../YTNodes/classes/LiveChat.md)
|
||||
- [`AddBannerToLiveChatCommand`](../../YTNodes/classes/AddBannerToLiveChatCommand.md)
|
||||
- [`AddChatItemAction`](../../YTNodes/classes/AddChatItemAction.md)
|
||||
@@ -447,6 +449,7 @@
|
||||
- [`SubFeedOption`](../../YTNodes/classes/SubFeedOption.md)
|
||||
- [`SubFeedSelector`](../../YTNodes/classes/SubFeedSelector.md)
|
||||
- [`SubscribeButton`](../../YTNodes/classes/SubscribeButton.md)
|
||||
- [`SubscribeButtonView`](../../YTNodes/classes/SubscribeButtonView.md)
|
||||
- [`SubscriptionNotificationToggleButton`](../../YTNodes/classes/SubscriptionNotificationToggleButton.md)
|
||||
- [`Tab`](../../YTNodes/classes/Tab.md)
|
||||
- [`Tabbed`](../../YTNodes/classes/Tabbed.md)
|
||||
@@ -551,7 +554,7 @@
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:10](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L10)
|
||||
[src/parser/helpers.ts:10](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L10)
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -561,7 +564,7 @@
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L8)
|
||||
[src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L8)
|
||||
|
||||
***
|
||||
|
||||
@@ -571,7 +574,7 @@
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L7)
|
||||
[src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L7)
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -605,7 +608,7 @@ If the node is not of the given type
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L29)
|
||||
[src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L29)
|
||||
|
||||
***
|
||||
|
||||
@@ -635,7 +638,7 @@ Whether the node has the key
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L41)
|
||||
[src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L41)
|
||||
|
||||
***
|
||||
|
||||
@@ -665,7 +668,7 @@ whether the node is of the given type
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L19)
|
||||
[src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L19)
|
||||
|
||||
***
|
||||
|
||||
@@ -699,4 +702,4 @@ If the node does not have the key
|
||||
|
||||
#### Defined in
|
||||
|
||||
[src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/parser/helpers.ts#L51)
|
||||
[src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/af92984523f90200a18314b94478a2697c9deab0/src/parser/helpers.ts#L51)
|
||||
|
||||
Reference in New Issue
Block a user