Skip to content

Commit d5ec3ff

Browse files
committed
fix: polyfill web streams for backwards compatibility
1 parent ff2af8e commit d5ec3ff

File tree

6 files changed

+238
-192
lines changed

6 files changed

+238
-192
lines changed

dist/actions/setup-cpp.js

Lines changed: 46 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js

Lines changed: 44 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
"typescript": "^5.5.4",
117117
"ubuntu-version": "^2.0.0",
118118
"untildify-user": "workspace:*",
119+
"web-streams-polyfill": "^4.0.0",
119120
"which": "^4.0.0"
120121
},
121122
"productionDependencies": [
@@ -144,7 +145,8 @@
144145
"simple-update-notifier",
145146
"time-delta",
146147
"ubuntu-version",
147-
"untildify-user"
148+
"untildify-user",
149+
"web-streams-polyfill"
148150
],
149151
"engines": {
150152
"node": ">=12.x",
@@ -174,7 +176,8 @@
174176
"patha": "patha/dist/index.node.mjs",
175177
"admina": "admina/dist/index.mjs",
176178
"fs/promises": "./src/utils/compat/fs/promises.ts",
177-
"stream/promises": "./src/utils/compat/stream/promises.ts"
179+
"stream/promises": "./src/utils/compat/stream/promises.ts",
180+
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs"
178181
},
179182
"targets": {
180183
"main": {

0 commit comments

Comments
 (0)