MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / createNonce

Function createNonce

packages/vscode-extension/extension.js:290–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

288}
289
290function createNonce() {
291 const alphabet =
292 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
293 let value = "";
294 for (let index = 0; index < 32; index += 1) {
295 value += alphabet[Math.floor(Math.random() * alphabet.length)];
296 }
297 return value;
298}
299
300function resolveCliPath(context, configuredPath) {
301 if (configuredPath) {

Callers 1

getWebviewHtmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected