Skip to content

Commit

Permalink
Bump prettier from 1.19.1 to 3.4.2 (#363)
Browse files Browse the repository at this point in the history
* Bump prettier from 1.19.1 to 3.4.2

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 3.4.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@1.19.1...3.4.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump eslint-plugin-prettier to v5.2.1, apply the new formatting (#380)

* Bump eslint-plugin-prettier to v5.2.1

* Run CI

* Apply new prettier version's formatting, update package-lock

* Revert "Run CI"

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefan Kieszkowski <[email protected]>
  • Loading branch information
dependabot[bot] and stefankiesz authored Jan 8, 2025
1 parent 7430330 commit 35bd421
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 56 deletions.
78 changes: 64 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"eslint": "^9.16.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-kvs-webrtc": "file:eslint",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-prettier": "^5.2.1",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"license-webpack-plugin": "^4.0.0",
"prettier": "^1.18.2",
"prettier": "^3.4.2",
"ts-jest": "^29.1.0",
"ts-loader": "^9.5.1",
"typescript": "^5.7.2",
Expand Down
2 changes: 1 addition & 1 deletion src/SigV4RequestSigner.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('SigV4RequestSigner', () => {
accessKeyId: null,
secretAccessKey: null,
getPromise(): Promise<void> {
return new Promise<void>(resolve => {
return new Promise<void>((resolve) => {
credentials.accessKeyId = 'AKIA4F7WJQR7FMMWMNXI';
credentials.secretAccessKey = 'FakeSecretKey';
credentials.sessionToken = 'FakeSessionToken';
Expand Down
6 changes: 3 additions & 3 deletions src/SigV4RequestSigner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class SigV4RequestSigner implements RequestSigner {
*/
private static createHeadersString(headers: Headers): string {
return Object.keys(headers)
.map(header => `${header}:${headers[header]}\n`)
.map((header) => `${header}:${headers[header]}\n`)
.join();
}

Expand All @@ -148,7 +148,7 @@ export class SigV4RequestSigner implements RequestSigner {
private static createQueryString(queryParams: QueryParams): string {
return Object.keys(queryParams)
.sort()
.map(key => `${key}=${encodeURIComponent(queryParams[key])}`)
.map((key) => `${key}=${encodeURIComponent(queryParams[key])}`)
.join('&');
}

Expand Down Expand Up @@ -209,7 +209,7 @@ export class SigV4RequestSigner implements RequestSigner {

private static toHex(buffer: ArrayBuffer): string {
return Array.from(new Uint8Array(buffer))
.map(b => b.toString(16).padStart(2, '0'))
.map((b) => b.toString(16).padStart(2, '0'))
.join('');
}
}
Loading

0 comments on commit 35bd421

Please sign in to comment.