diff --git a/app/entry.server.tsx b/app/entry.server.tsx index e099bfac..78d4f1e2 100644 --- a/app/entry.server.tsx +++ b/app/entry.server.tsx @@ -9,7 +9,7 @@ import { PassThrough } from "node:stream"; import type { EntryContext } from "@remix-run/node"; import { createReadableStreamFromReadable } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; -import isbot from "isbot"; +import { isbot } from "isbot"; import { renderToPipeableStream } from "react-dom/server"; const ABORT_DELAY = 5_000; diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index f4875c19..23815c92 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -44,7 +44,7 @@ declare global { } function login({ - email = faker.internet.email(undefined, undefined, "example.com"), + email = faker.internet.email({ provider: "example.com" }), }: { email?: string; } = {}) { diff --git a/mocks/index.js b/mocks/index.js index 41246682..ca2210ce 100644 --- a/mocks/index.js +++ b/mocks/index.js @@ -1,11 +1,9 @@ -const { rest } = require("msw"); +const { http, passthrough } = require("msw"); const { setupServer } = require("msw/node"); // put one-off handlers that don't really need an entire file to themselves here const miscHandlers = [ - rest.post(`${process.env.REMIX_DEV_HTTP_ORIGIN}/ping`, (req) => - req.passthrough(), - ), + http.post(`${process.env.REMIX_DEV_HTTP_ORIGIN}/ping`, () => passthrough()), ]; const server = setupServer(...miscHandlers); diff --git a/package.json b/package.json index 90782486..a5088f71 100644 --- a/package.json +++ b/package.json @@ -38,68 +38,69 @@ "@remix-run/node": "*", "@remix-run/react": "*", "bcryptjs": "^2.4.3", - "chokidar": "^3.5.3", + "chokidar": "^3.6.0", "compression": "^1.7.4", "cross-env": "^7.0.3", - "express": "^4.18.2", - "isbot": "^3.7.0", + "express": "^4.19.2", + "isbot": "^4.4.0", "morgan": "^1.10.0", - "prom-client": "^15.0.0", + "prom-client": "^15.1.1", "react": "^18.2.0", "react-dom": "^18.2.0", "source-map-support": "^0.5.21", - "tiny-invariant": "^1.3.1" + "tiny-invariant": "^1.3.3" }, "devDependencies": { - "@faker-js/faker": "^8.2.0", + "@faker-js/faker": "^8.4.1", "@remix-run/dev": "*", "@testing-library/cypress": "^10.0.1", - "@testing-library/jest-dom": "^6.1.4", - "@types/bcryptjs": "^2.4.5", - "@types/compression": "^1.7.4", - "@types/eslint": "^8.44.6", - "@types/express": "^4.17.20", - "@types/morgan": "^1.9.7", - "@types/node": "^18.18.6", - "@types/react": "^18.2.31", - "@types/react-dom": "^18.2.14", - "@types/source-map-support": "^0.5.9", - "@typescript-eslint/eslint-plugin": "^6.8.0", - "@typescript-eslint/parser": "^6.8.0", - "@vitejs/plugin-react": "^4.1.0", - "@vitest/coverage-v8": "^0.34.6", - "autoprefixer": "^10.4.16", - "cookie": "^0.5.0", - "cypress": "^13.3.2", - "dotenv": "^16.3.1", - "esbuild": "^0.19.5", - "eslint": "^8.52.0", - "eslint-config-prettier": "^9.0.0", + "@testing-library/jest-dom": "^6.4.2", + "@types/bcryptjs": "^2.4.6", + "@types/compression": "^1.7.5", + "@types/cookie": "^0.6.0", + "@types/eslint": "^8.56.6", + "@types/express": "^4.17.21", + "@types/morgan": "^1.9.9", + "@types/node": "^18.19.26", + "@types/react": "^18.2.73", + "@types/react-dom": "^18.2.22", + "@types/source-map-support": "^0.5.10", + "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/parser": "^6.21.0", + "@vitejs/plugin-react": "^4.2.1", + "@vitest/coverage-v8": "^1.4.0", + "autoprefixer": "^10.4.19", + "cookie": "^0.6.0", + "cypress": "^13.7.1", + "dotenv": "^16.4.5", + "esbuild": "^0.20.2", + "eslint": "^8.57.0", + "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-cypress": "^2.15.1", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-jest": "^27.4.3", - "eslint-plugin-jest-dom": "^5.1.0", - "eslint-plugin-jsx-a11y": "^6.7.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jest": "^27.9.0", + "eslint-plugin-jest-dom": "^5.2.0", + "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-markdown": "^3.0.1", - "eslint-plugin-react": "^7.33.2", + "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-testing-library": "^6.1.0", - "happy-dom": "^12.9.1", - "msw": "^1.3.2", + "eslint-plugin-testing-library": "^6.2.0", + "happy-dom": "^14.3.9", + "msw": "^2.2.13", "npm-run-all": "^4.1.5", - "postcss": "^8.4.31", - "prettier": "3.0.3", - "prettier-plugin-tailwindcss": "^0.5.6", + "postcss": "^8.4.38", + "prettier": "3.2.5", + "prettier-plugin-tailwindcss": "^0.5.13", "prisma": "^4.16.2", - "start-server-and-test": "^2.0.1", - "tailwindcss": "^3.3.3", - "ts-node": "^10.9.1", + "start-server-and-test": "^2.0.3", + "tailwindcss": "^3.4.2", + "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", - "typescript": "^5.2.2", - "vite": "^4.5.0", - "vite-tsconfig-paths": "^4.2.1", - "vitest": "^0.34.6" + "typescript": "^5.4.3", + "vite": "^5.2.6", + "vite-tsconfig-paths": "^4.3.2", + "vitest": "^1.4.0" }, "engines": { "node": ">=18.0.0" diff --git a/remix.init/package.json b/remix.init/package.json index 7c795c83..20a35acd 100644 --- a/remix.init/package.json +++ b/remix.init/package.json @@ -6,6 +6,6 @@ "dependencies": { "@iarna/toml": "^2.2.5", "@npmcli/package-json": "^5.0.0", - "semver": "^7.5.4" + "semver": "^7.6.0" } }