Skip to content

Commit 561aede

Browse files
committed
remove Safari CompressionStream workaround (Webkit 254021 fixed more than a year ago)
1 parent e6e7c08 commit 561aede

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "armarius-io",
3-
"version": "1.2.2",
3+
"version": "1.2.3",
44
"description": "IO and compression library for Armarius",
55
"repository": "github:aternosorg/armarius-io",
66
"type": "module",

src/DataProcessor/Native/NativeStreamDataProcessor.js

-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ export default class NativeStreamDataProcessor extends AbstractDataProcessor {
1212
*/
1313
static isSupported() {
1414
if (this.supported === null) {
15-
if (typeof navigator !== 'undefined' && navigator.userAgent &&
16-
/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
17-
this.supported = false;
18-
return this.supported;
19-
}
20-
2115
try {
2216
// noinspection JSUnresolvedFunction
2317
new CompressionStream('deflate-raw');

0 commit comments

Comments
 (0)