@gjsify/web-streams 0.4.23 → 0.4.25
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ByteLengthQueuingStrategy as e,CountQueuingStrategy as t}from"../index.js";globalThis.ByteLengthQueuingStrategy===void 0&&(
|
|
1
|
+
import{ByteLengthQueuingStrategy as e,CountQueuingStrategy as t}from"../index.js";const n=globalThis;globalThis.ByteLengthQueuingStrategy===void 0&&(n.ByteLengthQueuingStrategy=e),globalThis.CountQueuingStrategy===void 0&&(n.CountQueuingStrategy=t);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{TextDecoderStream as e,TextEncoderStream as t}from"../index.js";globalThis.TextEncoderStream===void 0&&(
|
|
1
|
+
import{TextDecoderStream as e,TextEncoderStream as t}from"../index.js";const n=globalThis;globalThis.TextEncoderStream===void 0&&(n.TextEncoderStream=t),globalThis.TextDecoderStream===void 0&&(n.TextDecoderStream=e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../_virtual/_rolldown/runtime.js";import{TransformStream as e}from"../index.js";function isNativeStreamUsable(e,t){try{return typeof e==`function`?typeof e.prototype[t]==`function`:!1}catch{return!1}}isNativeStreamUsable(globalThis.TransformStream,`readable`)
|
|
1
|
+
import"../_virtual/_rolldown/runtime.js";import{TransformStream as e}from"../index.js";function isNativeStreamUsable(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}if(!isNativeStreamUsable(globalThis.TransformStream,`readable`)){let t=globalThis;t.TransformStream=e}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../_virtual/_rolldown/runtime.js";import{WritableStream as e}from"../index.js";function isNativeStreamUsable(e,t){try{return typeof e==`function`?typeof e.prototype[t]==`function`:!1}catch{return!1}}isNativeStreamUsable(globalThis.WritableStream,`getWriter`)
|
|
1
|
+
import"../_virtual/_rolldown/runtime.js";import{WritableStream as e}from"../index.js";function isNativeStreamUsable(e,t){try{return typeof e==`function`?typeof e.prototype?.[t]==`function`:!1}catch{return!1}}if(!isNativeStreamUsable(globalThis.WritableStream,`getWriter`)){let t=globalThis;t.WritableStream=e}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/web-streams",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.25",
|
|
4
4
|
"description": "WHATWG Streams API (ReadableStream, WritableStream, TransformStream) for GJS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"transform"
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@gjsify/utils": "^0.4.
|
|
65
|
+
"@gjsify/utils": "^0.4.25"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@gjsify/cli": "^0.4.
|
|
69
|
-
"@gjsify/unit": "^0.4.
|
|
68
|
+
"@gjsify/cli": "^0.4.25",
|
|
69
|
+
"@gjsify/unit": "^0.4.25",
|
|
70
70
|
"@types/node": "^25.9.1",
|
|
71
71
|
"typescript": "^6.0.3"
|
|
72
72
|
}
|