Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6eadc0b

Browse filesBrowse files
authored
Merge pull request #368 from aminya/crypto-randomuuid
fix: add polyfil for crypto.randomuuid
2 parents 65cf4fe + 6cb9980 commit 6eadc0b
Copy full SHA for 6eadc0b

15 files changed

+31
-12
lines changed

‎dist/legacy/assets/actions_python-C_JQxe9D.js renamed to ‎dist/legacy/assets/actions_python-DAJt9Mk_.js

Copy file name to clipboardExpand all lines: dist/legacy/assets/actions_python-DAJt9Mk_.js
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/legacy/assets/actions_python-C_JQxe9D.js.map renamed to ‎dist/legacy/assets/actions_python-DAJt9Mk_.js.map

Copy file name to clipboardExpand all lines: dist/legacy/assets/actions_python-DAJt9Mk_.js.map
+1-1Lines 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/assets/proxy-agent-C54PwHVe.js

Copy file name to clipboardExpand all lines: dist/legacy/assets/proxy-agent-C54PwHVe.js
+2Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/legacy/assets/proxy-agent-i1y8grEI.js.map renamed to ‎dist/legacy/assets/proxy-agent-C54PwHVe.js.map

Copy file name to clipboardExpand all lines: dist/legacy/assets/proxy-agent-C54PwHVe.js.map
+1-1Lines 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/assets/proxy-agent-i1y8grEI.js

Copy file name to clipboardExpand all lines: dist/legacy/assets/proxy-agent-i1y8grEI.js
-2Lines changed: 0 additions & 2 deletions
This file was deleted.

‎dist/legacy/setup-cpp.js

Copy file name to clipboardExpand all lines: dist/legacy/setup-cpp.js
+1-1Lines 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.map

Copy file name to clipboardExpand all lines: dist/legacy/setup-cpp.js.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/modern/setup-cpp.mjs

Copy file name to clipboardExpand all lines: dist/modern/setup-cpp.mjs
+1-1Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎dist/modern/setup-cpp.mjs.map

Copy file name to clipboardExpand all lines: dist/modern/setup-cpp.mjs.map
+1-1Lines 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

Copy file name to clipboardExpand all lines: package.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
"patha": "^0.4.1",
129129
"prettier": "3.5.3",
130130
"prettier-config-atomic": "^4.0.0",
131+
"randomuuid-polyfill": "^1.0.2",
131132
"readme-md-generator": "^1.0.0",
132133
"retry-as-promised": "^7.1.1",
133134
"rollup": "^4.34.9",

‎pnpm-lock.yaml

Copy file name to clipboardExpand all lines: pnpm-lock.yaml
+8Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/llvm/llvm_brew_installer.ts

Copy file name to clipboardExpand all lines: src/llvm/llvm_brew_installer.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { warning } from "ci-log"
1+
import { info } from "ci-log"
22
import { addPath } from "envosman"
33
import { installBrewPack } from "setup-brew"
44
import { rcOptions } from "../cli-options.ts"
@@ -12,7 +12,7 @@ export async function trySetupLLVMBrew(version: string, _setupDir: string, _arch
1212
try {
1313
return await setupLLVMBrew(version, _setupDir, _arch)
1414
} catch (err) {
15-
warning(`Failed to install llvm via brew: ${err}`)
15+
info(`Failed to install llvm via brew: ${err}`)
1616
return undefined
1717
}
1818
}

‎src/utils/compat/crypto/index.ts

Copy file name to clipboard
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// eslint-disable-next-line node/no-deprecated-api
2+
export * from "crypto"
3+
import * as crypto from "crypto"
4+
export default crypto
5+
6+
export { randomUUID } from "randomuuid-polyfill"

‎src/utils/compat/crypto/type.d.ts

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare module "randomuuid-polyfill" {
2+
export function randomUUID(): string
3+
}

‎vite.config.mts

Copy file name to clipboardExpand all lines: vite.config.mts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const viteConfig = defineConfig({
3333
"util/types": "util.types/index.js",
3434
"timers/promises": "timers-browserify",
3535
diagnostics_channel: "diagnostics_channel/index.js",
36+
crypto: "./src/utils/compat/crypto/index.ts",
3637
}
3738
: {}),
3839
},

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.