absidue
46c2f6c6c1
refactor: Import version, bugs URL and repo URL directly from package.json ( #1004 )
2025-09-11 15:49:48 -03:00
github-actions[bot]
0181594530
chore(main): release 15.0.1 ( #1003 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-22 16:59:26 -03:00
absidue
d9eb00544e
chore: Remove unused tslib dependency ( #1001 )
2025-07-21 11:31:50 -03:00
github-actions[bot]
4f916354df
chore(main): release 15.0.0 ( #982 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-18 12:25:06 -03:00
Luan
d134fd2e9e
refactor!: Drop support for CommonJS
2025-07-18 12:01:31 -03:00
Luan
4a4b87afe0
chore: Update esbuild to version 0.25.6
2025-07-18 10:39:08 -03:00
wukko
2196afbc37
chore: update node target to 20 & undici to latest 6.x version ( #985 )
...
* chore: update node target to 20
node 16 & 18 have reached EOL, 20 is the oldest supported LTS version
* chore: update undici to latest 6.x version
this allows for use of https proxies via `EnvHttpProxyAgent` among other useful things
2025-07-18 08:26:38 -03:00
github-actions[bot]
1705470558
chore(main): release 14.0.0 ( #956 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-09 11:44:19 -03:00
github-actions[bot]
a10c6a1c23
chore(main): release 13.4.0 ( #945 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-23 09:33:09 -03:00
Luan
7f1eeb6b5b
fix(Player): Use global var to find signature algorithm ( #953 )
...
* chore: Update jintr to version 3.3.1
* fix(Player): Use global var to find signature algorithm
This change allows matching code such as:
```
// "Y" is the global var.
r = r[Y[14]](Y[19]);
q3[Y[8]](r, 30);
q3[Y[8]](r, 65);
q3[Y[8]](r, 2);
```
TODO:
Maybe consider removing the regex (it's too fragile) and instead use the AST walker, like we already do for `nsig` and the global lookup variable.
2025-04-23 09:28:42 -03:00
github-actions[bot]
9694a48270
chore(main): release 13.3.0 ( #927 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-25 10:07:55 -03:00
Luan
edfd65f5e0
fix(Player): Parse global variable used by nsig/sig ( #935 )
...
To reduce reliance on regex, we'll use an AST walker here.
Tested with the following player scripts:
https://www.youtube.com/s/player/643afba4/player_ias.vflset/en_US/base.js
https://www.youtube.com/s/player/4fcd6e4a/player_ias.vflset/en_US/base.js
https://www.youtube.com/s/player/363db69b/player_ias.vflset/en_US/base.js
2025-03-25 10:01:48 -03:00
github-actions[bot]
1d4024fae5
chore(main): release 13.2.0 ( #910 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-20 07:55:16 -03:00
github-actions[bot]
401b4c3858
chore(main): release 13.1.0 ( #880 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-21 19:15:11 -03:00
Luan
02dfcae612
fix(dependencies): Update jintr to version 3.2.1
2025-02-21 18:13:10 -03:00
github-actions[bot]
0802cb8abd
chore(main): release 13.0.0 ( #843 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-20 16:51:49 -03:00
github-actions[bot]
3ec1609974
chore(main): release 12.2.0 ( #833 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-12 10:32:02 -03:00
Luan
25fd979363
chore(deps): Update jintr
2024-12-12 10:30:45 -03:00
github-actions[bot]
8e97bbc058
chore(main): release 12.1.0 ( #830 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-10 10:10:40 -03:00
github-actions[bot]
eaf6d1ab4e
chore(main): release 12.0.0 ( #790 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-05 20:49:54 -03:00
Luan
478205b9d4
chore: update deps
2024-12-05 20:43:04 -03:00
github-actions[bot]
4ec4be64ee
chore(main): release 11.0.1 ( #788 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-28 16:09:20 -03:00
github-actions[bot]
31d1caf06a
chore(main): release 11.0.0 ( #758 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-28 14:03:08 -03:00
Luan
d9ec23c73c
fix(package): Use jsr:@luanrt/jintr on Deno
2024-10-28 12:54:09 -03:00
Luan
74659fd03f
chore: add proper documentation ( #763 )
...
* chore: generate API ref using `typedoc`
* chore: declutter readme and add links to ytjs.dev
* chore: clean up
2024-09-23 17:32:50 -03:00
github-actions[bot]
00dd409d58
chore(main): release 10.5.0 ( #749 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-19 10:14:46 -03:00
Luan
94bc596048
refactor: Migrate to ts-proto ( #752 )
...
* refactor: Add extracted protos
* refactor: Remove old stuff and update affected code
* chore(package): Update `build:proto` script
* chore(ClientInfo): Rename `androidSdkVersion` to `android_sdk_version`
* chore: remove refs to old proto file
* refactor(sabr_request): Rename `Gw` to `media_type`
* chore(sabr_request): Fix typo in field num
* feat(parser): Parse `video_playback_ustreamer_config` and `server_abr_streaming_url`
* refactor: update protos
* chore(package): streamline clean and build scripts
* chore: update package.json
* chore: update npmignore
* chore(protos): Remove unneeded definitions
See https://github.com/LuanRT/googlevideo for video playback proto definitions.
* chore(package): add `rimraf` dependency
2024-09-16 06:54:29 -03:00
github-actions[bot]
4fca6c354e
chore(main): release 10.4.0 ( #721 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-26 23:41:20 -03:00
Luan
c14a687e65
chore: bump eslint to v9
2024-08-22 15:43:59 -03:00
github-actions[bot]
4f5635ad07
chore(main): release 10.3.0 ( #704 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-01 06:21:32 -03:00
Luan
3b3cf1b2aa
refactor(Player): Generate and parse player script's AST ( #713 )
...
Notes:
- The Syntax Tree is generated by Jinter (which is built on top of `Acorn`).
- While doing this may be slightly slower than using a regular exp, it is much more reliable (plus we already cache the player functions anyway).
2024-08-01 06:09:27 -03:00
github-actions[bot]
1e29019a07
chore(main): release 10.2.0 ( #688 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 10:52:50 -03:00
github-actions[bot]
7d03469e64
chore(main): release 10.1.0 ( #669 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-10 03:44:43 -03:00
absidue
142a7d0428
fix(Player): Fix extracting the n-token decipher algorithm ( #682 )
...
* fix(Player): Fix extracting the n-token decipher algorithm
* fix: bump Jinter to v2
---------
Co-authored-by: Luan <luan.lrt4@gmail.com >
2024-07-10 02:21:39 -03:00
github-actions[bot]
9802483233
chore(main): release 10.0.0 ( #658 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-09 20:43:14 -03:00
Luan
b9d50daa57
chore: clean up
...
Updated deps, fixed some ts issues, renamed "scripts" to "dev-scripts", and added a script to delete build output.
2024-06-03 17:29:11 -03:00
LuanRT
aa3f34c428
chore: Fix browser example
2024-05-23 21:00:47 -03:00
github-actions[bot]
1b00e2c6ce
chore(main): release 9.4.0 ( #644 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-29 09:14:43 -03:00
github-actions[bot]
cd69ce73c1
chore(main): release 9.3.0 ( #635 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-11 18:19:12 -03:00
github-actions[bot]
0c2cdc1599
chore(main): release 9.2.1 ( #632 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 17:42:18 -03:00
dependabot[bot]
d4a938771b
chore(deps): bump undici from 5.28.3 to 5.28.4 ( #627 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 15:02:28 -03:00
github-actions[bot]
5ecfb08772
chore(main): release 9.2.0 ( #611 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-31 11:39:15 -03:00
github-actions[bot]
5fe91d6642
chore(main): release 9.1.0 ( #600 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-22 22:29:37 -03:00
dependabot[bot]
dac5eb712d
chore(deps): bump undici from 5.27.0 to 5.28.3 ( #599 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.27.0 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.27.0...v5.28.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 22:27:47 -03:00
github-actions[bot]
ab7201f0cc
chore(main): release 9.0.2 ( #591 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-31 19:50:59 -03:00
github-actions[bot]
4fb9dff0f2
chore(main): release 9.0.1 ( #588 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-25 21:32:45 -03:00
github-actions[bot]
379e63d2f6
chore(main): release 9.0.0 ( #572 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-25 19:04:29 -03:00
github-actions[bot]
b7cacc34f3
chore(main): release 8.2.0 ( #567 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-08 20:46:30 -03:00
github-actions[bot]
b50408fc1c
chore(main): release 8.1.0 ( #548 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-26 23:24:27 -03:00
github-actions[bot]
572e16c541
chore(main): release 8.0.0 ( #530 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-01 00:54:29 -03:00