Skip to content

4.0.0

Compare
Choose a tag to compare
@radiovisual radiovisual released this 18 Feb 22:02
· 32 commits to master since this release
eafa37e

What's Changed

⚠️ Breaking Changes

Since get-video-id v4, the module will return undefined instead of null when a service or video id cannot be identified.

So in versions < 4, you would get null:

const getVideoId('https://some-url-without-video-id');
// => { service: null, id: null }

But now in v4+, you will get:

const getVideoId('https://some-url-without-video-id');
// => { service: undefined, id: undefined }

Full Changelog: 3.7.0...4.0.0