-
Notifications
You must be signed in to change notification settings - Fork 297
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade major dependencies and configure prettier
.
#846
Conversation
.withArgs( | ||
sinon.match( | ||
"https://api.stellar.org/federation?type=name&q=bob%2Astellar.org" | ||
'https://api.stellar.org/federation?type=name&q=bob%2Astellar.org' |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bro you're not supposed to be scanning test/
.withArgs( | ||
sinon.match( | ||
"https://horizon-live.stellar.org:1337/claimable_balances/00000000929b20b72e5890ab51c24f1cc46fa01c4f318d8d33367d24dd614cfdf5491072" | ||
'https://horizon-live.stellar.org:1337/claimable_balances/00000000929b20b72e5890ab51c24f1cc46fa01c4f318d8d33367d24dd614cfdf5491072' |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High
.withArgs( | ||
sinon.match( | ||
"https://horizon-live.stellar.org:1337/claimable_balances?sponsor=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" | ||
'https://horizon-live.stellar.org:1337/claimable_balances?sponsor=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD' |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High
.withArgs( | ||
sinon.match( | ||
"https://horizon-live.stellar.org:1337/claimable_balances?claimant=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" | ||
'https://horizon-live.stellar.org:1337/claimable_balances?claimant=GDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD' |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High
.withArgs( | ||
sinon.match( | ||
"https://horizon-live.stellar.org:1337/claimable_balances?asset=USD%3AGDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD" | ||
'https://horizon-live.stellar.org:1337/claimable_balances?asset=USD%3AGDGQVOKHW4VEJRU2TETD6DBRKEO5ERCNF353LW5WBFW3JJWQ2BRQ6KDD' |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High
@@ -3,10 +3,10 @@ | |||
return JSON.parse(JSON.stringify(js)); | |||
} | |||
|
|||
const BASE_URL = "https://horizon-live.stellar.org:1337"; | |||
const LP_URL = BASE_URL + "/liquidity_pools"; | |||
const BASE_URL = 'https://horizon-live.stellar.org:1337'; |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
This string, which is used as a regular expression
here
.withArgs( | ||
sinon.match( | ||
"https://horizon-live.stellar.org:1337/operations?join=transactions" | ||
'https://horizon-live.stellar.org:1337/operations?join=transactions' |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames High
5af5471
to
96fd526
Compare
Turns out,
yarn fmt
hasn't been affecting TypeScript files.This upgrades
prettier
to its latest major version (v3), it moves the configuration to thepackage.json
file (for convenience and uniformity), and it runsyarn fmt
on the repo.