Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d32b4ad
Update all Yarn dependencies (2024-05-22) (#487)
depfu[bot] May 22, 2024
5bc35a6
Update all Yarn dependencies (2024-06-05) (#489)
depfu[bot] Jun 5, 2024
68182f6
Update all Yarn dependencies (2024-06-12) (#490)
depfu[bot] Jun 12, 2024
e8e1e20
Update all Yarn dependencies (2024-06-19) (#493)
depfu[bot] Jun 24, 2024
a604099
Bump braces from 3.0.2 to 3.0.3 (#491)
dependabot[bot] Jun 24, 2024
222c2cc
Update all Yarn dependencies (2024-06-26) (#494)
depfu[bot] Jun 26, 2024
4a6fc20
Update all Yarn dependencies (2024-07-03) (#495)
depfu[bot] Jul 11, 2024
d08096d
Update all Yarn dependencies (2024-07-11) (#497)
depfu[bot] Jul 11, 2024
94e223b
Update all Yarn dependencies (2024-07-17) (#498)
depfu[bot] Jul 17, 2024
0eead94
Update all Yarn dependencies (2024-07-24) (#499)
depfu[bot] Jul 24, 2024
2914322
Update all Yarn dependencies (2024-07-31) (#501)
depfu[bot] Jul 31, 2024
f598c00
Bump fast-xml-parser from 4.3.2 to 4.4.1 (#500)
dependabot[bot] Jul 31, 2024
aa91d1e
Update all Yarn dependencies (2024-08-07) (#504)
depfu[bot] Aug 7, 2024
3ec3f54
Update all Yarn dependencies (2024-08-14) (#505)
depfu[bot] Aug 14, 2024
1284b54
Update all Yarn dependencies (2024-08-21) (#506)
depfu[bot] Aug 21, 2024
106fe1b
⬆️ Update @koa/router to version 13.0.0 (#507)
depfu[bot] Aug 23, 2024
f329972
⬆️ Update all of typescript-eslint to version 8.2.0
depfu[bot] Aug 26, 2024
17e4d18
Fix the linter errors after the typescript-eslint upgrade
canova Aug 27, 2024
6934f87
Update all of typescript-eslint 7.18.0 → 8.2.0 (major) (#509)
julienw Aug 28, 2024
c97944d
Update all Yarn dependencies (2024-08-28) (#510)
depfu[bot] Aug 28, 2024
47e48c4
⬆️ Update @types/node to version 22.5.0 (#512)
depfu[bot] Aug 29, 2024
9223e30
Bump micromatch from 4.0.4 to 4.0.8 (#511)
dependabot[bot] Aug 29, 2024
50129e8
Update all Yarn dependencies (2024-09-04) (#513)
depfu[bot] Sep 25, 2024
7b6e6ba
Update all Yarn dependencies (2024-09-25) (#516)
depfu[bot] Sep 25, 2024
e29d054
Update all Yarn dependencies (2024-10-02) (#518)
depfu[bot] Oct 2, 2024
ced8651
Update all Yarn dependencies (2024-10-16) (#519)
depfu[bot] Oct 16, 2024
aaece6c
Update all Yarn dependencies (2024-10-30) (#521)
depfu[bot] Oct 30, 2024
52cba1a
Update all Yarn dependencies (2024-11-06) (#522)
depfu[bot] Nov 6, 2024
2b388e7
Update all Yarn dependencies (2024-11-13) (#523)
depfu[bot] Nov 18, 2024
1f252a9
Switch to a maintained fork of npm-run-all (#525)
julienw Dec 2, 2024
b9c319e
Bump cross-spawn from 7.0.3 to 7.0.6 (#527)
dependabot[bot] Dec 2, 2024
1bb1b8a
⬆️ Update koa-helmet to version 8.0.1
depfu[bot] Dec 9, 2024
73ef08e
Add helmet explicitely, now that it's a peer dependency
julienw Dec 9, 2024
81f3e08
Update koa-helmet 7.0.2 → 8.0.1 (major) (#528)
julienw Dec 9, 2024
b170008
Update all Yarn dependencies (2024-12-11) (#529)
depfu[bot] Jan 6, 2025
107b67a
Update all Yarn dependencies (2025-01-06) (#532)
depfu[bot] Jan 7, 2025
d59dc3e
Update all Yarn dependencies (2025-01-15) (#533)
depfu[bot] Jan 15, 2025
84cb97f
⬆️ Update eslint-config-prettier to version 10.0.1 (#535)
depfu[bot] Jan 20, 2025
926b329
Update all Yarn dependencies (2025-01-22) (#536)
depfu[bot] Jan 22, 2025
4885972
Update all Yarn dependencies (2025-01-29) (#537)
depfu[bot] Feb 5, 2025
042b5dd
Update all Yarn dependencies (2025-02-05) (#540)
depfu[bot] Feb 5, 2025
63dc9f3
Update all Yarn dependencies (2025-02-12) (#542)
depfu[bot] Feb 12, 2025
8d29656
⬆️ Update koa to version 2.15.4 (#543)
depfu[bot] Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 28 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,42 +35,42 @@
"ts-generate-types": "npx --yes dts-gen -m"
},
"devDependencies": {
"@babel/cli": "^7.24.5",
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.5",
"@babel/eslint-plugin": "^7.24.5",
"@babel/node": "^7.23.9",
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.7",
"@babel/eslint-parser": "^7.26.5",
"@babel/eslint-plugin": "^7.25.9",
"@babel/node": "^7.26.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@babel/preset-env": "^7.26.7",
"@babel/preset-typescript": "^7.26.0",
"@types/content-type": "^1.1.8",
"@types/convict": "^6.1.6",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.8",
"@types/koa__cors": "^4.0.3",
"@types/koa__router": "^12.0.4",
"@types/node": "^20.12.7",
"@types/node": "^22.13.1",
"@types/node-fetch": "^2.6.2",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.21.0",
"babel-jest": "^29.7.0",
"devtools-license-check": "^0.9.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.31.0",
"husky": "^4.3.8",
"jest": "^29.7.0",
"lockfile-lint": "^4.13.2",
"lockfile-lint": "^4.14.0",
"mkdirp": "^3.0.1",
"nock": "^13.5.4",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"nock": "^13.5.6",
"nodemon": "^3.1.9",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"rimraf": "^5.0.10",
"supertest": "^7.0.0",
"typescript": "^5.4.5"
"typescript": "^5.7.3"
},
"husky": {
"hooks": {
Expand All @@ -81,15 +81,16 @@
}
},
"dependencies": {
"@google-cloud/storage": "^7.10.1",
"@google-cloud/storage": "^7.15.0",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.1",
"@koa/router": "^13.1.0",
"content-type": "^1.0.5",
"convict": "^6.2.4",
"dotenv": "^16.4.5",
"dotenv": "^16.4.7",
"helmet": "^8.0.0",
"jsonwebtoken": "^9.0.2",
"koa": "^2.15.3",
"koa-helmet": "^7.0.2",
"koa": "^2.15.4",
"koa-helmet": "^8.0.1",
"koa-json-body": "^5.3.0",
"koa-jwt": "^4.0.4",
"koa-logger": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function createApp() {
// environment variable LOG_LEVEL to "verbose".
// In production we should be able to have the logs of requests from
// the server frontend instead.
// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports
app.use(require('koa-logger')());
}

Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function validateConfigValues(config: Config) {
// to find the authentication information from other means.
try {
fs.accessSync(googleAuthenticationFilePath, fs.constants.R_OK);
} catch (e) {
} catch {
log.critical(
'gcs_configuration_error',
`The authentication file '${googleAuthenticationFilePath}' is missing or not readable.`
Expand Down
2 changes: 1 addition & 1 deletion src/logic/shorten-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class BitlyResponseError extends Error {
if (body.description) {
message += `\nBitly error is: ${body.description} (${body.message})`;
}
} catch (e) {
} catch {
// Nothing is needed here.
}

Expand Down
4 changes: 2 additions & 2 deletions test/api/dockerflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ describe('dockerflow endpoints', () => {
});

it('answers to the version endpoint when the file is present', async () => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports
const fixture = require('./fixtures/version.json');
const fakeLastModifiedDate = new Date('Thu, 01 May 2020 10:20:15 GMT');
jest.spyOn(fs.promises, 'readFile').mockResolvedValue(fixture);
Expand All @@ -171,7 +171,7 @@ describe('dockerflow endpoints', () => {
});

it('all endpoints uses security headers', async () => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports
const fixture = require('./fixtures/version.json');
jest.spyOn(fs.promises, 'readFile').mockResolvedValue(fixture);
// @ts-expect-error Other fields are not included for this test.
Expand Down
Loading