From a1e9ceeeea1e06194149e8359cd4fab3fe0f1376 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 11 Sep 2025 13:46:32 -0400 Subject: [PATCH 1/4] Update compression and morgan packages for nested dep on-headers upgrade --- CHANGELOG.md | 98 +++++++++++-------- packages/remix-serve/package.json | 4 +- pnpm-lock.yaml | 40 ++++---- scripts/playground/template/package.json | 2 +- .../express/package.json | 4 +- templates/express/package.json | 4 +- 6 files changed, 82 insertions(+), 70 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d291b1d6733..638132b5c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,56 +13,58 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa Table of Contents - [Remix Releases](#remix-releases) + - [v2.17.1](#v2171) + - [Patch Changes](#patch-changes) - [v2.17.0](#v2170) - [Minor Changes](#minor-changes) - [Changes by Package](#changes-by-package) - [v2.16.8](#v2168) - - [Patch Changes](#patch-changes) - - [v2.16.7](#v2167) - [Patch Changes](#patch-changes-1) - - [v2.16.6](#v2166) + - [v2.16.7](#v2167) - [Patch Changes](#patch-changes-2) - - [v2.16.5](#v2165) + - [v2.16.6](#v2166) - [Patch Changes](#patch-changes-3) - - [v2.16.4](#v2164) + - [v2.16.5](#v2165) - [Patch Changes](#patch-changes-4) + - [v2.16.4](#v2164) + - [Patch Changes](#patch-changes-5) - [v2.16.3](#v2163) - [Security Notice](#security-notice) - - [Patch Changes](#patch-changes-5) - - [v2.16.2](#v2162) - [Patch Changes](#patch-changes-6) - - [v2.16.1](#v2161) + - [v2.16.2](#v2162) - [Patch Changes](#patch-changes-7) + - [v2.16.1](#v2161) + - [Patch Changes](#patch-changes-8) - [v2.16.0](#v2160) - [Minor Changes](#minor-changes-1) - - [Patch Changes](#patch-changes-8) + - [Patch Changes](#patch-changes-9) - [Updated Dependencies](#updated-dependencies) - [v2.15.3](#v2153) - - [Patch Changes](#patch-changes-9) + - [Patch Changes](#patch-changes-10) - [Updated Dependencies](#updated-dependencies-1) - [v2.15.2](#v2152) - - [Patch Changes](#patch-changes-10) + - [Patch Changes](#patch-changes-11) - [Updated Dependencies](#updated-dependencies-2) - [v2.15.1](#v2151) - - [Patch Changes](#patch-changes-11) - - [v2.15.0](#v2150) - [Patch Changes](#patch-changes-12) + - [v2.15.0](#v2150) + - [Patch Changes](#patch-changes-13) - [v2.14.0](#v2140) - [Minor Changes](#minor-changes-2) - - [Patch Changes](#patch-changes-13) + - [Patch Changes](#patch-changes-14) - [Updated Dependencies](#updated-dependencies-3) - [Changes by Package](#changes-by-package-1) - [v2.13.1](#v2131) - - [Patch Changes](#patch-changes-14) + - [Patch Changes](#patch-changes-15) - [v2.13.0](#v2130) - [What's Changed](#whats-changed) - [Stabilized APIs](#stabilized-apis) - [Minor Changes](#minor-changes-3) - - [Patch Changes](#patch-changes-15) + - [Patch Changes](#patch-changes-16) - [Updated Dependencies](#updated-dependencies-4) - [Changes by Package](#changes-by-package-2) - [v2.12.1](#v2121) - - [Patch Changes](#patch-changes-16) + - [Patch Changes](#patch-changes-17) - [Changes by Package](#changes-by-package-3) - [v2.12.0](#v2120) - [What's Changed](#whats-changed-1) @@ -70,72 +72,72 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa - [Improved Single Fetch Type Safety (unstable)](#improved-single-fetch-type-safety-unstable) - [Updates to Single Fetch Revalidation Behavior (unstable)](#updates-to-single-fetch-revalidation-behavior-unstable) - [Minor Changes](#minor-changes-4) - - [Patch Changes](#patch-changes-17) + - [Patch Changes](#patch-changes-18) - [Updated Dependencies](#updated-dependencies-5) - [Changes by Package](#changes-by-package-4) - [v2.11.2](#v2112) - - [Patch Changes](#patch-changes-18) + - [Patch Changes](#patch-changes-19) - [Updated Dependencies](#updated-dependencies-6) - [Changes by Package](#changes-by-package-5) - [v2.11.1](#v2111) - - [Patch Changes](#patch-changes-19) + - [Patch Changes](#patch-changes-20) - [Changes by Package](#changes-by-package-6) - [v2.11.0](#v2110) - [What's Changed](#whats-changed-2) - [Renamed `unstable_fogOfWar` future flag to `unstable_lazyRouteDiscovery` (unstable)](#renamed-unstable_fogofwar-future-flag-to-unstable_lazyroutediscovery-unstable) - [Removed `response` stub in Single Fetch (unstable)](#removed-response-stub-in-single-fetch-unstable) - [Minor Changes](#minor-changes-5) - - [Patch Changes](#patch-changes-20) + - [Patch Changes](#patch-changes-21) - [Updated Dependencies](#updated-dependencies-7) - [Changes by Package](#changes-by-package-7) - [v2.10.3](#v2103) - - [Patch Changes](#patch-changes-21) + - [Patch Changes](#patch-changes-22) - [Updated Dependencies](#updated-dependencies-8) - [Changes by Package](#changes-by-package-8) - [v2.10.2](#v2102) - - [Patch Changes](#patch-changes-22) + - [Patch Changes](#patch-changes-23) - [Changes by Package](#changes-by-package-9) - [v2.10.1](#v2101) - - [Patch Changes](#patch-changes-23) + - [Patch Changes](#patch-changes-24) - [Updated Dependencies](#updated-dependencies-9) - [Changes by Package](#changes-by-package-10) - [v2.10.0](#v2100) - [What's Changed](#whats-changed-3) - [Lazy Route Discovery (a.k.a. "Fog of War")](#lazy-route-discovery-aka-fog-of-war) - [Minor Changes](#minor-changes-6) - - [Patch Changes](#patch-changes-24) + - [Patch Changes](#patch-changes-25) - [Updated Dependencies](#updated-dependencies-10) - [Changes by Package](#changes-by-package-11) - [v2.9.2](#v292) - [What's Changed](#whats-changed-4) - [Updated Type-Safety for Single Fetch](#updated-type-safety-for-single-fetch) - - [Patch Changes](#patch-changes-25) + - [Patch Changes](#patch-changes-26) - [Updated Dependencies](#updated-dependencies-11) - [Changes by Package](#changes-by-package-12) - [v2.9.1](#v291) - - [Patch Changes](#patch-changes-26) + - [Patch Changes](#patch-changes-27) - [Changes by Package](#changes-by-package-13) - [v2.9.0](#v290) - [What's Changed](#whats-changed-5) - [Single Fetch (unstable)](#single-fetch-unstable) - [Undici](#undici) - [Minor Changes](#minor-changes-7) - - [Patch Changes](#patch-changes-27) + - [Patch Changes](#patch-changes-28) - [Updated Dependencies](#updated-dependencies-12) - [Changes by Package](#changes-by-package-14) - [v2.8.1](#v281) - - [Patch Changes](#patch-changes-28) + - [Patch Changes](#patch-changes-29) - [Updated Dependencies](#updated-dependencies-13) - [Changes by Package](#changes-by-package-15) - [v2.8.0](#v280) - [Minor Changes](#minor-changes-8) - - [Patch Changes](#patch-changes-29) + - [Patch Changes](#patch-changes-30) - [Updated Dependencies](#updated-dependencies-14) - [Changes by Package](#changes-by-package-16) - [2.7.2](#272) - - [Patch Changes](#patch-changes-30) - - [2.7.1](#271) - [Patch Changes](#patch-changes-31) + - [2.7.1](#271) + - [Patch Changes](#patch-changes-32) - [v2.7.0](#v270) - [What's Changed](#whats-changed-6) - [Stabilized Vite Plugin](#stabilized-vite-plugin) @@ -143,18 +145,18 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa - [Basename support](#basename-support) - [Cloudflare Proxy as a Vite Plugin](#cloudflare-proxy-as-a-vite-plugin) - [Minor Changes](#minor-changes-9) - - [Patch Changes](#patch-changes-32) + - [Patch Changes](#patch-changes-33) - [Updated Dependencies](#updated-dependencies-15) - [Changes by Package](#changes-by-package-17) - [v2.6.0](#v260) - [What's Changed](#whats-changed-7) - [Unstable Vite Plugin updates](#unstable-vite-plugin-updates) - [Minor Changes](#minor-changes-10) - - [Patch Changes](#patch-changes-33) + - [Patch Changes](#patch-changes-34) - [Updated Dependencies](#updated-dependencies-16) - [Changes by Package](#changes-by-package-18) - [v2.5.1](#v251) - - [Patch Changes](#patch-changes-34) + - [Patch Changes](#patch-changes-35) - [Updated Dependencies](#updated-dependencies-17) - [Changes by Package](#changes-by-package-19) - [v2.5.0](#v250) @@ -162,11 +164,11 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa - [SPA Mode (unstable)](#spa-mode-unstable) - [Server Bundles (unstable)](#server-bundles-unstable) - [Minor Changes](#minor-changes-11) - - [Patch Changes](#patch-changes-35) + - [Patch Changes](#patch-changes-36) - [Updated Dependencies](#updated-dependencies-18) - [Changes by Package](#changes-by-package-20) - [v2.4.1](#v241) - - [Patch Changes](#patch-changes-36) + - [Patch Changes](#patch-changes-37) - [Updated Dependencies](#updated-dependencies-19) - [Changes by Package](#changes-by-package-21) - [v2.4.0](#v240) @@ -175,11 +177,11 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa - [`future.v3_relativeSplatPath`](#futurev3_relativesplatpath) - [Vite Updates (Unstable)](#vite-updates-unstable) - [Minor Changes](#minor-changes-12) - - [Patch Changes](#patch-changes-37) + - [Patch Changes](#patch-changes-38) - [Updated Dependencies](#updated-dependencies-20) - [Changes by Package](#changes-by-package-22) - [v2.3.1](#v231) - - [Patch Changes](#patch-changes-38) + - [Patch Changes](#patch-changes-39) - [Updated Dependencies](#updated-dependencies-21) - [Changes by Package](#changes-by-package-23) - [v2.3.0](#v230) @@ -187,7 +189,7 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa - [Stabilized `useBlocker`](#stabilized-useblocker) - [`unstable_flushSync` API](#unstable_flushsync-api) - [Minor Changes](#minor-changes-13) - - [Patch Changes](#patch-changes-39) + - [Patch Changes](#patch-changes-40) - [Updated Dependencies](#updated-dependencies-22) - [Changes by Package](#changes-by-package-24) - [v2.2.0](#v220) @@ -196,7 +198,7 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa - [New Fetcher APIs](#new-fetcher-apis) - [Persistence Future Flag](#persistence-future-flag) - [Minor Changes](#minor-changes-14) - - [Patch Changes](#patch-changes-40) + - [Patch Changes](#patch-changes-41) - [Updated Dependencies](#updated-dependencies-23) - [Changes by Package](#changes-by-package-25) - [v2.1.0](#v210) @@ -204,11 +206,11 @@ We manage release notes in this file instead of the paginated GitHub Releases Pa - [View Transitions](#view-transitions) - [Stable `createRemixStub`](#stable-createremixstub) - [Minor Changes](#minor-changes-15) - - [Patch Changes](#patch-changes-41) + - [Patch Changes](#patch-changes-42) - [Updated Dependencies](#updated-dependencies-24) - [Changes by Package](#changes-by-package-26) - [v2.0.1](#v201) - - [Patch Changes](#patch-changes-42) + - [Patch Changes](#patch-changes-43) - [Changes by Package 🔗](#changes-by-package-) - [v2.0.0](#v200) - [Breaking Changes](#breaking-changes) @@ -272,6 +274,16 @@ Date: YYYY-MM-DD --> +## v2.17.1 + +Date: 2025-09-11 + +### Patch Changes + +- `remix-serve` - Update `compression` and `morgan` dependencies to latest versions + +**Full Changelog**: [`v2.17.0...v2.17.1`](https://github.com/remix-run/remix/compare/remix@2.17.0...remix@2.17.1) + ## v2.17.0 Date: 2025-07-25 diff --git a/packages/remix-serve/package.json b/packages/remix-serve/package.json index d7e8f289249..a217b94e326 100644 --- a/packages/remix-serve/package.json +++ b/packages/remix-serve/package.json @@ -21,10 +21,10 @@ "@remix-run/express": "workspace:*", "@remix-run/node": "workspace:*", "chokidar": "^3.5.3", - "compression": "^1.7.4", + "compression": "^1.8.1", "express": "^4.20.0", "get-port": "5.1.1", - "morgan": "^1.10.0", + "morgan": "^1.10.1", "source-map-support": "^0.5.21" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e7bc3903b57..222c070bb3b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1341,8 +1341,8 @@ importers: specifier: ^3.5.3 version: 3.6.0 compression: - specifier: ^1.7.4 - version: 1.7.4 + specifier: ^1.8.1 + version: 1.8.1 express: specifier: ^4.20.0 version: 4.21.1 @@ -1350,8 +1350,8 @@ importers: specifier: 5.1.1 version: 5.1.1 morgan: - specifier: ^1.10.0 - version: 1.10.0 + specifier: ^1.10.1 + version: 1.10.1 source-map-support: specifier: ^0.5.21 version: 0.5.21 @@ -6444,11 +6444,6 @@ packages: semver: 7.5.4 dev: false - /bytes@3.0.0: - resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} - engines: {node: '>= 0.8'} - dev: false - /bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} @@ -6830,16 +6825,16 @@ packages: mime-db: 1.52.0 dev: false - /compression@1.7.4: - resolution: {integrity: sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==} + /compression@1.8.1: + resolution: {integrity: sha512-9mAqGPHLakhCLeNyxPkK4xVo746zQ/czLH1Ky+vkitMnWfWZps8r0qXuwhwizagCRttsL4lfG4pIOvaWLpAP0w==} engines: {node: '>= 0.8.0'} dependencies: - accepts: 1.3.8 - bytes: 3.0.0 + bytes: 3.1.2 compressible: 2.0.18 debug: 2.6.9 - on-headers: 1.0.2 - safe-buffer: 5.1.2 + negotiator: 0.6.4 + on-headers: 1.1.0 + safe-buffer: 5.2.1 vary: 1.1.2 transitivePeerDependencies: - supports-color @@ -11819,15 +11814,15 @@ packages: /modern-ahocorasick@1.0.1: resolution: {integrity: sha512-yoe+JbhTClckZ67b2itRtistFKf8yPYelHLc7e5xAwtNAXxM6wJTUx2C7QeVSJFDzKT7bCIFyBVybPMKvmB9AA==} - /morgan@1.10.0: - resolution: {integrity: sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==} + /morgan@1.10.1: + resolution: {integrity: sha512-223dMRJtI/l25dJKWpgij2cMtywuG/WiUKXdvwfbhGKBhy1puASqXwFzmWZ7+K73vUPoR7SS2Qz2cI/g9MKw0A==} engines: {node: '>= 0.8.0'} dependencies: basic-auth: 2.0.1 debug: 2.6.9 depd: 2.0.0 on-finished: 2.3.0 - on-headers: 1.0.2 + on-headers: 1.1.0 transitivePeerDependencies: - supports-color dev: false @@ -11919,6 +11914,11 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} + /negotiator@0.6.4: + resolution: {integrity: sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==} + engines: {node: '>= 0.6'} + dev: false + /nice-try@1.0.5: resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} dev: false @@ -12164,8 +12164,8 @@ packages: dependencies: ee-first: 1.1.1 - /on-headers@1.0.2: - resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==} + /on-headers@1.1.0: + resolution: {integrity: sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==} engines: {node: '>= 0.8'} dev: false diff --git a/scripts/playground/template/package.json b/scripts/playground/template/package.json index b9882d3961c..8b42e89d672 100644 --- a/scripts/playground/template/package.json +++ b/scripts/playground/template/package.json @@ -27,7 +27,7 @@ "express": "^4.19.2", "get-port": "^6.1.2", "isbot": "^4.1.0", - "morgan": "^1.10.0", + "morgan": "^1.10.1", "react": "^18.2.0", "react-dom": "^18.2.0", "tiny-invariant": "^1.2.0" diff --git a/templates/classic-remix-compiler/express/package.json b/templates/classic-remix-compiler/express/package.json index 40759d6b060..f0d1711816a 100644 --- a/templates/classic-remix-compiler/express/package.json +++ b/templates/classic-remix-compiler/express/package.json @@ -14,11 +14,11 @@ "@remix-run/express": "*", "@remix-run/node": "*", "@remix-run/react": "*", - "compression": "^1.7.4", + "compression": "^1.8.1", "cross-env": "^7.0.3", "express": "^4.19.2", "isbot": "^4.1.0", - "morgan": "^1.10.0", + "morgan": "^1.10.1", "react": "^18.2.0", "react-dom": "^18.2.0", "source-map-support": "^0.5.21" diff --git a/templates/express/package.json b/templates/express/package.json index 46cfef75153..e7147e65023 100644 --- a/templates/express/package.json +++ b/templates/express/package.json @@ -13,11 +13,11 @@ "@remix-run/express": "*", "@remix-run/node": "*", "@remix-run/react": "*", - "compression": "^1.7.4", + "compression": "^1.8.1", "cross-env": "^7.0.3", "express": "^4.19.2", "isbot": "^4.1.0", - "morgan": "^1.10.0", + "morgan": "^1.10.1", "react": "^18.2.0", "react-dom": "^18.2.0" }, From c6ceabce26ac5d5f6c7d74b85a4f46dfdc7da789 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 11 Sep 2025 13:50:36 -0400 Subject: [PATCH 2/4] Update eslint config package deprecation warning with updated v2 link --- CHANGELOG.md | 1 + packages/remix-eslint-config/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 638132b5c37..58f2c194518 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -281,6 +281,7 @@ Date: 2025-09-11 ### Patch Changes - `remix-serve` - Update `compression` and `morgan` dependencies to latest versions +- `@remix-run/eslint-config` - Update deprecation warning with proper link to sample v2 eslint config file **Full Changelog**: [`v2.17.0...v2.17.1`](https://github.com/remix-run/remix/compare/remix@2.17.0...remix@2.17.1) diff --git a/packages/remix-eslint-config/index.js b/packages/remix-eslint-config/index.js index 740160fd02d..145eedd2fb9 100644 --- a/packages/remix-eslint-config/index.js +++ b/packages/remix-eslint-config/index.js @@ -18,7 +18,7 @@ console.warn( "⚠️ REMIX FUTURE CHANGE: The `@remix-run/eslint-config` package is deprecated " + "and will not be included in React Router v7. We recommend moving towards a " + "streamlined ESLint config such as the ones included in the Remix templates. " + - "See https://github.com/remix-run/remix/blob/main/templates/remix/.eslintrc.cjs." + "See https://github.com/remix-run/remix/blob/v2/templates/remix/.eslintrc.cjs." ); const OFF = 0; From 955074300f99540d695de09e95380b65c04a7149 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 11 Sep 2025 14:18:36 -0400 Subject: [PATCH 3/4] Fix deno lint issues --- integration/helpers/deno-template/server.ts | 1 + packages/remix-deno/server.ts | 1 + packages/remix-deno/sessions/fileStorage.ts | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/integration/helpers/deno-template/server.ts b/integration/helpers/deno-template/server.ts index a7caa47e204..36bf4670dee 100644 --- a/integration/helpers/deno-template/server.ts +++ b/integration/helpers/deno-template/server.ts @@ -1,3 +1,4 @@ +// deno-lint-ignore no-import-prefix import { serve } from "https://deno.land/std@0.128.0/http/server.ts"; import { createRequestHandlerWithStaticFiles } from "@remix-run/deno"; // Import path interpreted by the Remix compiler diff --git a/packages/remix-deno/server.ts b/packages/remix-deno/server.ts index a9b88ebc0d5..8a91f3ad133 100644 --- a/packages/remix-deno/server.ts +++ b/packages/remix-deno/server.ts @@ -1,3 +1,4 @@ +// deno-lint-ignore no-import-prefix import * as path from "https://deno.land/std@0.128.0/path/mod.ts"; import mime from "mime"; import { createRequestHandler as createRemixRequestHandler } from "@remix-run/server-runtime"; diff --git a/packages/remix-deno/sessions/fileStorage.ts b/packages/remix-deno/sessions/fileStorage.ts index 1595b69f7b0..9ce56b34b5b 100644 --- a/packages/remix-deno/sessions/fileStorage.ts +++ b/packages/remix-deno/sessions/fileStorage.ts @@ -1,3 +1,4 @@ +// deno-lint-ignore no-import-prefix import * as path from "https://deno.land/std@0.128.0/path/mod.ts"; import type { @@ -71,8 +72,8 @@ export function createFileSessionStorage({ const content = JSON.parse(await Deno.readTextFile(file)); const data = content.data; const expires = typeof content.expires === "string" - ? new Date(content.expires) - : null; + ? new Date(content.expires) + : null; if (!expires || expires > new Date()) { return data; From 902830c8c8dd5bc735288f7643d7ba56315e54d7 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 11 Sep 2025 14:37:12 -0400 Subject: [PATCH 4/4] Remove whitespace change --- packages/remix-deno/sessions/fileStorage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/remix-deno/sessions/fileStorage.ts b/packages/remix-deno/sessions/fileStorage.ts index 9ce56b34b5b..9bf24d41156 100644 --- a/packages/remix-deno/sessions/fileStorage.ts +++ b/packages/remix-deno/sessions/fileStorage.ts @@ -72,8 +72,8 @@ export function createFileSessionStorage({ const content = JSON.parse(await Deno.readTextFile(file)); const data = content.data; const expires = typeof content.expires === "string" - ? new Date(content.expires) - : null; + ? new Date(content.expires) + : null; if (!expires || expires > new Date()) { return data;