Skip to content

Commit eae62fc

Browse files
authored
feat: bump @types/fluent-ffmpeg to v2.1.13 (#63)
* feat: bump @types/fluent-ffmpeg to v2.1.13 * chore(audio-test): update snapshot
1 parent 798480e commit eae62fc

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@semantic-release/github": "^5.4.3",
3939
"@types/aws-lambda": "^8.10.27",
4040
"@types/debug": "^4.1.4",
41-
"@types/fluent-ffmpeg": "^2.1.9",
41+
"@types/fluent-ffmpeg": "^2.1.13",
4242
"@types/fs-extra": "^8.0.0",
4343
"@types/jest": "^24.0.13",
4444
"@types/jest-image-snapshot": "^2.8.0",

src/video.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ export const processVideo = (
7777
videoLogger('Starting to process video');
7878
videoLogger(`Approx. duration of the video - ${song.duration} ms`);
7979

80-
//@ts-ignore
8180
const processChain = ffmpeg(image)
8281
.inputFPS(30)
8382
.loop()
@@ -113,15 +112,19 @@ export const getDescription = (
113112
imageData: IUnsplashResponse
114113
) => `${songTitle}
115114
116-
⭐️ DatSongBot brings you another fresh, new music by ${song.user.username} for you to enjoy!
115+
⭐️ DatSongBot brings you another fresh, new music by ${
116+
song.user.username
117+
} for you to enjoy!
117118
118119
Listen to this song on Soundcloud:
119120
▶️${song.permalink_url}
120121
121122
Follow ${song.user.username} on Soundcloud:
122123
🔉${song.user.permalink_url}
123124
124-
The background image used in this video is provided by ${imageData.user.name} from Unsplash:
125+
The background image used in this video is provided by ${
126+
imageData.user.name
127+
} from Unsplash:
125128
🔗Follow ${imageData.user.name} on Unsplash - ${imageData.user.links.html}
126129
📂Download this background - ${imageData.links.html}
127130

test/__snapshots__/audio.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Object {
1111
"stream_url": "https://api.soundcloud.com/tracks/640194939/stream",
1212
"tag_list": "",
1313
"title": "Wave He גל",
14+
"uri": "https://api.soundcloud.com/tracks/640194939",
1415
"user": Object {
1516
"avatar_url": "https://a1.sndcdn.com/images/default_avatar_large.png",
1617
"id": 655787799,

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,10 +1091,10 @@
10911091
resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7"
10921092
integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==
10931093

1094-
"@types/fluent-ffmpeg@^2.1.9":
1095-
version "2.1.9"
1096-
resolved "https://registry.yarnpkg.com/@types/fluent-ffmpeg/-/fluent-ffmpeg-2.1.9.tgz#260e155b14b1c7f9cdccab7e1600c1f74444f25a"
1097-
integrity sha512-ASkD4gb8FngbTZe8x4iM5bKWmswHYGSuA5A5sauBroIDA7B7Uu7hrk+W7pEUQLG63fR+Zo2iDpSVWyTeoPuwRA==
1094+
"@types/fluent-ffmpeg@^2.1.13":
1095+
version "2.1.13"
1096+
resolved "https://registry.yarnpkg.com/@types/fluent-ffmpeg/-/fluent-ffmpeg-2.1.13.tgz#bfffbcf298b0980924e9ba9aa471aba234626afb"
1097+
integrity sha512-hg87ZQb9WVcNGQHNhrYwWJM0ARNYbQbLGh1c6CfPl55/I+BH5UTpFJAr5aZWYGbl8BFVY82oF5iG4I+Ra3btiQ==
10981098
dependencies:
10991099
"@types/node" "*"
11001100

0 commit comments

Comments
 (0)