Skip to content

Commit

Permalink
chore(security): update vulnerable deps
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Dec 17, 2024
1 parent 861efdd commit bf9bb07
Show file tree
Hide file tree
Showing 19 changed files with 668 additions and 1,451 deletions.
934 changes: 0 additions & 934 deletions .yarn/releases/yarn-4.5.1.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ignorePath: true

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.5.1.cjs
yarnPath: .yarn/releases/yarn-4.5.3.cjs
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
},
"devDependencies": {
"eslint": "^8.57.1",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
"prettier": "^3.4.2",
"typescript": "^5.7.2"
},
"resolutions": {
"cookie": "^1.0.0",
"cross-spawn": "^7.0.5",
"jsonpath-plus": "^10.0.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
},
"packageManager": "[email protected].1"
"packageManager": "[email protected].3"
}
24 changes: 12 additions & 12 deletions service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@
"@oada/lib-prom": "^4.0.1",
"@oada/pino-debug": "^4.0.1",
"@oada/types": "^3.5.3",
"axios": "^1.7.7",
"axios": "^1.7.9",
"axios-cache-interceptor": "^1.6.2",
"cron": "^3.2.1",
"debug": "^4.3.7",
"cron": "^3.3.1",
"debug": "^4.4.0",
"es-main": "^1.3.0",
"md5": "^2.3.0",
"p-queue": "^8.0.1",
"p-throttle": "^6.2.0",
"p-throttle": "^7.0.0",
"p-timeout": "^6.1.3",
"puppeteer": "^23.9.0",
"puppeteer": "^23.10.4",
"tslib": "^2.8.1"
},
"devDependencies": {
Expand All @@ -78,12 +78,12 @@
"@types/cron": "^2.4.3",
"@types/debug": "^4.1.12",
"@types/md5": "^2.3.5",
"@types/node": "^22.9.1",
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@yarnpkg/sdks": "^3.2.0",
"ava": "6.2.0",
"c8": "^10.1.2",
"c8": "^10.1.3",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo": "^0.45.0",
Expand All @@ -93,7 +93,7 @@
"eslint-plugin-escompat": "^3.11.4",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-github": "^5.1.0",
"eslint-plugin-github": "^5.1.4",
"eslint-plugin-i18n-text": "^1.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-no-constructor-bind": "^2.0.4",
Expand All @@ -103,14 +103,14 @@
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-sonarjs": "^2.0.4",
"eslint-plugin-unicorn": "^56.0.1",
"prettier": "^3.3.3",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
"prettier": "^3.4.2",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.2"
},
"resolutions": {
"cookie": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion service/src/archivers/laserfiche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ export async function doLfSync(
await setCustomField(log, ticket, [{ id: LF_ID_FIELD_ID, value: lfId }]);
}
}
}
}
2 changes: 1 addition & 1 deletion service/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@ export const { config } = await libConfig({
arg: 'zd-default-org-id',
},
},
});
});
2 changes: 1 addition & 1 deletion service/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ if (esMain(import.meta)) {
log.info({ name, version }, `Starting ${name}, version ${version}`);

await run();
}
}
2 changes: 1 addition & 1 deletion service/src/scripts/archive-ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ await (type === 'now'
}));

console.info(`Created archive job for ticket ${ticketId}`);
process.exit(0);
process.exit(0);
2 changes: 1 addition & 1 deletion service/src/scripts/reprocess-closed-ticket-by-range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ for await (const id of ticketCounter()) {
}
}

log.info('DONE');
log.info('DONE');
2 changes: 1 addition & 1 deletion service/src/services/poller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ async function computeNextState(
state: STATE_PROCESSING,
status: `Creating ticket archive.`,
};
}
}
2 changes: 1 addition & 1 deletion service/src/services/syncTicket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,4 @@ async function ensureLinkPut(oada: OADAClient, request: PUTRequest) {
}

return oada.put(request);
}
}
2 changes: 1 addition & 1 deletion service/src/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ export const tpDocTypesTree: Tree = {
...docTypesTree,
},
},
};
};
98 changes: 49 additions & 49 deletions service/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ export interface Ticket {
channel: string | number;
source: {
from:
| Record<string, unknown>
| {
name: string;
address: string;
};
| Record<string, unknown>
| {
name: string;
address: string;
};
to:
| Record<string, unknown>
| {
name: string;
address: string;
};
| Record<string, unknown>
| {
name: string;
address: string;
};
rel: string | undefined;
};
};
Expand Down Expand Up @@ -253,19 +253,19 @@ export interface Comment {
channel: string;
source: {
from:
| undefined
| {
address: string;
name: string | undefined;
organization_recipients: string[] | undefined;
};
| undefined
| {
address: string;
name: string | undefined;
organization_recipients: string[] | undefined;
};
to:
| undefined
| {
name: string | undefined;
address: string;
email_ccs: number[];
};
| undefined
| {
name: string | undefined;
address: string;
email_ccs: number[];
};
rel: undefined;
};
};
Expand Down Expand Up @@ -316,32 +316,32 @@ export interface SideConversationEvent {
via: string;
created_at: string;
message:
| undefined
| {
subject: string | undefined;
preview_text: string;
from: {
user_id: number;
group_id?: number;
name: string;
email: string;
};
to: Array<{
user_id: number;
group_id?: number;
name: string;
email: string;
}>;
body: string;
html_body: string;
external_ids: {
ticketAuditId: string;
targetTicketAuditId?: string;
outboundEmail?: string;
inboundEmail?: string;
};
attachments: SideConversationAttachment[];
};
| undefined
| {
subject: string | undefined;
preview_text: string;
from: {
user_id: number;
group_id?: number;
name: string;
email: string;
};
to: Array<{
user_id: number;
group_id?: number;
name: string;
email: string;
}>;
body: string;
html_body: string;
external_ids: {
ticketAuditId: string;
targetTicketAuditId?: string;
outboundEmail?: string;
inboundEmail?: string;
};
attachments: SideConversationAttachment[];
};
updates: Record<string, unknown>;
ticket_id: number;
}
Expand Down Expand Up @@ -416,4 +416,4 @@ export interface Org {
group_id: undefined;
tags: string[];
organization_fields: Record<string, string | undefined>;
}
}
2 changes: 1 addition & 1 deletion service/src/utils.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export async function treePut() {}
export async function treePut() {}
2 changes: 1 addition & 1 deletion service/src/zd/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,4 @@ export async function generateTicketPdf(
}

return pdf;
}
}
2 changes: 1 addition & 1 deletion service/src/zd/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ interface BaseResponse {
next_page?: string;
previous_page?: string;
count: number;
}
}
2 changes: 1 addition & 1 deletion service/src/zd/zendesk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,4 +435,4 @@ export function getTicketFieldValue(
);

return field ? String(field.value) : undefined;
}
}
24 changes: 12 additions & 12 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
"devDependencies": {
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.8.1",
"@sveltejs/vite-plugin-svelte": "^4.0.1",
"@sveltejs/kit": "^2.12.1",
"@sveltejs/vite-plugin-svelte": "^5.0.2",
"@tailwindcss/typography": "^0.5.15",
"@tsconfig/node22": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"autoprefixer": "^10.4.20",
"daisyui": "^4.12.14",
"daisyui": "^4.12.22",
"date-fns": "^4.1.0",
"eslint": "^9.14.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo": "^0.46.0",
"eslint-config-xo-typescript": "^6.0.0",
Expand All @@ -39,7 +39,7 @@
"eslint-plugin-escompat": "^3.11.4",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-github": "^5.1.0",
"eslint-plugin-github": "^5.1.4",
"eslint-plugin-i18n-text": "^1.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-no-constructor-bind": "^2.0.4",
Expand All @@ -49,19 +49,19 @@
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-sonarjs": "^2.0.4",
"eslint-plugin-unicorn": "^56.0.1",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"pretty-bytes": "^6.1.1",
"svelte": "^5.2.7",
"svelte-check": "^4.0.9",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite": "^5.4.11"
"svelte": "^5.14.2",
"svelte-check": "^4.1.1",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.2",
"vite": "^6.0.3"
},
"volta": {
"node": "22.6.0"
Expand Down
Loading

0 comments on commit bf9bb07

Please sign in to comment.