Skip to content

Commit

Permalink
chore:upgrade packages (#131)
Browse files Browse the repository at this point in the history
* chore: update packages - root project

* fix: husky

* chore: update packages - e2e

* chore: update packages - src

* fix: eslint
  • Loading branch information
AleF83 authored May 27, 2023
1 parent d1bbd8c commit d0f218e
Show file tree
Hide file tree
Showing 6 changed files with 1,375 additions and 1,342 deletions.
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
yarn pretty-quick --staged
npx lint-staged
npx pretty-quick --staged
20 changes: 10 additions & 10 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@
"node": ">=10.0.0"
},
"dependencies": {
"chance": "^1.1.9",
"chance": "^1.1.11",
"dotenv": "^16.0.3",
"jws": "^4.0.0",
"node-fetch": "^2.6.9",
"node-fetch": "^2.6.11",
"playwright-chromium": "^1.22.2",
"wait-on": "^7.0.1",
"yaml": "^2.2.1"
"yaml": "^2.3.1"
},
"devDependencies": {
"@jest/types": "^29.4.2",
"@jest/types": "^29.5.0",
"@types/chance": "^1.1.3",
"@types/jest": "^29.4.0",
"@types/jest": "^29.5.1",
"@types/jws": "^3.2.5",
"@types/node": "^18.13.0",
"@types/node-fetch": "^2.6.2",
"@types/node": "^18.16.16",
"@types/node-fetch": "^2.6.4",
"@types/wait-on": "^5.3.1",
"jest": "^29.4.2",
"jest": "^29.5.0",
"jest-playwright-preset": "^3.0.1",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
}
}
2 changes: 1 addition & 1 deletion e2e/tests/flows/authorization-code-pkce.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const testCases: User[] = users
.sort((u1, u2) => (u1.SubjectId < u2.SubjectId ? -1 : 1));

const base64URLEncode = (buffer: Buffer) =>
buffer.toString('base64').replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, '');
buffer.toString('base64').replaceAll('+', '-').replaceAll('/', '_').replaceAll('=', '');

const sha256 = (buffer: crypto.BinaryLike) => crypto.createHash('sha256').update(buffer).digest();

Expand Down
Loading

0 comments on commit d0f218e

Please sign in to comment.