- Notifications
You must be signed in to change notification settings - Fork3.9k
Use Prettier to format samples#1203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| lines[index]=makeKeyFirebaseCompatible(`"${line.replace(":",'":{')}`); | ||
| }else{ | ||
| constsplit=line.replace('"','\\"').split(': '); | ||
| constsplit=line.replace('"','\\"').split(": "); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
| varurl=snapshot.metadata.downloadURLs[0]; | ||
| console.log("File available at",url); | ||
| this.linkContainer.innerHTML= | ||
| '<a href="'+url+'">/'+filePath+"</a>"; |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML Medium
DOM text
Uh oh!
There was an error while loading.Please reload this page.
DOM text
Uh oh!
There was an error while loading.Please reload this page.
| for(leti=0;i<tracers.length;i++){ | ||
| ray(Math.round(27/tracers[i]),81,ctx,{x:243,y:0}); | ||
| constctx=canvas.getContext("2d"); | ||
| for(leti=0;i<tracers.length;i++){ |
Check failure
Code scanning / CodeQL
Loop bound injection High
user-provided value
Uh oh!
There was an error while loading.Please reload this page.
| functions.logger.error('Error minting token.',err); | ||
| res.status(500).send('Error minting token.'); | ||
| } | ||
| app.get("/firebaseCustomToken",[cors,oktaAuth],async(req,res)=>{ |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
Uh oh!
There was an error while loading.Please reload this page.
| } | ||
| // [START v1domainHttpsError] | ||
| // Only users of a specific domain can sign up. | ||
| if(!email.includes("acme.com")){ |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization High
acme.com
Uh oh!
There was an error while loading.Please reload this page.
| projectId:'my-project', | ||
| databaseURL:'https://my-project.firebaseio.com' | ||
| projectId:"my-project", | ||
| databaseURL:"https://my-project.firebaseio.com", |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High test
here
Uh oh!
There was an error while loading.Please reload this page.
No description provided.