Skip to content

Conversation

@0xdeafcafe
Copy link
Member

  • improved crpc/squawk
  • improved json-client
  • imported crpc
  • updated json-client to support timeouts

@0xdeafcafe 0xdeafcafe added enhancement New feature or request dependencies Pull requests that update a dependency file chore A real ugh labels Jul 15, 2022
};

export default function jsonClient(baseUrl: string, baseOptions?: RequestOptions) {
const safeBaseUrl = baseUrl.replace(/\/*$/, '/');

Check failure

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data

This [regular expression](1) that depends on [library input](2) may run slow on strings with many repetitions of '/'. This [regular expression](1) that depends on [library input](3) may run slow on strings with many repetitions of '/'.
@0xdeafcafe 0xdeafcafe merged commit e3a7cab into master Jul 15, 2022
@0xdeafcafe 0xdeafcafe deleted the chore/package-migration branch July 15, 2022 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A real ugh dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

Status: Waiting Release

Development

Successfully merging this pull request may close these issues.

2 participants