Skip to content

Commit

Permalink
fix: polyfill diagnostics_channel for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 7, 2024
1 parent 36e7f44 commit 3acf10d
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 49 deletions.
44 changes: 22 additions & 22 deletions dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"cross-env": "7.0.3",
"cross-spawn": "^7.0.3",
"cspell": "^8.13.1",
"diagnostics_channel": "^1.1.0",
"dprint": "^0.47.2",
"escape-path-with-spaces": "^1.0.2",
"escape-quotes": "^1.0.2",
Expand Down Expand Up @@ -148,7 +149,8 @@
"ubuntu-version",
"untildify-user",
"web-streams-polyfill",
"util.types"
"util.types",
"diagnostics_channel"
],
"engines": {
"node": ">=12.x",
Expand Down Expand Up @@ -180,7 +182,8 @@
"fs/promises": "./src/utils/compat/fs/promises.ts",
"stream/promises": "./src/utils/compat/stream/promises.ts",
"stream/web": "web-streams-polyfill/dist/ponyfill.mjs",
"util/types": "util.types/index.js"
"util/types": "util.types/index.js",
"diagnostics_channel": "diagnostics_channel/index.js"
},
"targets": {
"main": {
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3acf10d

Please sign in to comment.