Skip to content

Commit

Permalink
chore: upgrade packages mar 2024 (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleF83 authored Mar 31, 2024
1 parent 47a2807 commit 55dc46f
Show file tree
Hide file tree
Showing 6 changed files with 2,212 additions and 1,953 deletions.
6 changes: 3 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ecmaVersion": 2019,
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint", "simple-import-sort", "unicorn", "promise", "prettier", "jest"],
"plugins": ["@typescript-eslint", "simple-import-sort", "unicorn", "promise", "jest", "prettier"],
"extends": [
"eslint:recommended",
"plugin:node/recommended",
Expand All @@ -14,9 +14,9 @@
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:unicorn/recommended",
"plugin:prettier/recommended",
"plugin:promise/recommended",
"plugin:jest/style"
"plugin:jest/style",
"plugin:prettier/recommended"
],
"rules": {
"import/order": "error",
Expand Down
4 changes: 2 additions & 2 deletions e2e/helpers/introspect-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import * as yaml from 'yaml';
export default async (
token: string,
apiResourceId: string,
snapshotPropertyMatchers: Record<string, unknown> = {}
snapshotPropertyMatchers: Record<string, unknown> = {},
): Promise<void> => {
const apiResources = yaml.parse(
await fs.readFile(path.join(process.cwd(), './config/api-resources.yaml'), { encoding: 'utf8' })
await fs.readFile(path.join(process.cwd(), './config/api-resources.yaml'), { encoding: 'utf8' }),
);
const apiResource = apiResources.find(aR => aR.Name === apiResourceId);
expect(apiResource).toBeDefined();
Expand Down
2 changes: 1 addition & 1 deletion e2e/helpers/token-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import fetch from 'node-fetch';

export default async (
parameters: URLSearchParams,
snapshotPropertyMatchers: Record<string, unknown> = {}
snapshotPropertyMatchers: Record<string, unknown> = {},
): Promise<string> => {
const tokenEndpointResponse = await fetch(process.env.OIDC_TOKEN_URL, {
method: 'POST',
Expand Down
26 changes: 13 additions & 13 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
},
"license": "MIT",
"engines": {
"node": ">=10.0.0"
"node": ">=20.0.0"
},
"dependencies": {
"chance": "^1.1.11",
"dotenv": "^16.3.1",
"dotenv": "^16.4.5",
"jws": "^4.0.0",
"node-fetch": "^2.7.0",
"playwright-chromium": "^1.39.0",
"wait-on": "^7.1.0",
"yaml": "^2.3.4"
"wait-on": "^7.2.0",
"yaml": "^2.4.1"
},
"devDependencies": {
"@jest/types": "^29.6.3",
"@types/chance": "^1.1.5",
"@types/jest": "^29.5.7",
"@types/jws": "^3.2.7",
"@types/node": "^18.18.8",
"@types/node-fetch": "^2.6.8",
"@types/wait-on": "^5.3.3",
"@types/chance": "^1.1.6",
"@types/jest": "^29.5.12",
"@types/jws": "^3.2.9",
"@types/node": "^18.19.28",
"@types/node-fetch": "^2.6.11",
"@types/wait-on": "^5.3.4",
"jest": "^29.7.0",
"jest-playwright-preset": "^3.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
"jest-playwright-preset": "^4.0.0",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
}
}
Loading

0 comments on commit 55dc46f

Please sign in to comment.