Skip to content

Commit 7292592

Browse files
committed
fix: standardize dependencies and fix TypeScript linting issues
- Update @typescript-eslint/eslint-plugin to ^8.38.0 (from ^8.35.0) - Update @typescript-eslint/parser to ^8.38.0 (from ^8.35.1) - Update typescript-eslint to ^8.38.0 (from ^8.35.0) - Update eslint to ^9.32.0 (from ^9.30.0) - Update jest to ^30.0.5 (from ^30.0.2) - Update semantic-release to ^24.2.7 (from ^24.2.5) - Update @modelcontextprotocol/sdk to ^1.17.1 (from ^1.13.0) - Update dotenv to ^17.2.1 (from ^17.0.0) - Replace any types with proper TypeScript types for better type safety Standardizes dependency versions across all MCP projects for consistency.
1 parent 686299c commit 7292592

4 files changed

Lines changed: 27 additions & 27 deletions

File tree

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"author": "",
6262
"license": "ISC",
6363
"devDependencies": {
64-
"@eslint/js": "^9.30.0",
64+
"@eslint/js": "^9.32.0",
6565
"@semantic-release/changelog": "^6.0.3",
6666
"@semantic-release/exec": "^7.1.0",
6767
"@semantic-release/git": "^10.0.1",
@@ -72,32 +72,32 @@
7272
"@types/jest": "^30.0.0",
7373
"@types/node": "^24.0.3",
7474
"@types/turndown": "^5.0.5",
75-
"@typescript-eslint/eslint-plugin": "^8.35.0",
76-
"@typescript-eslint/parser": "^8.35.1",
77-
"eslint": "^9.30.0",
75+
"@typescript-eslint/eslint-plugin": "^8.38.0",
76+
"@typescript-eslint/parser": "^8.38.0",
77+
"eslint": "^9.32.0",
7878
"eslint-config-prettier": "^10.1.5",
7979
"eslint-plugin-filenames": "^1.3.2",
8080
"eslint-plugin-prettier": "^5.5.0",
81-
"jest": "^30.0.2",
81+
"jest": "^30.0.5",
8282
"node-fetch": "^3.3.2",
8383
"nodemon": "^3.1.10",
8484
"npm-check-updates": "^18.0.1",
8585
"prettier": "^3.6.2",
86-
"semantic-release": "^24.2.5",
86+
"semantic-release": "^24.2.7",
8787
"ts-jest": "^29.4.0",
8888
"ts-node": "^10.9.2",
8989
"typescript": "^5.8.3",
90-
"typescript-eslint": "^8.35.0"
90+
"typescript-eslint": "^8.38.0"
9191
},
9292
"publishConfig": {
9393
"registry": "https://registry.npmjs.org/",
9494
"access": "public"
9595
},
9696
"dependencies": {
97-
"@modelcontextprotocol/sdk": "^1.13.0",
97+
"@modelcontextprotocol/sdk": "^1.17.1",
9898
"commander": "^14.0.0",
9999
"cors": "^2.8.5",
100-
"dotenv": "^17.0.0",
100+
"dotenv": "^17.2.1",
101101
"express": "^5.1.0",
102102
"turndown": "^7.2.0",
103103
"zod": "^3.25.67"

src/controllers/atlassian.worklogs.controller.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async function addWorklog(
213213
}
214214

215215
// Build request parameters
216-
const params: any = {
216+
const params: Record<string, unknown> = {
217217
timeSpentSeconds,
218218
started: options.started,
219219
};
@@ -294,7 +294,7 @@ async function updateWorklog(
294294
}
295295

296296
// Build update parameters
297-
const params: any = {};
297+
const params: Record<string, unknown> = {};
298298

299299
// Convert time spent to seconds if provided
300300
if (options.timeSpent) {
@@ -386,7 +386,7 @@ async function deleteWorklog(
386386
}
387387

388388
// Build delete parameters
389-
const params: any = {};
389+
const params: Record<string, unknown> = {};
390390

391391
// Handle estimate adjustment
392392
if (options.adjustEstimate) {

src/services/vendor.atlassian.issues.service.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ async function getWorklogs(
484484
maxResults?: number;
485485
expand?: string[];
486486
} = {},
487-
): Promise<any> {
487+
): Promise<unknown> {
488488
const methodLogger = Logger.forContext(
489489
'services/vendor.atlassian.issues.service.ts',
490490
'getWorklogs',
@@ -570,8 +570,8 @@ async function getWorklogs(
570570
*/
571571
async function addWorklog(
572572
issueIdOrKey: string,
573-
worklogData: any,
574-
): Promise<any> {
573+
worklogData: Record<string, unknown>,
574+
): Promise<unknown> {
575575
const methodLogger = Logger.forContext(
576576
'services/vendor.atlassian.issues.service.ts',
577577
'addWorklog',
@@ -665,8 +665,8 @@ async function addWorklog(
665665
async function updateWorklog(
666666
issueIdOrKey: string,
667667
worklogId: string,
668-
updateData: any,
669-
): Promise<any> {
668+
updateData: Record<string, unknown>,
669+
): Promise<unknown> {
670670
const methodLogger = Logger.forContext(
671671
'services/vendor.atlassian.issues.service.ts',
672672
'updateWorklog',
@@ -727,7 +727,7 @@ async function updateWorklog(
727727
async function deleteWorklog(
728728
issueIdOrKey: string,
729729
worklogId: string,
730-
params: any = {},
730+
params: Record<string, unknown> = {},
731731
): Promise<void> {
732732
const methodLogger = Logger.forContext(
733733
'services/vendor.atlassian.issues.service.ts',

0 commit comments

Comments
 (0)