question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.5.0 Version updates Break Some Features on Safari

See original GitHub issue

Issue:

After updating this package to the latest 2.5.0 version within our team’s app, the functionality we had around audio files being uploaded was completely broken on Safari alone. All other browsers were unaffected by the update

Looking at the changelog, looks like the issue might be within the return of the parseBlob function:

if (blob instanceof File) {
  fileInfo.path = (blob as File).name;
}

return parseReadableStream(blob.stream(), {.....);

That switching of the blob from being a Uint8Array to a ReadableStream comes with an issue with the Default Reader of the ReadableStream -> https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader

Within the readable-web-to-node-stream package, the class constructor calls the ReadableStream.getReader() method, which returns the ReadableStreamDefaultReader that Safari has issues with ->

https://github.com/Borewit/readable-web-to-node-stream/blob/e81a7c91b1fa73cb11dc50bac41a9f033e0d030e/lib/index.ts#L27

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kawka-maciejcommented, Jan 17, 2022

Works well on Safari Version 13.1.3 (15609.4.1).

0reactions
Borewitcommented, Jan 15, 2022

Please confirm compatibility with older Safari browsers is restored in v2.5.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Safari Technology Preview Release Notes - Apple Developer
Updates to Safari Technology Preview are no longer available for macOS Big Sur. If you already have Safari Technology Preview installed, you can...
Read more >
[web] Rendering issues and crash with iOS15's Safari ... - GitHub
As of now, the stable version of Safari for Flutter Web is 14.1.2 (WebKit ... which also break some games in the link...
Read more >
pfSense® Plus software version 21.02 and pfSense ...
5-p1 and older can upgrade in-place automatically to pfSense Plus software version 21.02 as with any other previous upgrade. In this version, ...
Read more >
Beyond - release notes - Troop Themes Support
... Fixed logo resolution on some non-retina devices; Fixed rare instances of grid layouts breaking in Safari. Version 2.5.0 - June 21 2022....
Read more >
Pieces Web Extensions 2.4.0: Improved popover menu, single ...
With this release, we're emphasizing a smooth user experience across any site, for any user. This update includes updates to the extension ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found