4.0.0
What's Changed
- Fix CJS export by @radiovisual in #109
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