hls.js 1.5.9-0.canary.10223 → 1.5.9-0.canary.10225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hls.mjs CHANGED
@@ -512,7 +512,7 @@ function enableLogs(debugConfig, context, id) {
512
512
  // Some browsers don't allow to use bind on console object anyway
513
513
  // fallback to default if needed
514
514
  try {
515
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.9-0.canary.10223"}`);
515
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.9-0.canary.10225"}`);
516
516
  } catch (e) {
517
517
  /* log fn threw an exception. All logger methods are no-ops. */
518
518
  return createLogger();
@@ -2847,7 +2847,7 @@ const IS_MEDIA_PLAYLIST = /^#EXT(?:INF|-X-TARGETDURATION):/m; // Handle empty Me
2847
2847
 
2848
2848
  const LEVEL_PLAYLIST_REGEX_FAST = new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,
2849
2849
  // duration (#EXTINF:<duration>,<title>), group 1 => duration, group 2 => title
2850
- /(?!#) *(\S[\S ]*)/.source,
2850
+ /(?!#) *(\S[^\r\n]*)/.source,
2851
2851
  // segment URI, group 3 => the URI (note newline is not eaten)
2852
2852
  /#EXT-X-BYTERANGE:*(.+)/.source,
2853
2853
  // next segment's byterange, group 4 => range spec (x@y)
@@ -29021,7 +29021,7 @@ class Hls {
29021
29021
  * Get the video-dev/hls.js package version.
29022
29022
  */
29023
29023
  static get version() {
29024
- return "1.5.9-0.canary.10223";
29024
+ return "1.5.9-0.canary.10225";
29025
29025
  }
29026
29026
 
29027
29027
  /**