diff --git a/.yarn/cache/@ioredis-commands-npm-1.2.0-47541de88b-9b20225ba3.zip b/.yarn/cache/@ioredis-commands-npm-1.2.0-47541de88b-9b20225ba3.zip new file mode 100644 index 000000000..fa54b5d9b Binary files /dev/null and b/.yarn/cache/@ioredis-commands-npm-1.2.0-47541de88b-9b20225ba3.zip differ diff --git a/.yarn/cache/@msgpackr-extract-msgpackr-extract-darwin-arm64-npm-3.0.2-18ac236cc4-8.zip b/.yarn/cache/@msgpackr-extract-msgpackr-extract-darwin-arm64-npm-3.0.2-18ac236cc4-8.zip new file mode 100644 index 000000000..06cbbf0cf Binary files /dev/null and b/.yarn/cache/@msgpackr-extract-msgpackr-extract-darwin-arm64-npm-3.0.2-18ac236cc4-8.zip differ diff --git a/.yarn/cache/accepts-npm-1.3.8-9a812371c9-50c43d32e7.zip b/.yarn/cache/accepts-npm-1.3.8-9a812371c9-50c43d32e7.zip new file mode 100644 index 000000000..416f55bd5 Binary files /dev/null and b/.yarn/cache/accepts-npm-1.3.8-9a812371c9-50c43d32e7.zip differ diff --git a/.yarn/cache/array-flatten-npm-1.1.1-9d94ad5f1d-a9925bf351.zip b/.yarn/cache/array-flatten-npm-1.1.1-9d94ad5f1d-a9925bf351.zip new file mode 100644 index 000000000..c6a8b5333 Binary files /dev/null and b/.yarn/cache/array-flatten-npm-1.1.1-9d94ad5f1d-a9925bf351.zip differ diff --git a/.yarn/cache/body-parser-npm-1.20.1-759fd14db9-f1050dbac3.zip b/.yarn/cache/body-parser-npm-1.20.1-759fd14db9-f1050dbac3.zip new file mode 100644 index 000000000..00619628e Binary files /dev/null and b/.yarn/cache/body-parser-npm-1.20.1-759fd14db9-f1050dbac3.zip differ diff --git a/.yarn/cache/bullmq-npm-4.14.0-5f19050e7c-0db6fa8144.zip b/.yarn/cache/bullmq-npm-4.14.0-5f19050e7c-0db6fa8144.zip new file mode 100644 index 000000000..8210ddb17 Binary files /dev/null and b/.yarn/cache/bullmq-npm-4.14.0-5f19050e7c-0db6fa8144.zip differ diff --git a/.yarn/cache/bytes-npm-3.1.2-28b8643004-e4bcd3948d.zip b/.yarn/cache/bytes-npm-3.1.2-28b8643004-e4bcd3948d.zip new file mode 100644 index 000000000..07737e5cd Binary files /dev/null and b/.yarn/cache/bytes-npm-3.1.2-28b8643004-e4bcd3948d.zip differ diff --git a/.yarn/cache/cluster-key-slot-npm-1.1.2-0571a28825-be0ad2d262.zip b/.yarn/cache/cluster-key-slot-npm-1.1.2-0571a28825-be0ad2d262.zip new file mode 100644 index 000000000..d6087b322 Binary files /dev/null and b/.yarn/cache/cluster-key-slot-npm-1.1.2-0571a28825-be0ad2d262.zip differ diff --git a/.yarn/cache/content-disposition-npm-0.5.4-2d93678616-afb9d545e2.zip b/.yarn/cache/content-disposition-npm-0.5.4-2d93678616-afb9d545e2.zip new file mode 100644 index 000000000..5f9dc26d3 Binary files /dev/null and b/.yarn/cache/content-disposition-npm-0.5.4-2d93678616-afb9d545e2.zip differ diff --git a/.yarn/cache/content-type-npm-1.0.5-3e037bf9ab-566271e0a2.zip b/.yarn/cache/content-type-npm-1.0.5-3e037bf9ab-566271e0a2.zip new file mode 100644 index 000000000..728f06fa8 Binary files /dev/null and b/.yarn/cache/content-type-npm-1.0.5-3e037bf9ab-566271e0a2.zip differ diff --git a/.yarn/cache/cookie-signature-npm-1.0.6-93f325f7f0-f4e1b0a98a.zip b/.yarn/cache/cookie-signature-npm-1.0.6-93f325f7f0-f4e1b0a98a.zip new file mode 100644 index 000000000..bf40b1449 Binary files /dev/null and b/.yarn/cache/cookie-signature-npm-1.0.6-93f325f7f0-f4e1b0a98a.zip differ diff --git a/.yarn/cache/cron-parser-npm-4.9.0-2a573f98e9-3cf248fc5c.zip b/.yarn/cache/cron-parser-npm-4.9.0-2a573f98e9-3cf248fc5c.zip new file mode 100644 index 000000000..0c7f79746 Binary files /dev/null and b/.yarn/cache/cron-parser-npm-4.9.0-2a573f98e9-3cf248fc5c.zip differ diff --git a/.yarn/cache/denque-npm-2.1.0-578d0b6297-1d4ae1d05e.zip b/.yarn/cache/denque-npm-2.1.0-578d0b6297-1d4ae1d05e.zip new file mode 100644 index 000000000..4bef0e90a Binary files /dev/null and b/.yarn/cache/denque-npm-2.1.0-578d0b6297-1d4ae1d05e.zip differ diff --git a/.yarn/cache/depd-npm-2.0.0-b6c51a4b43-abbe19c768.zip b/.yarn/cache/depd-npm-2.0.0-b6c51a4b43-abbe19c768.zip new file mode 100644 index 000000000..30053d1cf Binary files /dev/null and b/.yarn/cache/depd-npm-2.0.0-b6c51a4b43-abbe19c768.zip differ diff --git a/.yarn/cache/destroy-npm-1.2.0-6a511802e2-0acb300b74.zip b/.yarn/cache/destroy-npm-1.2.0-6a511802e2-0acb300b74.zip new file mode 100644 index 000000000..3bc30ea4d Binary files /dev/null and b/.yarn/cache/destroy-npm-1.2.0-6a511802e2-0acb300b74.zip differ diff --git a/.yarn/cache/ee-first-npm-1.1.1-33f8535b39-1b4cac778d.zip b/.yarn/cache/ee-first-npm-1.1.1-33f8535b39-1b4cac778d.zip new file mode 100644 index 000000000..458439cba Binary files /dev/null and b/.yarn/cache/ee-first-npm-1.1.1-33f8535b39-1b4cac778d.zip differ diff --git a/.yarn/cache/encodeurl-npm-1.0.2-f8c8454c41-e50e3d508c.zip b/.yarn/cache/encodeurl-npm-1.0.2-f8c8454c41-e50e3d508c.zip new file mode 100644 index 000000000..e9badb765 Binary files /dev/null and b/.yarn/cache/encodeurl-npm-1.0.2-f8c8454c41-e50e3d508c.zip differ diff --git a/.yarn/cache/escape-html-npm-1.0.3-376c22ee74-6213ca9ae0.zip b/.yarn/cache/escape-html-npm-1.0.3-376c22ee74-6213ca9ae0.zip new file mode 100644 index 000000000..d12a72b12 Binary files /dev/null and b/.yarn/cache/escape-html-npm-1.0.3-376c22ee74-6213ca9ae0.zip differ diff --git a/.yarn/cache/etag-npm-1.8.1-54a3b989d9-571aeb3dbe.zip b/.yarn/cache/etag-npm-1.8.1-54a3b989d9-571aeb3dbe.zip new file mode 100644 index 000000000..e4f07e5fb Binary files /dev/null and b/.yarn/cache/etag-npm-1.8.1-54a3b989d9-571aeb3dbe.zip differ diff --git a/.yarn/cache/express-npm-4.18.2-bb15ff679a-3c4b9b0768.zip b/.yarn/cache/express-npm-4.18.2-bb15ff679a-3c4b9b0768.zip new file mode 100644 index 000000000..4d2711460 Binary files /dev/null and b/.yarn/cache/express-npm-4.18.2-bb15ff679a-3c4b9b0768.zip differ diff --git a/.yarn/cache/finalhandler-npm-1.2.0-593d001463-92effbfd32.zip b/.yarn/cache/finalhandler-npm-1.2.0-593d001463-92effbfd32.zip new file mode 100644 index 000000000..a79b4fb78 Binary files /dev/null and b/.yarn/cache/finalhandler-npm-1.2.0-593d001463-92effbfd32.zip differ diff --git a/.yarn/cache/forwarded-npm-0.2.0-6473dabe35-fd27e2394d.zip b/.yarn/cache/forwarded-npm-0.2.0-6473dabe35-fd27e2394d.zip new file mode 100644 index 000000000..64cd57a06 Binary files /dev/null and b/.yarn/cache/forwarded-npm-0.2.0-6473dabe35-fd27e2394d.zip differ diff --git a/.yarn/cache/fresh-npm-0.5.2-ad2bb4c0a2-13ea8b08f9.zip b/.yarn/cache/fresh-npm-0.5.2-ad2bb4c0a2-13ea8b08f9.zip new file mode 100644 index 000000000..643fb82ff Binary files /dev/null and b/.yarn/cache/fresh-npm-0.5.2-ad2bb4c0a2-13ea8b08f9.zip differ diff --git a/.yarn/cache/http-errors-npm-2.0.0-3f1c503428-9b0a378266.zip b/.yarn/cache/http-errors-npm-2.0.0-3f1c503428-9b0a378266.zip new file mode 100644 index 000000000..de7d02217 Binary files /dev/null and b/.yarn/cache/http-errors-npm-2.0.0-3f1c503428-9b0a378266.zip differ diff --git a/.yarn/cache/iconv-lite-npm-0.4.24-c5c4ac6695-bd9f120f5a.zip b/.yarn/cache/iconv-lite-npm-0.4.24-c5c4ac6695-bd9f120f5a.zip new file mode 100644 index 000000000..9cae309cf Binary files /dev/null and b/.yarn/cache/iconv-lite-npm-0.4.24-c5c4ac6695-bd9f120f5a.zip differ diff --git a/.yarn/cache/ioredis-npm-5.3.2-58471071b1-9a23559133.zip b/.yarn/cache/ioredis-npm-5.3.2-58471071b1-9a23559133.zip new file mode 100644 index 000000000..115473e0a Binary files /dev/null and b/.yarn/cache/ioredis-npm-5.3.2-58471071b1-9a23559133.zip differ diff --git a/.yarn/cache/ipaddr.js-npm-1.9.1-19ae7878b4-f88d382598.zip b/.yarn/cache/ipaddr.js-npm-1.9.1-19ae7878b4-f88d382598.zip new file mode 100644 index 000000000..fe2963443 Binary files /dev/null and b/.yarn/cache/ipaddr.js-npm-1.9.1-19ae7878b4-f88d382598.zip differ diff --git a/.yarn/cache/lodash.isarguments-npm-3.1.0-9e74d350b8-ae1526f3eb.zip b/.yarn/cache/lodash.isarguments-npm-3.1.0-9e74d350b8-ae1526f3eb.zip new file mode 100644 index 000000000..328abc0f5 Binary files /dev/null and b/.yarn/cache/lodash.isarguments-npm-3.1.0-9e74d350b8-ae1526f3eb.zip differ diff --git a/.yarn/cache/luxon-npm-3.4.4-c93f95dde8-36c1f99c47.zip b/.yarn/cache/luxon-npm-3.4.4-c93f95dde8-36c1f99c47.zip new file mode 100644 index 000000000..ed7709ee9 Binary files /dev/null and b/.yarn/cache/luxon-npm-3.4.4-c93f95dde8-36c1f99c47.zip differ diff --git a/.yarn/cache/media-typer-npm-0.3.0-8674f8f0f5-af1b38516c.zip b/.yarn/cache/media-typer-npm-0.3.0-8674f8f0f5-af1b38516c.zip new file mode 100644 index 000000000..1bc097808 Binary files /dev/null and b/.yarn/cache/media-typer-npm-0.3.0-8674f8f0f5-af1b38516c.zip differ diff --git a/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip b/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip new file mode 100644 index 000000000..8bba31611 Binary files /dev/null and b/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip differ diff --git a/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-0917ff4041.zip b/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-0917ff4041.zip new file mode 100644 index 000000000..bce73c59e Binary files /dev/null and b/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-0917ff4041.zip differ diff --git a/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip b/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip new file mode 100644 index 000000000..8db726357 Binary files /dev/null and b/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip differ diff --git a/.yarn/cache/mime-npm-1.6.0-60ae95038a-fef25e3926.zip b/.yarn/cache/mime-npm-1.6.0-60ae95038a-fef25e3926.zip new file mode 100644 index 000000000..498dc2d37 Binary files /dev/null and b/.yarn/cache/mime-npm-1.6.0-60ae95038a-fef25e3926.zip differ diff --git a/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip b/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip new file mode 100644 index 000000000..166d33254 Binary files /dev/null and b/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip differ diff --git a/.yarn/cache/msgpackr-extract-npm-3.0.2-93e8773fad-5adb809b96.zip b/.yarn/cache/msgpackr-extract-npm-3.0.2-93e8773fad-5adb809b96.zip new file mode 100644 index 000000000..b9af6cd24 Binary files /dev/null and b/.yarn/cache/msgpackr-extract-npm-3.0.2-93e8773fad-5adb809b96.zip differ diff --git a/.yarn/cache/msgpackr-npm-1.9.9-75b366d55f-b63182d99f.zip b/.yarn/cache/msgpackr-npm-1.9.9-75b366d55f-b63182d99f.zip new file mode 100644 index 000000000..ce927778a Binary files /dev/null and b/.yarn/cache/msgpackr-npm-1.9.9-75b366d55f-b63182d99f.zip differ diff --git a/.yarn/cache/node-abort-controller-npm-3.1.1-e246ed42cd-2c340916af.zip b/.yarn/cache/node-abort-controller-npm-3.1.1-e246ed42cd-2c340916af.zip new file mode 100644 index 000000000..519b89d7f Binary files /dev/null and b/.yarn/cache/node-abort-controller-npm-3.1.1-e246ed42cd-2c340916af.zip differ diff --git a/.yarn/cache/node-gyp-build-optional-packages-npm-5.0.7-40f21a5d68-bcb4537af1.zip b/.yarn/cache/node-gyp-build-optional-packages-npm-5.0.7-40f21a5d68-bcb4537af1.zip new file mode 100644 index 000000000..d023f1a69 Binary files /dev/null and b/.yarn/cache/node-gyp-build-optional-packages-npm-5.0.7-40f21a5d68-bcb4537af1.zip differ diff --git a/.yarn/cache/on-finished-npm-2.4.1-907af70f88-d20929a25e.zip b/.yarn/cache/on-finished-npm-2.4.1-907af70f88-d20929a25e.zip new file mode 100644 index 000000000..806952bfc Binary files /dev/null and b/.yarn/cache/on-finished-npm-2.4.1-907af70f88-d20929a25e.zip differ diff --git a/.yarn/cache/parseurl-npm-1.3.3-1542397e00-407cee8e0a.zip b/.yarn/cache/parseurl-npm-1.3.3-1542397e00-407cee8e0a.zip new file mode 100644 index 000000000..794eb17d7 Binary files /dev/null and b/.yarn/cache/parseurl-npm-1.3.3-1542397e00-407cee8e0a.zip differ diff --git a/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-69a14ea24d.zip b/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-69a14ea24d.zip new file mode 100644 index 000000000..c89765e69 Binary files /dev/null and b/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-69a14ea24d.zip differ diff --git a/.yarn/cache/proxy-addr-npm-2.0.7-dae6552872-29c6990ce9.zip b/.yarn/cache/proxy-addr-npm-2.0.7-dae6552872-29c6990ce9.zip new file mode 100644 index 000000000..cd0d662a3 Binary files /dev/null and b/.yarn/cache/proxy-addr-npm-2.0.7-dae6552872-29c6990ce9.zip differ diff --git a/.yarn/cache/range-parser-npm-1.2.1-1a470fa390-0a268d4fea.zip b/.yarn/cache/range-parser-npm-1.2.1-1a470fa390-0a268d4fea.zip new file mode 100644 index 000000000..7b40d5913 Binary files /dev/null and b/.yarn/cache/range-parser-npm-1.2.1-1a470fa390-0a268d4fea.zip differ diff --git a/.yarn/cache/raw-body-npm-2.5.1-9dd1d9fff9-5362adff15.zip b/.yarn/cache/raw-body-npm-2.5.1-9dd1d9fff9-5362adff15.zip new file mode 100644 index 000000000..1ab188289 Binary files /dev/null and b/.yarn/cache/raw-body-npm-2.5.1-9dd1d9fff9-5362adff15.zip differ diff --git a/.yarn/cache/redis-errors-npm-1.2.0-a81fd9b0f1-f28ac26921.zip b/.yarn/cache/redis-errors-npm-1.2.0-a81fd9b0f1-f28ac26921.zip new file mode 100644 index 000000000..97bde6b08 Binary files /dev/null and b/.yarn/cache/redis-errors-npm-1.2.0-a81fd9b0f1-f28ac26921.zip differ diff --git a/.yarn/cache/redis-parser-npm-3.0.0-7ebe40abcb-89290ae530.zip b/.yarn/cache/redis-parser-npm-3.0.0-7ebe40abcb-89290ae530.zip new file mode 100644 index 000000000..8ee1a7bcc Binary files /dev/null and b/.yarn/cache/redis-parser-npm-3.0.0-7ebe40abcb-89290ae530.zip differ diff --git a/.yarn/cache/send-npm-0.18.0-faadf6353f-74fc07ebb5.zip b/.yarn/cache/send-npm-0.18.0-faadf6353f-74fc07ebb5.zip new file mode 100644 index 000000000..72320b46d Binary files /dev/null and b/.yarn/cache/send-npm-0.18.0-faadf6353f-74fc07ebb5.zip differ diff --git a/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-af57fc13be.zip b/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-af57fc13be.zip new file mode 100644 index 000000000..b5719539a Binary files /dev/null and b/.yarn/cache/serve-static-npm-1.15.0-86c81879f5-af57fc13be.zip differ diff --git a/.yarn/cache/setprototypeof-npm-1.2.0-0fedbdcd3a-be18cbbf70.zip b/.yarn/cache/setprototypeof-npm-1.2.0-0fedbdcd3a-be18cbbf70.zip new file mode 100644 index 000000000..f6bd1cbd7 Binary files /dev/null and b/.yarn/cache/setprototypeof-npm-1.2.0-0fedbdcd3a-be18cbbf70.zip differ diff --git a/.yarn/cache/standard-as-callback-npm-2.1.0-8e47620bd4-88bec83ee2.zip b/.yarn/cache/standard-as-callback-npm-2.1.0-8e47620bd4-88bec83ee2.zip new file mode 100644 index 000000000..f166a786a Binary files /dev/null and b/.yarn/cache/standard-as-callback-npm-2.1.0-8e47620bd4-88bec83ee2.zip differ diff --git a/.yarn/cache/statuses-npm-2.0.1-81d2b97fee-18c7623fdb.zip b/.yarn/cache/statuses-npm-2.0.1-81d2b97fee-18c7623fdb.zip new file mode 100644 index 000000000..d54195d67 Binary files /dev/null and b/.yarn/cache/statuses-npm-2.0.1-81d2b97fee-18c7623fdb.zip differ diff --git a/.yarn/cache/toidentifier-npm-1.0.1-f759712599-952c29e2a8.zip b/.yarn/cache/toidentifier-npm-1.0.1-f759712599-952c29e2a8.zip new file mode 100644 index 000000000..595363e93 Binary files /dev/null and b/.yarn/cache/toidentifier-npm-1.0.1-f759712599-952c29e2a8.zip differ diff --git a/.yarn/cache/type-is-npm-1.6.18-6dee4d4961-2c8e47675d.zip b/.yarn/cache/type-is-npm-1.6.18-6dee4d4961-2c8e47675d.zip new file mode 100644 index 000000000..3bfed96dc Binary files /dev/null and b/.yarn/cache/type-is-npm-1.6.18-6dee4d4961-2c8e47675d.zip differ diff --git a/.yarn/cache/unpipe-npm-1.0.0-2ed2a3c2bf-4fa18d8d8d.zip b/.yarn/cache/unpipe-npm-1.0.0-2ed2a3c2bf-4fa18d8d8d.zip new file mode 100644 index 000000000..380809cf6 Binary files /dev/null and b/.yarn/cache/unpipe-npm-1.0.0-2ed2a3c2bf-4fa18d8d8d.zip differ diff --git a/.yarn/cache/utils-merge-npm-1.0.1-363bbdfbca-c810954932.zip b/.yarn/cache/utils-merge-npm-1.0.1-363bbdfbca-c810954932.zip new file mode 100644 index 000000000..8164f0572 Binary files /dev/null and b/.yarn/cache/utils-merge-npm-1.0.1-363bbdfbca-c810954932.zip differ diff --git a/.yarn/cache/uuid-npm-9.0.1-39a8442bc6-39931f6da7.zip b/.yarn/cache/uuid-npm-9.0.1-39a8442bc6-39931f6da7.zip new file mode 100644 index 000000000..9a64a7420 Binary files /dev/null and b/.yarn/cache/uuid-npm-9.0.1-39a8442bc6-39931f6da7.zip differ diff --git a/.yarn/cache/vary-npm-1.1.2-b49f70ae63-ae0123222c.zip b/.yarn/cache/vary-npm-1.1.2-b49f70ae63-ae0123222c.zip new file mode 100644 index 000000000..6ef083146 Binary files /dev/null and b/.yarn/cache/vary-npm-1.1.2-b49f70ae63-ae0123222c.zip differ diff --git a/apps/queue/.env b/apps/queue/.env index 0f8145a5f..776dcf47d 100644 --- a/apps/queue/.env +++ b/apps/queue/.env @@ -3,4 +3,6 @@ EMAIL_USER=email_user EMAIL_PASS=email_pass EMAIL_HOST=email_host DB_CONNECTION_STRING=mongodb://db.string -SEQUENCE_BOUNCE_LIMIT=3 +REDIS_HOST=localhost +REDIS_PORT=6379 +SEQUENCE_BOUNCE_LIMIT=3 \ No newline at end of file diff --git a/apps/queue/package.json b/apps/queue/package.json index 6ea4b2828..aad9213c1 100644 --- a/apps/queue/package.json +++ b/apps/queue/package.json @@ -13,6 +13,8 @@ }, "dependencies": { "@courselit/common-models": "workspace:^", + "bullmq": "^4.14.0", + "express": "^4.18.2", "mongoose": "^8.0.0", "nodemailer": "^6.9.2", "pino": "^8.14.1", diff --git a/apps/queue/src/domain/mail/handler.ts b/apps/queue/src/domain/mail/handler.ts new file mode 100644 index 000000000..169f840ce --- /dev/null +++ b/apps/queue/src/domain/mail/handler.ts @@ -0,0 +1,13 @@ +import type { MailJob } from "./model/mail-job"; +import mailQueue from "./queue"; + +export async function addMailJob({ to, subject, body, from }: MailJob) { + for (let recipient of to) { + await mailQueue.add("mail", { + to: recipient, + subject, + body, + from, + }); + } +} diff --git a/apps/queue/src/domain/mail/model/mail-job.ts b/apps/queue/src/domain/mail/model/mail-job.ts new file mode 100644 index 000000000..da94323f0 --- /dev/null +++ b/apps/queue/src/domain/mail/model/mail-job.ts @@ -0,0 +1,10 @@ +import { z } from "zod"; + +export const MailJob = z.object({ + to: z.string().array(), + from: z.string(), + subject: z.string(), + body: z.string(), +}); + +export type MailJob = z.infer; diff --git a/apps/queue/src/domain/mail/process-ongoing-sequences.ts b/apps/queue/src/domain/mail/process-ongoing-sequences.ts index 3db17dd80..8ce55cb96 100644 --- a/apps/queue/src/domain/mail/process-ongoing-sequences.ts +++ b/apps/queue/src/domain/mail/process-ongoing-sequences.ts @@ -17,6 +17,10 @@ const transporter = nodemailer.createTransport({ }, }); +const sequenceBounceLimit = process.env.SEQUENCE_BOUNCE_LIMIT + ? +process.env.SEQUENCE_BOUNCE_LIMIT + : 3; + export async function processOngoingSequences(): Promise { while (true) { const currentTime = new Date().getTime(); @@ -25,7 +29,7 @@ export async function processOngoingSequences(): Promise { const dueOngoingSequences: OngoingSequence[] = await OngoingSequenceModel.find({ nextEmailScheduledTime: { $lt: currentTime }, - retryCount: { $lt: +process.env.SEQUENCE_BOUNCE_LIMIT }, + retryCount: { $lt: sequenceBounceLimit }, }); for (const ongoingSequence of dueOngoingSequences) { @@ -134,7 +138,7 @@ async function attemptMailSending({ }); } catch (err: any) { ongoingSequence.retryCount++; - if (ongoingSequence.retryCount >= +process.env.SEQUENCE_BOUNCE_LIMIT) { + if (ongoingSequence.retryCount >= sequenceBounceLimit) { sequence.report.sequence.failed = [ ...sequence.report.sequence.failed, ongoingSequence.userId, diff --git a/apps/queue/src/domain/mail/queue.ts b/apps/queue/src/domain/mail/queue.ts new file mode 100644 index 000000000..b568ccd27 --- /dev/null +++ b/apps/queue/src/domain/mail/queue.ts @@ -0,0 +1,6 @@ +import { Queue } from "bullmq"; +import redis from "../../redis"; + +const mailQueue = new Queue("mail", { connection: redis }); + +export default mailQueue; diff --git a/apps/queue/src/domain/mail/worker.ts b/apps/queue/src/domain/mail/worker.ts new file mode 100644 index 000000000..db3cbc9c6 --- /dev/null +++ b/apps/queue/src/domain/mail/worker.ts @@ -0,0 +1,34 @@ +import { Worker } from "bullmq"; +import nodemailer from "nodemailer"; +import redis from "../../redis"; +import { logger } from "../../logger"; + +const transporter = nodemailer.createTransport({ + host: process.env.EMAIL_HOST, + port: +(process.env.EMAIL_PORT || 587), + auth: { + user: process.env.EMAIL_USER, + pass: process.env.EMAIL_PASS, + }, +}); + +const worker = new Worker( + "mail", + async (job) => { + const { to, from, subject, body } = job.data; + + try { + await transporter.sendMail({ + from, + to, + subject, + html: body, + }); + } catch (err: any) { + logger.error(err); + } + }, + { connection: redis }, +); + +export default worker; diff --git a/apps/queue/src/index.ts b/apps/queue/src/index.ts index e4a18bdeb..826ef0ff6 100644 --- a/apps/queue/src/index.ts +++ b/apps/queue/src/index.ts @@ -1,10 +1,18 @@ -import { connectToDatabase } from "./db"; -import { processOngoingSequences } from "./domain/mail/process-ongoing-sequences"; -import { processRules } from "./domain/mail/process-rules"; +import express from "express"; +import jobRoutes from "./job/routes"; -(async () => { - await connectToDatabase(); +// start workers +import "./domain/mail/worker"; +import { startEmailAutomation } from "./start-email-automation"; - processOngoingSequences(); - processRules(); -})(); +const app = express(); +app.use(express.json()); + +app.use("/job", jobRoutes); + +startEmailAutomation(); + +const port = process.env.PORT || 80; +app.listen(port, () => { + console.log(`Queue server running at ${port}`); +}); diff --git a/apps/queue/src/job/routes.ts b/apps/queue/src/job/routes.ts new file mode 100644 index 000000000..25eba3118 --- /dev/null +++ b/apps/queue/src/job/routes.ts @@ -0,0 +1,22 @@ +import express from "express"; +import { addMailJob } from "../domain/mail/handler"; +import { logger } from "../logger"; +import { MailJob } from "../domain/mail/model/mail-job"; + +const router = express.Router(); + +router.post("/mail", async (req: express.Request, res: express.Response) => { + try { + const { to, from, subject, body } = req.body; + MailJob.parse({ to, from, subject, body }); + + await addMailJob({ to, from, subject, body }); + + res.status(200).json({ message: "Success" }); + } catch (err: any) { + logger.error(err); + res.status(500).json({ error: err.message }); + } +}); + +export default router; diff --git a/apps/queue/src/redis.ts b/apps/queue/src/redis.ts new file mode 100644 index 000000000..8b7479e12 --- /dev/null +++ b/apps/queue/src/redis.ts @@ -0,0 +1,4 @@ +export default { + host: process.env.REDIS_HOST || "localhost", + port: +(process.env.REDIS_PORT || 6379), +}; diff --git a/apps/queue/src/start-email-automation.ts b/apps/queue/src/start-email-automation.ts new file mode 100644 index 000000000..a6dcba5a0 --- /dev/null +++ b/apps/queue/src/start-email-automation.ts @@ -0,0 +1,10 @@ +import { connectToDatabase } from "./db"; +import { processOngoingSequences } from "./domain/mail/process-ongoing-sequences"; +import { processRules } from "./domain/mail/process-rules"; + +export async function startEmailAutomation() { + await connectToDatabase(); + + processOngoingSequences(); + processRules(); +} diff --git a/yarn.lock b/yarn.lock index ea8aacaf6..cbe4711ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1992,6 +1992,8 @@ __metadata: "@courselit/common-models": "workspace:^" "@types/express": ^4.17.17 "@types/nodemailer": ^6.4.8 + bullmq: ^4.14.0 + express: ^4.18.2 mongoose: ^8.0.0 nodemailer: ^6.9.2 pino: ^8.14.1 @@ -2788,6 +2790,13 @@ __metadata: languageName: node linkType: hard +"@ioredis/commands@npm:^1.1.1": + version: 1.2.0 + resolution: "@ioredis/commands@npm:1.2.0" + checksum: 9b20225ba36ef3e5caf69b3c0720597c3016cc9b1e157f519ea388f621dd9037177f84cfe7e25c4c32dad7dd90c70ff9123cd411f747e053cf292193c9c461e2 + languageName: node + linkType: hard + "@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": version: 0.3.3 resolution: "@jridgewell/gen-mapping@npm:0.3.3" @@ -3080,6 +3089,48 @@ __metadata: languageName: node linkType: hard +"@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:3.0.2": + version: 3.0.2 + resolution: "@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:3.0.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@msgpackr-extract/msgpackr-extract-darwin-x64@npm:3.0.2": + version: 3.0.2 + resolution: "@msgpackr-extract/msgpackr-extract-darwin-x64@npm:3.0.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@msgpackr-extract/msgpackr-extract-linux-arm64@npm:3.0.2": + version: 3.0.2 + resolution: "@msgpackr-extract/msgpackr-extract-linux-arm64@npm:3.0.2" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@msgpackr-extract/msgpackr-extract-linux-arm@npm:3.0.2": + version: 3.0.2 + resolution: "@msgpackr-extract/msgpackr-extract-linux-arm@npm:3.0.2" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@msgpackr-extract/msgpackr-extract-linux-x64@npm:3.0.2": + version: 3.0.2 + resolution: "@msgpackr-extract/msgpackr-extract-linux-x64@npm:3.0.2" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@msgpackr-extract/msgpackr-extract-win32-x64@npm:3.0.2": + version: 3.0.2 + resolution: "@msgpackr-extract/msgpackr-extract-win32-x64@npm:3.0.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@mui/base@npm:5.0.0-beta.17": version: 5.0.0-beta.17 resolution: "@mui/base@npm:5.0.0-beta.17" @@ -6581,6 +6632,16 @@ __metadata: languageName: node linkType: hard +"accepts@npm:~1.3.8": + version: 1.3.8 + resolution: "accepts@npm:1.3.8" + dependencies: + mime-types: ~2.1.34 + negotiator: 0.6.3 + checksum: 50c43d32e7b50285ebe84b613ee4a3aa426715a7d131b65b786e2ead0fd76b6b60091b9916d3478a75f11f162628a2139991b6c03ab3f1d9ab7c86075dc8eab4 + languageName: node + linkType: hard + "acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" @@ -6839,6 +6900,13 @@ __metadata: languageName: node linkType: hard +"array-flatten@npm:1.1.1": + version: 1.1.1 + resolution: "array-flatten@npm:1.1.1" + checksum: a9925bf3512d9dce202112965de90c222cd59a4fbfce68a0951d25d965cf44642931f40aac72309c41f12df19afa010ecadceb07cfff9ccc1621e99d89ab5f3b + languageName: node + linkType: hard + "array-includes@npm:^3.1.4, array-includes@npm:^3.1.5, array-includes@npm:^3.1.6": version: 3.1.6 resolution: "array-includes@npm:3.1.6" @@ -7164,6 +7232,26 @@ __metadata: languageName: node linkType: hard +"body-parser@npm:1.20.1": + version: 1.20.1 + resolution: "body-parser@npm:1.20.1" + dependencies: + bytes: 3.1.2 + content-type: ~1.0.4 + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + on-finished: 2.4.1 + qs: 6.11.0 + raw-body: 2.5.1 + type-is: ~1.6.18 + unpipe: 1.0.0 + checksum: f1050dbac3bede6a78f0b87947a8d548ce43f91ccc718a50dd774f3c81f2d8b04693e52acf62659fad23101827dd318da1fb1363444ff9a8482b886a3e4a5266 + languageName: node + linkType: hard + "boolean@npm:^3.0.1": version: 3.2.0 resolution: "boolean@npm:3.2.0" @@ -7304,6 +7392,23 @@ __metadata: languageName: node linkType: hard +"bullmq@npm:^4.14.0": + version: 4.14.0 + resolution: "bullmq@npm:4.14.0" + dependencies: + cron-parser: ^4.6.0 + glob: ^8.0.3 + ioredis: ^5.3.2 + lodash: ^4.17.21 + msgpackr: ^1.6.2 + node-abort-controller: ^3.1.1 + semver: ^7.5.4 + tslib: ^2.0.0 + uuid: ^9.0.0 + checksum: 0db6fa81440297e18593fb789b0f88b461be5cd633c80b8207e059b400b326305ead753ee176e279f240bf940e627b7afb834a4e4c9126db101bfb2f4b006ba9 + languageName: node + linkType: hard + "bundle-name@npm:^3.0.0": version: 3.0.0 resolution: "bundle-name@npm:3.0.0" @@ -7333,6 +7438,13 @@ __metadata: languageName: node linkType: hard +"bytes@npm:3.1.2": + version: 3.1.2 + resolution: "bytes@npm:3.1.2" + checksum: e4bcd3948d289c5127591fbedf10c0b639ccbf00243504e4e127374a15c3bc8eed0d28d4aaab08ff6f1cf2abc0cce6ba3085ed32f4f90e82a5683ce0014e1b6e + languageName: node + linkType: hard + "cac@npm:^6.7.12": version: 6.7.14 resolution: "cac@npm:6.7.14" @@ -7602,6 +7714,13 @@ __metadata: languageName: node linkType: hard +"cluster-key-slot@npm:^1.1.0": + version: 1.1.2 + resolution: "cluster-key-slot@npm:1.1.2" + checksum: be0ad2d262502adc998597e83f9ded1b80f827f0452127c5a37b22dfca36bab8edf393f7b25bb626006fb9fb2436106939ede6d2d6ecf4229b96a47f27edd681 + languageName: node + linkType: hard + "codemirror@npm:^5.65.13": version: 5.65.15 resolution: "codemirror@npm:5.65.15" @@ -7770,6 +7889,22 @@ __metadata: languageName: node linkType: hard +"content-disposition@npm:0.5.4": + version: 0.5.4 + resolution: "content-disposition@npm:0.5.4" + dependencies: + safe-buffer: 5.2.1 + checksum: afb9d545e296a5171d7574fcad634b2fdf698875f4006a9dd04a3e1333880c5c0c98d47b560d01216fb6505a54a2ba6a843ee3a02ec86d7e911e8315255f56c3 + languageName: node + linkType: hard + +"content-type@npm:~1.0.4": + version: 1.0.5 + resolution: "content-type@npm:1.0.5" + checksum: 566271e0a251642254cde0f845f9dd4f9856e52d988f4eb0d0dcffbb7a1f8ec98de7a5215fc628f3bce30fe2fb6fd2bc064b562d721658c59b544e2d34ea2766 + languageName: node + linkType: hard + "convert-source-map@npm:^1.5.0": version: 1.8.0 resolution: "convert-source-map@npm:1.8.0" @@ -7786,20 +7921,27 @@ __metadata: languageName: node linkType: hard -"cookie@npm:^0.4.2": - version: 0.4.2 - resolution: "cookie@npm:0.4.2" - checksum: a00833c998bedf8e787b4c342defe5fa419abd96b32f4464f718b91022586b8f1bafbddd499288e75c037642493c83083da426c6a9080d309e3bd90fd11baa9b +"cookie-signature@npm:1.0.6": + version: 1.0.6 + resolution: "cookie-signature@npm:1.0.6" + checksum: f4e1b0a98a27a0e6e66fd7ea4e4e9d8e038f624058371bf4499cfcd8f3980be9a121486995202ba3fca74fbed93a407d6d54d43a43f96fd28d0bd7a06761591a languageName: node linkType: hard -"cookie@npm:^0.5.0": +"cookie@npm:0.5.0, cookie@npm:^0.5.0": version: 0.5.0 resolution: "cookie@npm:0.5.0" checksum: 1f4bd2ca5765f8c9689a7e8954183f5332139eb72b6ff783d8947032ec1fdf43109852c178e21a953a30c0dd42257828185be01b49d1eb1a67fd054ca588a180 languageName: node linkType: hard +"cookie@npm:^0.4.2": + version: 0.4.2 + resolution: "cookie@npm:0.4.2" + checksum: a00833c998bedf8e787b4c342defe5fa419abd96b32f4464f718b91022586b8f1bafbddd499288e75c037642493c83083da426c6a9080d309e3bd90fd11baa9b + languageName: node + linkType: hard + "core-js-pure@npm:^3.20.2": version: 3.24.1 resolution: "core-js-pure@npm:3.24.1" @@ -7882,6 +8024,15 @@ __metadata: languageName: node linkType: hard +"cron-parser@npm:^4.6.0": + version: 4.9.0 + resolution: "cron-parser@npm:4.9.0" + dependencies: + luxon: ^3.2.1 + checksum: 3cf248fc5cae6c19ec7124962b1cd84b76f02b9bc4f58976b3bd07624db3ef10aaf1548efcc2d2dcdab0dad4f12029d640a55ecce05ea5e1596af9db585502cf + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -7946,6 +8097,15 @@ __metadata: languageName: node linkType: hard +"debug@npm:2.6.9, debug@npm:^2.6.9": + version: 2.6.9 + resolution: "debug@npm:2.6.9" + dependencies: + ms: 2.0.0 + checksum: d2f51589ca66df60bf36e1fa6e4386b318c3f1e06772280eea5b1ae9fd3d05e9c2b7fd8a7d862457d00853c75b00451aa2d7459b924629ee385287a650f58fe6 + languageName: node + linkType: hard + "debug@npm:4, debug@npm:4.x, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" @@ -7958,15 +8118,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^2.6.9": - version: 2.6.9 - resolution: "debug@npm:2.6.9" - dependencies: - ms: 2.0.0 - checksum: d2f51589ca66df60bf36e1fa6e4386b318c3f1e06772280eea5b1ae9fd3d05e9c2b7fd8a7d862457d00853c75b00451aa2d7459b924629ee385287a650f58fe6 - languageName: node - linkType: hard - "debug@npm:^3.2.7": version: 3.2.7 resolution: "debug@npm:3.2.7" @@ -8077,6 +8228,20 @@ __metadata: languageName: node linkType: hard +"denque@npm:^2.1.0": + version: 2.1.0 + resolution: "denque@npm:2.1.0" + checksum: 1d4ae1d05e59ac3a3481e7b478293f4b4c813819342273f3d5b826c7ffa9753c520919ba264f377e09108d24ec6cf0ec0ac729a5686cbb8f32d797126c5dae74 + languageName: node + linkType: hard + +"depd@npm:2.0.0": + version: 2.0.0 + resolution: "depd@npm:2.0.0" + checksum: abbe19c768c97ee2eed6282d8ce3031126662252c58d711f646921c9623f9052e3e1906443066beec1095832f534e57c523b7333f8e7e0d93051ab6baef5ab3a + languageName: node + linkType: hard + "depd@npm:^1.1.2": version: 1.1.2 resolution: "depd@npm:1.1.2" @@ -8091,6 +8256,13 @@ __metadata: languageName: node linkType: hard +"destroy@npm:1.2.0": + version: 1.2.0 + resolution: "destroy@npm:1.2.0" + checksum: 0acb300b7478a08b92d810ab229d5afe0d2f4399272045ab22affa0d99dbaf12637659411530a6fcd597a9bdac718fc94373a61a95b4651bbc7b83684a565e38 + languageName: node + linkType: hard + "detect-libc@npm:^2.0.0, detect-libc@npm:^2.0.1": version: 2.0.1 resolution: "detect-libc@npm:2.0.1" @@ -8214,6 +8386,13 @@ __metadata: languageName: node linkType: hard +"ee-first@npm:1.1.1": + version: 1.1.1 + resolution: "ee-first@npm:1.1.1" + checksum: 1b4cac778d64ce3b582a7e26b218afe07e207a0f9bfe13cc7395a6d307849cfe361e65033c3251e00c27dd060cab43014c2d6b2647676135e18b77d2d05b3f4f + languageName: node + linkType: hard + "electron-to-chromium@npm:^1.4.535": version: 1.4.537 resolution: "electron-to-chromium@npm:1.4.537" @@ -8282,6 +8461,13 @@ __metadata: languageName: node linkType: hard +"encodeurl@npm:~1.0.2": + version: 1.0.2 + resolution: "encodeurl@npm:1.0.2" + checksum: e50e3d508cdd9c4565ba72d2012e65038e5d71bdc9198cb125beb6237b5b1ade6c0d343998da9e170fb2eae52c1bed37d4d6d98a46ea423a0cddbed5ac3f780c + languageName: node + linkType: hard + "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -9019,6 +9205,13 @@ __metadata: languageName: node linkType: hard +"escape-html@npm:~1.0.3": + version: 1.0.3 + resolution: "escape-html@npm:1.0.3" + checksum: 6213ca9ae00d0ab8bccb6d8d4e0a98e76237b2410302cf7df70aaa6591d509a2a37ce8998008cbecae8fc8ffaadf3fb0229535e6a145f3ce0b211d060decbb24 + languageName: node + linkType: hard + "escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -9473,6 +9666,13 @@ __metadata: languageName: node linkType: hard +"etag@npm:~1.8.1": + version: 1.8.1 + resolution: "etag@npm:1.8.1" + checksum: 571aeb3dbe0f2bbd4e4fadbdb44f325fc75335cd5f6f6b6a091e6a06a9f25ed5392f0863c5442acb0646787446e816f13cbfc6edce5b07658541dff573cab1ff + languageName: node + linkType: hard + "event-target-shim@npm:^5.0.0": version: 5.0.1 resolution: "event-target-shim@npm:5.0.1" @@ -9545,6 +9745,45 @@ __metadata: languageName: node linkType: hard +"express@npm:^4.18.2": + version: 4.18.2 + resolution: "express@npm:4.18.2" + dependencies: + accepts: ~1.3.8 + array-flatten: 1.1.1 + body-parser: 1.20.1 + content-disposition: 0.5.4 + content-type: ~1.0.4 + cookie: 0.5.0 + cookie-signature: 1.0.6 + debug: 2.6.9 + depd: 2.0.0 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + etag: ~1.8.1 + finalhandler: 1.2.0 + fresh: 0.5.2 + http-errors: 2.0.0 + merge-descriptors: 1.0.1 + methods: ~1.1.2 + on-finished: 2.4.1 + parseurl: ~1.3.3 + path-to-regexp: 0.1.7 + proxy-addr: ~2.0.7 + qs: 6.11.0 + range-parser: ~1.2.1 + safe-buffer: 5.2.1 + send: 0.18.0 + serve-static: 1.15.0 + setprototypeof: 1.2.0 + statuses: 2.0.1 + type-is: ~1.6.18 + utils-merge: 1.0.1 + vary: ~1.1.2 + checksum: 3c4b9b076879442f6b968fe53d85d9f1eeacbb4f4c41e5f16cc36d77ce39a2b0d81b3f250514982110d815b2f7173f5561367f9110fcc541f9371948e8c8b037 + languageName: node + linkType: hard + "extend-shallow@npm:^2.0.1": version: 2.0.1 resolution: "extend-shallow@npm:2.0.1" @@ -9657,6 +9896,21 @@ __metadata: languageName: node linkType: hard +"finalhandler@npm:1.2.0": + version: 1.2.0 + resolution: "finalhandler@npm:1.2.0" + dependencies: + debug: 2.6.9 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + on-finished: 2.4.1 + parseurl: ~1.3.3 + statuses: 2.0.1 + unpipe: ~1.0.0 + checksum: 92effbfd32e22a7dff2994acedbd9bcc3aa646a3e919ea6a53238090e87097f8ef07cced90aa2cc421abdf993aefbdd5b00104d55c7c5479a8d00ed105b45716 + languageName: node + linkType: hard + "find-babel-config@npm:^1.2.0": version: 1.2.0 resolution: "find-babel-config@npm:1.2.0" @@ -9748,6 +10002,13 @@ __metadata: languageName: node linkType: hard +"forwarded@npm:0.2.0": + version: 0.2.0 + resolution: "forwarded@npm:0.2.0" + checksum: fd27e2394d8887ebd16a66ffc889dc983fbbd797d5d3f01087c020283c0f019a7d05ee85669383d8e0d216b116d720fc0cef2f6e9b7eb9f4c90c6e0bc7fd28e6 + languageName: node + linkType: hard + "fraction.js@npm:^4.2.0": version: 4.2.0 resolution: "fraction.js@npm:4.2.0" @@ -9755,6 +10016,13 @@ __metadata: languageName: node linkType: hard +"fresh@npm:0.5.2": + version: 0.5.2 + resolution: "fresh@npm:0.5.2" + checksum: 13ea8b08f91e669a64e3ba3a20eb79d7ca5379a81f1ff7f4310d54e2320645503cc0c78daedc93dfb6191287295f6479544a649c64d8e41a1c0fb0c221552346 + languageName: node + linkType: hard + "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -9991,7 +10259,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.1": +"glob@npm:^8.0.1, glob@npm:^8.0.3": version: 8.1.0 resolution: "glob@npm:8.1.0" dependencies: @@ -10377,6 +10645,19 @@ __metadata: languageName: node linkType: hard +"http-errors@npm:2.0.0": + version: 2.0.0 + resolution: "http-errors@npm:2.0.0" + dependencies: + depd: 2.0.0 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 2.0.1 + toidentifier: 1.0.1 + checksum: 9b0a3782665c52ce9dc658a0d1560bcb0214ba5699e4ea15aefb2a496e2ca83db03ebc42e1cce4ac1f413e4e0d2d736a3fd755772c556a9a06853ba2a0b7d920 + languageName: node + linkType: hard + "http-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "http-proxy-agent@npm:5.0.0" @@ -10435,6 +10716,15 @@ __metadata: languageName: node linkType: hard +"iconv-lite@npm:0.4.24": + version: 0.4.24 + resolution: "iconv-lite@npm:0.4.24" + dependencies: + safer-buffer: ">= 2.1.2 < 3" + checksum: bd9f120f5a5b306f0bc0b9ae1edeb1577161503f5f8252a20f1a9e56ef8775c9959fd01c55f2d3a39d9a8abaf3e30c1abeb1895f367dcbbe0a8fd1c9ca01c4f6 + languageName: node + linkType: hard + "iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -10515,7 +10805,7 @@ __metadata: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": +"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1 @@ -10556,6 +10846,23 @@ __metadata: languageName: node linkType: hard +"ioredis@npm:^5.3.2": + version: 5.3.2 + resolution: "ioredis@npm:5.3.2" + dependencies: + "@ioredis/commands": ^1.1.1 + cluster-key-slot: ^1.1.0 + debug: ^4.3.4 + denque: ^2.1.0 + lodash.defaults: ^4.2.0 + lodash.isarguments: ^3.1.0 + redis-errors: ^1.2.0 + redis-parser: ^3.0.0 + standard-as-callback: ^2.1.0 + checksum: 9a23559133e862a768778301efb68ae8c2af3c33562174b54a4c2d6574b976e85c75a4c34857991af733e35c48faf4c356e7daa8fb0a3543d85ff1768c8754bc + languageName: node + linkType: hard + "ip@npm:^2.0.0": version: 2.0.0 resolution: "ip@npm:2.0.0" @@ -10563,6 +10870,13 @@ __metadata: languageName: node linkType: hard +"ipaddr.js@npm:1.9.1": + version: 1.9.1 + resolution: "ipaddr.js@npm:1.9.1" + checksum: f88d3825981486f5a1942414c8d77dd6674dd71c065adcfa46f578d677edcb99fda25af42675cb59db492fdf427b34a5abfcde3982da11a8fd83a500b41cfe77 + languageName: node + linkType: hard + "is-alphabetical@npm:^1.0.0": version: 1.0.4 resolution: "is-alphabetical@npm:1.0.4" @@ -11321,6 +11635,13 @@ __metadata: languageName: node linkType: hard +"lodash.isarguments@npm:^3.1.0": + version: 3.1.0 + resolution: "lodash.isarguments@npm:3.1.0" + checksum: ae1526f3eb5c61c77944b101b1f655f846ecbedcb9e6b073526eba6890dc0f13f09f72e11ffbf6540b602caee319af9ac363d6cdd6be41f4ee453436f04f13b5 + languageName: node + linkType: hard + "lodash.isplainobject@npm:^4.0.6": version: 4.0.6 resolution: "lodash.isplainobject@npm:4.0.6" @@ -11349,7 +11670,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.0.1, lodash@npm:^4.17.15, lodash@npm:^4.2.1": +"lodash@npm:^4.0.1, lodash@npm:^4.17.15, lodash@npm:^4.17.21, lodash@npm:^4.2.1": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -11409,6 +11730,13 @@ __metadata: languageName: node linkType: hard +"luxon@npm:^3.2.1": + version: 3.4.4 + resolution: "luxon@npm:3.4.4" + checksum: 36c1f99c4796ee4bfddf7dc94fa87815add43ebc44c8934c924946260a58512f0fd2743a629302885df7f35ccbd2d13f178c15df046d0e3b6eb71db178f1c60c + languageName: node + linkType: hard + "magic-string@npm:^0.25.9": version: 0.25.9 resolution: "magic-string@npm:0.25.9" @@ -11678,6 +12006,13 @@ __metadata: languageName: node linkType: hard +"media-typer@npm:0.3.0": + version: 0.3.0 + resolution: "media-typer@npm:0.3.0" + checksum: af1b38516c28ec95d6b0826f6c8f276c58aec391f76be42aa07646b4e39d317723e869700933ca6995b056db4b09a78c92d5440dc23657e6764be5d28874bba1 + languageName: node + linkType: hard + "memory-pager@npm:^1.0.2": version: 1.5.0 resolution: "memory-pager@npm:1.5.0" @@ -11685,6 +12020,13 @@ __metadata: languageName: node linkType: hard +"merge-descriptors@npm:1.0.1": + version: 1.0.1 + resolution: "merge-descriptors@npm:1.0.1" + checksum: 5abc259d2ae25bb06d19ce2b94a21632583c74e2a9109ee1ba7fd147aa7362b380d971e0251069f8b3eb7d48c21ac839e21fa177b335e82c76ec172e30c31a26 + languageName: node + linkType: hard + "merge-stream@npm:^2.0.0": version: 2.0.0 resolution: "merge-stream@npm:2.0.0" @@ -11699,6 +12041,13 @@ __metadata: languageName: node linkType: hard +"methods@npm:~1.1.2": + version: 1.1.2 + resolution: "methods@npm:1.1.2" + checksum: 0917ff4041fa8e2f2fda5425a955fe16ca411591fbd123c0d722fcf02b73971ed6f764d85f0a6f547ce49ee0221ce2c19a5fa692157931cecb422984f1dcd13a + languageName: node + linkType: hard + "micromark-core-commonmark@npm:^1.0.0, micromark-core-commonmark@npm:^1.0.1": version: 1.0.6 resolution: "micromark-core-commonmark@npm:1.0.6" @@ -12095,6 +12444,31 @@ __metadata: languageName: node linkType: hard +"mime-db@npm:1.52.0": + version: 1.52.0 + resolution: "mime-db@npm:1.52.0" + checksum: 0d99a03585f8b39d68182803b12ac601d9c01abfa28ec56204fa330bc9f3d1c5e14beb049bafadb3dbdf646dfb94b87e24d4ec7b31b7279ef906a8ea9b6a513f + languageName: node + linkType: hard + +"mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": + version: 2.1.35 + resolution: "mime-types@npm:2.1.35" + dependencies: + mime-db: 1.52.0 + checksum: 89a5b7f1def9f3af5dad6496c5ed50191ae4331cc5389d7c521c8ad28d5fdad2d06fd81baf38fed813dc4e46bb55c8145bb0ff406330818c9cf712fb2e9b3836 + languageName: node + linkType: hard + +"mime@npm:1.6.0": + version: 1.6.0 + resolution: "mime@npm:1.6.0" + bin: + mime: cli.js + checksum: fef25e39263e6d207580bdc629f8872a3f9772c923c7f8c7e793175cee22777bbe8bba95e5d509a40aaa292d8974514ce634ae35769faa45f22d17edda5e8557 + languageName: node + linkType: hard + "mime@npm:^3.0.0": version: 3.0.0 resolution: "mime@npm:3.0.0" @@ -12436,6 +12810,49 @@ __metadata: languageName: node linkType: hard +"msgpackr-extract@npm:^3.0.2": + version: 3.0.2 + resolution: "msgpackr-extract@npm:3.0.2" + dependencies: + "@msgpackr-extract/msgpackr-extract-darwin-arm64": 3.0.2 + "@msgpackr-extract/msgpackr-extract-darwin-x64": 3.0.2 + "@msgpackr-extract/msgpackr-extract-linux-arm": 3.0.2 + "@msgpackr-extract/msgpackr-extract-linux-arm64": 3.0.2 + "@msgpackr-extract/msgpackr-extract-linux-x64": 3.0.2 + "@msgpackr-extract/msgpackr-extract-win32-x64": 3.0.2 + node-gyp: latest + node-gyp-build-optional-packages: 5.0.7 + dependenciesMeta: + "@msgpackr-extract/msgpackr-extract-darwin-arm64": + optional: true + "@msgpackr-extract/msgpackr-extract-darwin-x64": + optional: true + "@msgpackr-extract/msgpackr-extract-linux-arm": + optional: true + "@msgpackr-extract/msgpackr-extract-linux-arm64": + optional: true + "@msgpackr-extract/msgpackr-extract-linux-x64": + optional: true + "@msgpackr-extract/msgpackr-extract-win32-x64": + optional: true + bin: + download-msgpackr-prebuilds: bin/download-prebuilds.js + checksum: 5adb809b965bac41c310e60373d54c955fe78e4d134ab036d0f9ee5b322cec0a739878d395e17c1ac82d840705896b2dafae6a8cc04ad34c14d2de4b06b58330 + languageName: node + linkType: hard + +"msgpackr@npm:^1.6.2": + version: 1.9.9 + resolution: "msgpackr@npm:1.9.9" + dependencies: + msgpackr-extract: ^3.0.2 + dependenciesMeta: + msgpackr-extract: + optional: true + checksum: b63182d99f479d79f0d082fd2688ce7cf699b1aee71e20f28591c30b48743bb57868fdd72656759a892891072d186d864702c756434520709e8fe7e0d350a119 + languageName: node + linkType: hard + "multishift@npm:^2.0.8": version: 2.0.9 resolution: "multishift@npm:2.0.9" @@ -12506,7 +12923,7 @@ __metadata: languageName: node linkType: hard -"negotiator@npm:^0.6.3": +"negotiator@npm:0.6.3, negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3" checksum: b8ffeb1e262eff7968fc90a2b6767b04cfd9842582a9d0ece0af7049537266e7b2506dfb1d107a32f06dd849ab2aea834d5830f7f4d0e5cb7d36e1ae55d021d9 @@ -12642,6 +13059,13 @@ __metadata: languageName: node linkType: hard +"node-abort-controller@npm:^3.1.1": + version: 3.1.1 + resolution: "node-abort-controller@npm:3.1.1" + checksum: 2c340916af9710328b11c0828223fc65ba320e0d082214a211311bf64c2891028e42ef276b9799188c4ada9e6e1c54cf7a0b7c05dd9d59fcdc8cd633304c8047 + languageName: node + linkType: hard + "node-addon-api@npm:^5.0.0": version: 5.0.0 resolution: "node-addon-api@npm:5.0.0" @@ -12669,6 +13093,17 @@ __metadata: languageName: node linkType: hard +"node-gyp-build-optional-packages@npm:5.0.7": + version: 5.0.7 + resolution: "node-gyp-build-optional-packages@npm:5.0.7" + bin: + node-gyp-build-optional-packages: bin.js + node-gyp-build-optional-packages-optional: optional.js + node-gyp-build-optional-packages-test: build-test.js + checksum: bcb4537af15bcb3811914ea0db8f69284ca10db1cc7543a167a4c41ae4b9b5044b133f789fdadad0b7adc6931f6ae7def3c75b0bc7b05836881aae52400163e6 + languageName: node + linkType: hard + "node-gyp@npm:latest": version: 9.1.0 resolution: "node-gyp@npm:9.1.0" @@ -12894,6 +13329,15 @@ __metadata: languageName: node linkType: hard +"on-finished@npm:2.4.1": + version: 2.4.1 + resolution: "on-finished@npm:2.4.1" + dependencies: + ee-first: 1.1.1 + checksum: d20929a25e7f0bb62f937a425b5edeb4e4cde0540d77ba146ec9357f00b0d497cdb3b9b05b9c8e46222407d1548d08166bff69cc56dfa55ba0e4469228920ff0 + languageName: node + linkType: hard + "once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -13127,6 +13571,13 @@ __metadata: languageName: node linkType: hard +"parseurl@npm:~1.3.3": + version: 1.3.3 + resolution: "parseurl@npm:1.3.3" + checksum: 407cee8e0a3a4c5cd472559bca8b6a45b82c124e9a4703302326e9ab60fc1081442ada4e02628efef1eb16197ddc7f8822f5a91fd7d7c86b51f530aedb17dfa2 + languageName: node + linkType: hard + "path-browserify@npm:^1.0.1": version: 1.0.1 resolution: "path-browserify@npm:1.0.1" @@ -13176,6 +13627,13 @@ __metadata: languageName: node linkType: hard +"path-to-regexp@npm:0.1.7": + version: 0.1.7 + resolution: "path-to-regexp@npm:0.1.7" + checksum: 69a14ea24db543e8b0f4353305c5eac6907917031340e5a8b37df688e52accd09e3cebfe1660b70d76b6bd89152f52183f28c74813dbf454ba1a01c82a38abce + languageName: node + linkType: hard + "path-to-regexp@npm:^6.2.1": version: 6.2.1 resolution: "path-to-regexp@npm:6.2.1" @@ -13828,6 +14286,16 @@ __metadata: languageName: node linkType: hard +"proxy-addr@npm:~2.0.7": + version: 2.0.7 + resolution: "proxy-addr@npm:2.0.7" + dependencies: + forwarded: 0.2.0 + ipaddr.js: 1.9.1 + checksum: 29c6990ce9364648255454842f06f8c46fcd124d3e6d7c5066df44662de63cdc0bad032e9bf5a3d653ff72141cc7b6019873d685708ac8210c30458ad99f2b74 + languageName: node + linkType: hard + "pug-attrs@npm:^3.0.0": version: 3.0.0 resolution: "pug-attrs@npm:3.0.0" @@ -13972,7 +14440,7 @@ __metadata: languageName: node linkType: hard -"qs@npm:^6.10.3": +"qs@npm:6.11.0, qs@npm:^6.10.3": version: 6.11.0 resolution: "qs@npm:6.11.0" dependencies: @@ -14002,6 +14470,25 @@ __metadata: languageName: node linkType: hard +"range-parser@npm:~1.2.1": + version: 1.2.1 + resolution: "range-parser@npm:1.2.1" + checksum: 0a268d4fea508661cf5743dfe3d5f47ce214fd6b7dec1de0da4d669dd4ef3d2144468ebe4179049eff253d9d27e719c88dae55be64f954e80135a0cada804ec9 + languageName: node + linkType: hard + +"raw-body@npm:2.5.1": + version: 2.5.1 + resolution: "raw-body@npm:2.5.1" + dependencies: + bytes: 3.1.2 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + unpipe: 1.0.0 + checksum: 5362adff1575d691bb3f75998803a0ffed8c64eabeaa06e54b4ada25a0cd1b2ae7f4f5ec46565d1bec337e08b5ac90c76eaa0758de6f72a633f025d754dec29e + languageName: node + linkType: hard + "rc@npm:^1.2.7": version: 1.2.8 resolution: "rc@npm:1.2.8" @@ -14267,6 +14754,22 @@ __metadata: languageName: node linkType: hard +"redis-errors@npm:^1.0.0, redis-errors@npm:^1.2.0": + version: 1.2.0 + resolution: "redis-errors@npm:1.2.0" + checksum: f28ac2692113f6f9c222670735aa58aeae413464fd58ccf3fce3f700cae7262606300840c802c64f2b53f19f65993da24dc918afc277e9e33ac1ff09edb394f4 + languageName: node + linkType: hard + +"redis-parser@npm:^3.0.0": + version: 3.0.0 + resolution: "redis-parser@npm:3.0.0" + dependencies: + redis-errors: ^1.0.0 + checksum: 89290ae530332f2ae37577647fa18208d10308a1a6ba750b9d9a093e7398f5e5253f19855b64c98757f7129cccce958e4af2573fdc33bad41405f87f1943459a + languageName: node + linkType: hard + "redux-thunk@npm:^2.4.1": version: 2.4.1 resolution: "redux-thunk@npm:2.4.1" @@ -14818,7 +15321,7 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:^5.0.1, safe-buffer@npm:~5.2.0": +"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491 @@ -14850,7 +15353,7 @@ __metadata: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3.0.0": +"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: cab8f25ae6f1434abee8d80023d7e72b598cf1327164ddab31003c51215526801e40b66c5e65d658a0af1e9d6478cadcb4c745f4bd6751f97d8644786c0978b0 @@ -14921,6 +15424,27 @@ __metadata: languageName: node linkType: hard +"send@npm:0.18.0": + version: 0.18.0 + resolution: "send@npm:0.18.0" + dependencies: + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + etag: ~1.8.1 + fresh: 0.5.2 + http-errors: 2.0.0 + mime: 1.6.0 + ms: 2.1.3 + on-finished: 2.4.1 + range-parser: ~1.2.1 + statuses: 2.0.1 + checksum: 74fc07ebb58566b87b078ec63e5a3e41ecd987e4272ba67b7467e86c6ad51bc6b0b0154133b6d8b08a2ddda360464f71382f7ef864700f34844a76c8027817a8 + languageName: node + linkType: hard + "serialize-error@npm:^7.0.1": version: 7.0.1 resolution: "serialize-error@npm:7.0.1" @@ -14930,6 +15454,18 @@ __metadata: languageName: node linkType: hard +"serve-static@npm:1.15.0": + version: 1.15.0 + resolution: "serve-static@npm:1.15.0" + dependencies: + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + parseurl: ~1.3.3 + send: 0.18.0 + checksum: af57fc13be40d90a12562e98c0b7855cf6e8bd4c107fe9a45c212bf023058d54a1871b1c89511c3958f70626fff47faeb795f5d83f8cf88514dbaeb2b724464d + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -14937,6 +15473,13 @@ __metadata: languageName: node linkType: hard +"setprototypeof@npm:1.2.0": + version: 1.2.0 + resolution: "setprototypeof@npm:1.2.0" + checksum: be18cbbf70e7d8097c97f713a2e76edf84e87299b40d085c6bf8b65314e994cc15e2e317727342fa6996e38e1f52c59720b53fe621e2eb593a6847bf0356db89 + languageName: node + linkType: hard + "sharp@npm:^0.30.6": version: 0.30.7 resolution: "sharp@npm:0.30.7" @@ -15206,6 +15749,20 @@ __metadata: languageName: node linkType: hard +"standard-as-callback@npm:^2.1.0": + version: 2.1.0 + resolution: "standard-as-callback@npm:2.1.0" + checksum: 88bec83ee220687c72d94fd86a98d5272c91d37ec64b66d830dbc0d79b62bfa6e47f53b71646011835fc9ce7fae62739545d13124262b53be4fbb3e2ebad551c + languageName: node + linkType: hard + +"statuses@npm:2.0.1": + version: 2.0.1 + resolution: "statuses@npm:2.0.1" + checksum: 18c7623fdb8f646fb213ca4051be4df7efb3484d4ab662937ca6fbef7ced9b9e12842709872eb3020cc3504b93bde88935c9f6417489627a7786f24f8031cbcb + languageName: node + linkType: hard + "streamsearch@npm:^1.1.0": version: 1.1.0 resolution: "streamsearch@npm:1.1.0" @@ -15709,6 +16266,13 @@ __metadata: languageName: node linkType: hard +"toidentifier@npm:1.0.1": + version: 1.0.1 + resolution: "toidentifier@npm:1.0.1" + checksum: 952c29e2a85d7123239b5cfdd889a0dde47ab0497f0913d70588f19c53f7e0b5327c95f4651e413c74b785147f9637b17410ac8c846d5d4a20a5a33eb6dc3a45 + languageName: node + linkType: hard + "token-stream@npm:1.0.0": version: 1.0.0 resolution: "token-stream@npm:1.0.0" @@ -15991,6 +16555,16 @@ __metadata: languageName: node linkType: hard +"type-is@npm:~1.6.18": + version: 1.6.18 + resolution: "type-is@npm:1.6.18" + dependencies: + media-typer: 0.3.0 + mime-types: ~2.1.24 + checksum: 2c8e47675d55f8b4e404bcf529abdf5036c537a04c2b20177bcf78c9e3c1da69da3942b1346e6edb09e823228c0ee656ef0e033765ec39a70d496ef601a0c657 + languageName: node + linkType: hard + "typed-array-length@npm:^1.0.4": version: 1.0.4 resolution: "typed-array-length@npm:1.0.4" @@ -16220,6 +16794,13 @@ __metadata: languageName: node linkType: hard +"unpipe@npm:1.0.0, unpipe@npm:~1.0.0": + version: 1.0.0 + resolution: "unpipe@npm:1.0.0" + checksum: 4fa18d8d8d977c55cb09715385c203197105e10a6d220087ec819f50cb68870f02942244f1017565484237f1f8c5d3cd413631b1ae104d3096f24fdfde1b4aa2 + languageName: node + linkType: hard + "unraw@npm:^3.0.0": version: 3.0.0 resolution: "unraw@npm:3.0.0" @@ -16327,6 +16908,13 @@ __metadata: languageName: node linkType: hard +"utils-merge@npm:1.0.1": + version: 1.0.1 + resolution: "utils-merge@npm:1.0.1" + checksum: c81095493225ecfc28add49c106ca4f09cdf56bc66731aa8dabc2edbbccb1e1bfe2de6a115e5c6a380d3ea166d1636410b62ef216bb07b3feb1cfde1d95d5080 + languageName: node + linkType: hard + "uuid@npm:^8.3.2": version: 8.3.2 resolution: "uuid@npm:8.3.2" @@ -16336,6 +16924,15 @@ __metadata: languageName: node linkType: hard +"uuid@npm:^9.0.0": + version: 9.0.1 + resolution: "uuid@npm:9.0.1" + bin: + uuid: dist/bin/uuid + checksum: 39931f6da74e307f51c0fb463dc2462807531dc80760a9bff1e35af4316131b4fc3203d16da60ae33f07fdca5b56f3f1dd662da0c99fea9aaeab2004780cc5f4 + languageName: node + linkType: hard + "uvu@npm:^0.5.0": version: 0.5.6 resolution: "uvu@npm:0.5.6" @@ -16350,6 +16947,13 @@ __metadata: languageName: node linkType: hard +"vary@npm:~1.1.2": + version: 1.1.2 + resolution: "vary@npm:1.1.2" + checksum: ae0123222c6df65b437669d63dfa8c36cee20a504101b2fcd97b8bf76f91259c17f9f2b4d70a1e3c6bbcee7f51b28392833adb6b2770b23b01abec84e369660b + languageName: node + linkType: hard + "vfile-location@npm:^4.0.0": version: 4.0.1 resolution: "vfile-location@npm:4.0.1"