diff --git a/package.json b/package.json index 6a69f4e..4489697 100644 --- a/package.json +++ b/package.json @@ -1,31 +1,31 @@ { - "name": "alert-server", - "version": "1.0.0", - "description": "A web server that sends alerts to our logging inbox.", - "main": "index.js", - "type": "module", - "scripts": { - "build": "rm -rf prod && tsc", - "lint": "eslint src --max-warnings 0", - "start": "op run --env-file=prod.env --no-masking -- node prod/index.js", - "test": "echo \"Error: no test specified\" && exit 0" - }, - "keywords": [], - "author": "Naomi Carrigan", - "license": "See license in LICENSE.md", - "devDependencies": { - "@nhcarrigan/eslint-config": "5.1.0", - "@nhcarrigan/typescript-config": "4.0.0", - "@types/node": "22.13.1", - "@types/nodemailer": "6.4.17", - "eslint": "9.20.0", - "typescript": "5.7.3" - }, - "dependencies": { - "discord-verify": "1.2.0", - "fastify": "5.2.1", - "fastify-raw-body": "^5.0.0", - "nodemailer": "6.10.0", - "stripe": "18.3.0" - } + "name": "alert-server", + "version": "1.0.0", + "description": "A web server that sends alerts to our logging inbox.", + "main": "index.js", + "type": "module", + "scripts": { + "build": "rm -rf prod && tsc", + "lint": "eslint src --max-warnings 0", + "start": "op run --env-file=prod.env --no-masking -- node prod/index.js", + "test": "echo \"Error: no test specified\" && exit 0" + }, + "keywords": [], + "author": "Naomi Carrigan", + "license": "See license in LICENSE.md", + "devDependencies": { + "@nhcarrigan/eslint-config": "5.1.0", + "@nhcarrigan/typescript-config": "4.0.0", + "@types/node": "25.2.3", + "@types/nodemailer": "6.4.17", + "eslint": "9.20.0", + "typescript": "5.7.3" + }, + "dependencies": { + "discord-verify": "1.2.0", + "fastify": "5.2.1", + "fastify-raw-body": "^5.0.0", + "nodemailer": "6.10.0", + "stripe": "18.3.0" + } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2e9e95c..f27d8b6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,17 +22,17 @@ importers: version: 6.10.0 stripe: specifier: 18.3.0 - version: 18.3.0(@types/node@22.13.1) + version: 18.3.0(@types/node@25.2.3) devDependencies: '@nhcarrigan/eslint-config': specifier: 5.1.0 - version: 5.1.0(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(playwright@1.50.1)(react@19.0.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@22.13.1)) + version: 5.1.0(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(playwright@1.50.1)(react@19.0.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@25.2.3)) '@nhcarrigan/typescript-config': specifier: 4.0.0 version: 4.0.0(typescript@5.7.3) '@types/node': - specifier: 22.13.1 - version: 22.13.1 + specifier: 25.2.3 + version: 25.2.3 '@types/nodemailer': specifier: 6.4.17 version: 6.4.17 @@ -371,51 +371,61 @@ packages: resolution: {integrity: sha512-88fSzjC5xeH9S2Vg3rPgXJULkHcLYMkh8faix8DX4h4TIAL65ekwuQMA/g2CXq8W+NJC43V6fUpYZNjaX3+IIg==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.34.6': resolution: {integrity: sha512-wM4ztnutBqYFyvNeR7Av+reWI/enK9tDOTKNF+6Kk2Q96k9bwhDDOlnCUNRPvromlVXo04riSliMBs/Z7RteEg==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.34.6': resolution: {integrity: sha512-9RyprECbRa9zEjXLtvvshhw4CMrRa3K+0wcp3KME0zmBe1ILmvcVHnypZ/aIDXpRyfhSYSuN4EPdCCj5Du8FIA==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.34.6': resolution: {integrity: sha512-qTmklhCTyaJSB05S+iSovfo++EwnIEZxHkzv5dep4qoszUMX5Ca4WM4zAVUMbfdviLgCSQOu5oU8YoGk1s6M9Q==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loongarch64-gnu@4.34.6': resolution: {integrity: sha512-4Qmkaps9yqmpjY5pvpkfOerYgKNUGzQpFxV6rnS7c/JfYbDSU0y6WpbbredB5cCpLFGJEqYX40WUmxMkwhWCjw==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-powerpc64le-gnu@4.34.6': resolution: {integrity: sha512-Zsrtux3PuaxuBTX/zHdLaFmcofWGzaWW1scwLU3ZbW/X+hSsFbz9wDIp6XvnT7pzYRl9MezWqEqKy7ssmDEnuQ==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.34.6': resolution: {integrity: sha512-aK+Zp+CRM55iPrlyKiU3/zyhgzWBxLVrw2mwiQSYJRobCURb781+XstzvA8Gkjg/hbdQFuDw44aUOxVQFycrAg==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.34.6': resolution: {integrity: sha512-WoKLVrY9ogmaYPXwTH326+ErlCIgMmsoRSx6bO+l68YgJnlOXhygDYSZe/qbUJCSiCiZAQ+tKm88NcWuUXqOzw==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.34.6': resolution: {integrity: sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.34.6': resolution: {integrity: sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.34.6': resolution: {integrity: sha512-3/q1qUsO/tLqGBaD4uXsB6coVGB3usxw3qyeVb59aArCgedSF66MPdgRStUd7vbZOsko/CgVaY5fo2vkvPLWiA==} @@ -468,8 +478,8 @@ packages: '@types/mime@1.3.5': resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} - '@types/node@22.13.1': - resolution: {integrity: sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew==} + '@types/node@25.2.3': + resolution: {integrity: sha512-m0jEgYlYz+mDJZ2+F4v8D1AyQb+QzsNqRuI7xg1VQX/KlKS0qT9r1Mo16yo5F/MtifXFgaofIFsdFMox2SxIbQ==} '@types/nodemailer@6.4.17': resolution: {integrity: sha512-I9CCaIp6DTldEg7vyUTZi8+9Vo0hi1/T8gv3C89yk1rSAAzoKQ8H8ki/jBYJSFoH/BisgLP8tkZMlQ91CIquww==} @@ -2034,8 +2044,8 @@ packages: resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==} engines: {node: '>= 0.4'} - undici-types@6.20.0: - resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + undici-types@7.16.0: + resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} @@ -2347,7 +2357,7 @@ snapshots: '@jridgewell/sourcemap-codec@1.5.0': {} - '@nhcarrigan/eslint-config@5.1.0(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(playwright@1.50.1)(react@19.0.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@22.13.1))': + '@nhcarrigan/eslint-config@5.1.0(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(playwright@1.50.1)(react@19.0.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@25.2.3))': dependencies: '@eslint-community/eslint-plugin-eslint-comments': 4.4.1(eslint@9.20.0) '@eslint/compat': 1.2.4(eslint@9.20.0) @@ -2356,7 +2366,7 @@ snapshots: '@stylistic/eslint-plugin': 2.12.1(eslint@9.20.0)(typescript@5.7.3) '@typescript-eslint/eslint-plugin': 8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(typescript@5.7.3) '@typescript-eslint/parser': 8.19.0(eslint@9.20.0)(typescript@5.7.3) - '@vitest/eslint-plugin': 1.1.24(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@22.13.1)) + '@vitest/eslint-plugin': 1.1.24(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@25.2.3)) eslint: 9.20.0 eslint-plugin-deprecation: 3.0.0(eslint@9.20.0)(typescript@5.7.3) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.19.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0) @@ -2369,7 +2379,7 @@ snapshots: playwright: 1.50.1 react: 19.0.0 typescript: 5.7.3 - vitest: 3.0.5(@types/node@22.13.1) + vitest: 3.0.5(@types/node@25.2.3) transitivePeerDependencies: - '@typescript-eslint/utils' - eslint-import-resolver-typescript @@ -2468,17 +2478,17 @@ snapshots: '@types/body-parser@1.19.6': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.13.1 + '@types/node': 25.2.3 '@types/connect@3.4.38': dependencies: - '@types/node': 22.13.1 + '@types/node': 25.2.3 '@types/estree@1.0.6': {} '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 22.13.1 + '@types/node': 25.2.3 '@types/qs': 6.14.0 '@types/range-parser': 1.2.7 '@types/send': 0.17.5 @@ -2498,13 +2508,13 @@ snapshots: '@types/mime@1.3.5': {} - '@types/node@22.13.1': + '@types/node@25.2.3': dependencies: - undici-types: 6.20.0 + undici-types: 7.16.0 '@types/nodemailer@6.4.17': dependencies: - '@types/node': 22.13.1 + '@types/node': 25.2.3 '@types/normalize-package-data@2.4.4': {} @@ -2515,12 +2525,12 @@ snapshots: '@types/send@0.17.5': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.13.1 + '@types/node': 25.2.3 '@types/serve-static@1.15.8': dependencies: '@types/http-errors': 2.0.5 - '@types/node': 22.13.1 + '@types/node': 25.2.3 '@types/send': 0.17.5 '@typescript-eslint/eslint-plugin@8.19.0(@typescript-eslint/parser@8.19.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(typescript@5.7.3)': @@ -2675,13 +2685,13 @@ snapshots: '@typescript-eslint/types': 8.24.0 eslint-visitor-keys: 4.2.0 - '@vitest/eslint-plugin@1.1.24(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@22.13.1))': + '@vitest/eslint-plugin@1.1.24(@typescript-eslint/utils@8.24.0(eslint@9.20.0)(typescript@5.7.3))(eslint@9.20.0)(typescript@5.7.3)(vitest@3.0.5(@types/node@25.2.3))': dependencies: '@typescript-eslint/utils': 8.24.0(eslint@9.20.0)(typescript@5.7.3) eslint: 9.20.0 optionalDependencies: typescript: 5.7.3 - vitest: 3.0.5(@types/node@22.13.1) + vitest: 3.0.5(@types/node@25.2.3) '@vitest/expect@3.0.5': dependencies: @@ -2690,13 +2700,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.5(vite@6.1.0(@types/node@22.13.1))': + '@vitest/mocker@3.0.5(vite@6.1.0(@types/node@25.2.3))': dependencies: '@vitest/spy': 3.0.5 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.1.0(@types/node@22.13.1) + vite: 6.1.0(@types/node@25.2.3) '@vitest/pretty-format@3.0.5': dependencies: @@ -4277,11 +4287,11 @@ snapshots: strip-json-comments@3.1.1: {} - stripe@18.3.0(@types/node@22.13.1): + stripe@18.3.0(@types/node@25.2.3): dependencies: qs: 6.14.0 optionalDependencies: - '@types/node': 22.13.1 + '@types/node': 25.2.3 supports-color@7.2.0: dependencies: @@ -4385,7 +4395,7 @@ snapshots: has-symbols: 1.1.0 which-boxed-primitive: 1.1.1 - undici-types@6.20.0: {} + undici-types@7.16.0: {} unpipe@1.0.0: {} @@ -4404,13 +4414,13 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - vite-node@3.0.5(@types/node@22.13.1): + vite-node@3.0.5(@types/node@25.2.3): dependencies: cac: 6.7.14 debug: 4.4.0 es-module-lexer: 1.6.0 pathe: 2.0.2 - vite: 6.1.0(@types/node@22.13.1) + vite: 6.1.0(@types/node@25.2.3) transitivePeerDependencies: - '@types/node' - jiti @@ -4425,19 +4435,19 @@ snapshots: - tsx - yaml - vite@6.1.0(@types/node@22.13.1): + vite@6.1.0(@types/node@25.2.3): dependencies: esbuild: 0.24.2 postcss: 8.5.2 rollup: 4.34.6 optionalDependencies: - '@types/node': 22.13.1 + '@types/node': 25.2.3 fsevents: 2.3.3 - vitest@3.0.5(@types/node@22.13.1): + vitest@3.0.5(@types/node@25.2.3): dependencies: '@vitest/expect': 3.0.5 - '@vitest/mocker': 3.0.5(vite@6.1.0(@types/node@22.13.1)) + '@vitest/mocker': 3.0.5(vite@6.1.0(@types/node@25.2.3)) '@vitest/pretty-format': 3.0.5 '@vitest/runner': 3.0.5 '@vitest/snapshot': 3.0.5 @@ -4453,11 +4463,11 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.1.0(@types/node@22.13.1) - vite-node: 3.0.5(@types/node@22.13.1) + vite: 6.1.0(@types/node@25.2.3) + vite-node: 3.0.5(@types/node@25.2.3) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.13.1 + '@types/node': 25.2.3 transitivePeerDependencies: - jiti - less