Skip to content

Commit 36e7f44

Browse files
committed
fix: polyfill util/types for backwards compatibility
1 parent d5ec3ff commit 36e7f44

File tree

6 files changed

+65
-52
lines changed

6 files changed

+65
-52
lines changed

dist/actions/setup-cpp.js

Lines changed: 24 additions & 24 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: 24 additions & 24 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+
"util.types": "^0.0.2",
119120
"web-streams-polyfill": "^4.0.0",
120121
"which": "^4.0.0"
121122
},
@@ -146,7 +147,8 @@
146147
"time-delta",
147148
"ubuntu-version",
148149
"untildify-user",
149-
"web-streams-polyfill"
150+
"web-streams-polyfill",
151+
"util.types"
150152
],
151153
"engines": {
152154
"node": ">=12.x",
@@ -177,7 +179,8 @@
177179
"admina": "admina/dist/index.mjs",
178180
"fs/promises": "./src/utils/compat/fs/promises.ts",
179181
"stream/promises": "./src/utils/compat/stream/promises.ts",
180-
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs"
182+
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs",
183+
"util/types": "util.types/index.js"
181184
},
182185
"targets": {
183186
"main": {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)