Skip to content

Commit a993cd6

Browse files
committed
fix: polyfill diagnostics_channel for backwards compatibility
1 parent 36e7f44 commit a993cd6

File tree

6 files changed

+61
-49
lines changed

6 files changed

+61
-49
lines changed

dist/actions/setup-cpp.js

Lines changed: 22 additions & 22 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: 23 additions & 23 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
@@ -79,6 +79,7 @@
7979
"cross-env": "7.0.3",
8080
"cross-spawn": "^7.0.3",
8181
"cspell": "^8.13.1",
82+
"diagnostics_channel": "^1.1.0",
8283
"dprint": "^0.47.2",
8384
"escape-path-with-spaces": "^1.0.2",
8485
"escape-quotes": "^1.0.2",
@@ -148,7 +149,8 @@
148149
"ubuntu-version",
149150
"untildify-user",
150151
"web-streams-polyfill",
151-
"util.types"
152+
"util.types",
153+
"diagnostics_channel"
152154
],
153155
"engines": {
154156
"node": ">=12.x",
@@ -180,7 +182,8 @@
180182
"fs/promises": "./src/utils/compat/fs/promises.ts",
181183
"stream/promises": "./src/utils/compat/stream/promises.ts",
182184
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs",
183-
"util/types": "util.types/index.js"
185+
"util/types": "util.types/index.js",
186+
"diagnostics_channel": "diagnostics_channel/index.js"
184187
},
185188
"targets": {
186189
"main": {

pnpm-lock.yaml

Lines changed: 9 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)