From fa25c9ca55164229efba4a3a118774dcfd44e4d4 Mon Sep 17 00:00:00 2001 From: TimeForANinja Date: Sat, 5 Mar 2022 04:49:40 +0100 Subject: [PATCH 1/3] bump engine to node >= 12 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aed76e3..7e5a6ea 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "nyc": "15.0.1" }, "engines": { - "node": ">=10" + "node": ">=12" }, "license": "MIT" } From cf67cec2120bcb17ea6ffecde4075b4fbd13d110 Mon Sep 17 00:00:00 2001 From: TimeForANinja Date: Sat, 5 Mar 2022 04:50:24 +0100 Subject: [PATCH 2/3] update versions in workflows --- .github/workflows/nodejs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2e197c6..67e2125 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -8,14 +8,14 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [10.x, 12.x, 13.x] + node-version: [12.x, 14.x, 16.x] os: [ubuntu-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} @@ -25,6 +25,6 @@ jobs: npm run build --if-present npm test - - uses: codecov/codecov-action@v1.0.3 + - uses: codecov/codecov-action@v2 with: token: ${{ secrets.CODECOV_TOKEN }} From e84abcac27decc57f98e3773b1730072524d347a Mon Sep 17 00:00:00 2001 From: TimeForANinja Date: Sat, 5 Mar 2022 04:51:16 +0100 Subject: [PATCH 3/3] fix filename tags --- bin/ytdl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ytdl.js b/bin/ytdl.js index 7a38be4..034754c 100755 --- a/bin/ytdl.js +++ b/bin/ytdl.js @@ -288,7 +288,7 @@ if (opts.infoJson) { return; } - output = util.tmpl(output, [info, format]); + output = util.tmpl(output, [info, format, info.videoDetails]); if (!ext && format.container) { output += '.' + format.container; }