From 1e0d00869e5bf7c0553df560b9ccf40d3be9f01f Mon Sep 17 00:00:00 2001 From: Tiscs Date: Fri, 5 Jan 2024 20:58:07 +0800 Subject: [PATCH] Update dependencies --- app/entry.server.tsx | 2 +- package-lock.json | 60 ++++++++++++++++++++++---------------------- package.json | 8 +++--- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/app/entry.server.tsx b/app/entry.server.tsx index 9cfb618..de4d269 100644 --- a/app/entry.server.tsx +++ b/app/entry.server.tsx @@ -21,7 +21,7 @@ export default function handleRequest( remixContext: EntryContext, loadContext: AppLoadContext, ) { - return isbot(request.headers.get("user-agent") || "server") // if there's no user agent, it's probably a bot + return isbot(request.headers.get("user-agent")) // if there's no user agent, it's probably a bot ? handleBotRequest(request, responseStatusCode, responseHeaders, remixContext) : handleBrowserRequest(request, responseStatusCode, responseHeaders, remixContext); } diff --git a/package-lock.json b/package-lock.json index 927cb37..822ce29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@choral-io/gommerce-protobuf-node": "~1.0.0-beta.21", - "@connectrpc/connect-node": "~1.2.0", + "@choral-io/gommerce-protobuf-node": "~1.0.0-beta.22", + "@connectrpc/connect-node": "~1.2.1", "@remix-run/css-bundle": "~2.4.1", "@remix-run/node": "~2.4.1", "@remix-run/react": "~2.4.1", "@remix-run/serve": "~2.4.1", "@tabler/icons-react": "~2.45.0", "clsx": "~2.1.0", - "isbot": "~4.1.1", + "isbot": "~4.3.0", "react": "~18.2.0", "react-dom": "~18.2.0", "remix-utils": "~7.5.0", @@ -34,7 +34,7 @@ "daisyui": "~4.5.0", "eslint": "~8.56.0", "eslint-config-prettier": "~9.1.0", - "postcss": "~8.4.32", + "postcss": "~8.4.33", "prettier": "~3.1.1", "prettier-plugin-tailwindcss": "~0.5.10", "tailwindcss": "~3.4.0", @@ -874,36 +874,36 @@ "integrity": "sha512-hp19vSFgNw3wBBcVBx5qo5pufCqjaJ0Cfk5H/pfjNOfNWU+4/w0QVOmfAOZNRrNWRrVuaJWxcN8P2vhOkkzbBQ==" }, "node_modules/@choral-io/gommerce-protobuf-node": { - "version": "1.0.0-beta.21", - "resolved": "https://npm.pkg.github.com/download/@choral-io/gommerce-protobuf-node/1.0.0-beta.21/9c92052379e1c584cf42abe033b945ac29db3390", - "integrity": "sha512-DfEWZYVnYjbvjpo7Op9aD+QwWT3XPsP+9TYMXdTMb3yB4SQJZP0qVG+2L53asjIi/N/neFrmvsukmbZIZtHSAw==", + "version": "1.0.0-beta.22", + "resolved": "https://npm.pkg.github.com/download/@choral-io/gommerce-protobuf-node/1.0.0-beta.22/8bd84f3fb12968d43099e7537088d1190a694b2e", + "integrity": "sha512-Y4yoc7XqM5rhy0N4VXWqrmeGKE2uAnmxAkwGqQ+j6yn2XxLhXDRerXXwydBnARmr9x3CN737KuqisEInmDnk8g==", "license": "MIT", "dependencies": { "@bufbuild/protobuf": "1.6.0" } }, "node_modules/@connectrpc/connect": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@connectrpc/connect/-/connect-1.2.0.tgz", - "integrity": "sha512-kHF30xAlXF2Y7S1I7XN/D3psKLfjxitgNRmF093KNP+cE9yAnqDAGop6aby3Z5k4XQw2ebjeX4E41db7R3FzaQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@connectrpc/connect/-/connect-1.2.1.tgz", + "integrity": "sha512-CWQNcr0kKLU1LlijdeKhbKOAOsU/t9OKM90l07O82N4nOg1+7JgWjhlcv/QATxatOT8XwJu1DxJiVYyZs+Xixg==", "peer": true, "peerDependencies": { "@bufbuild/protobuf": "^1.4.2" } }, "node_modules/@connectrpc/connect-node": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@connectrpc/connect-node/-/connect-node-1.2.0.tgz", - "integrity": "sha512-mt/2qxYnxmdn3Dv9Jsy9nK9sizNsVsg/8TKU8cwO/exUoEgZCjIcCW602xgUqBXfFcbZklCbskvZIB2E94U1Ag==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@connectrpc/connect-node/-/connect-node-1.2.1.tgz", + "integrity": "sha512-1hhRVaNVWxGLHgDNC/o1bovonTRy2kZefERgLajUI/SyKw2WiBzpJY2cBDGJ6hQKqisS09B/MoumCOt7nKftGA==", "dependencies": { - "undici": "^5.26.2" + "undici": "^5.28.2" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { "@bufbuild/protobuf": "^1.4.2", - "@connectrpc/connect": "1.2.0" + "@connectrpc/connect": "1.2.1" } }, "node_modules/@emotion/hash": { @@ -3139,9 +3139,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001572", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001572.tgz", - "integrity": "sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==", + "version": "1.0.30001574", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001574.tgz", + "integrity": "sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==", "dev": true, "funding": [ { @@ -3838,9 +3838,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.617", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.617.tgz", - "integrity": "sha512-sYNE3QxcDS4ANW1k4S/wWYMXjCVcFSOX3Bg8jpuMFaXt/x8JCmp0R1Xe1ZXDX4WXnSRBf+GJ/3eGWicUuQq5cg==", + "version": "1.4.622", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.622.tgz", + "integrity": "sha512-GZ47DEy0Gm2Z8RVG092CkFvX7SdotG57c4YZOe8W8qD4rOmk3plgeNmiLVRHP/Liqj1wRiY3uUUod9vb9hnxZA==", "dev": true }, "node_modules/emoji-regex": { @@ -6389,9 +6389,9 @@ "dev": true }, "node_modules/isbot": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/isbot/-/isbot-4.1.1.tgz", - "integrity": "sha512-kN+jdL5T+4kMfENZzLwv81KFymnpuv49rUQpp6jwHQhqMG++f1XPvNBgFRO9N0uaBqqft1d+Vn1Jls/TDhJpDw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/isbot/-/isbot-4.3.0.tgz", + "integrity": "sha512-cohu4X66cXP120xwF+UubL+BQzOQLN1O0DOPOmkci6elgZ7o6XIn8B3FARk59RL0aX3cGTq8Ta7MVOWpay3rbw==", "engines": { "node": ">=18" } @@ -8545,9 +8545,9 @@ } }, "node_modules/postcss": { - "version": "8.4.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz", - "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==", + "version": "8.4.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", + "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", "dev": true, "funding": [ { @@ -11533,9 +11533,9 @@ } }, "node_modules/web-streams-polyfill": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", - "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz", + "integrity": "sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==", "engines": { "node": ">= 8" } diff --git a/package.json b/package.json index c945b75..2722bba 100644 --- a/package.json +++ b/package.json @@ -13,15 +13,15 @@ "typecheck": "tsc" }, "dependencies": { - "@choral-io/gommerce-protobuf-node": "~1.0.0-beta.21", - "@connectrpc/connect-node": "~1.2.0", + "@choral-io/gommerce-protobuf-node": "~1.0.0-beta.22", + "@connectrpc/connect-node": "~1.2.1", "@remix-run/css-bundle": "~2.4.1", "@remix-run/node": "~2.4.1", "@remix-run/react": "~2.4.1", "@remix-run/serve": "~2.4.1", "@tabler/icons-react": "~2.45.0", "clsx": "~2.1.0", - "isbot": "~4.1.1", + "isbot": "~4.3.0", "react": "~18.2.0", "react-dom": "~18.2.0", "remix-utils": "~7.5.0", @@ -38,7 +38,7 @@ "daisyui": "~4.5.0", "eslint": "~8.56.0", "eslint-config-prettier": "~9.1.0", - "postcss": "~8.4.32", + "postcss": "~8.4.33", "prettier": "~3.1.1", "prettier-plugin-tailwindcss": "~0.5.10", "tailwindcss": "~3.4.0",