Skip to content

Commit ca63174

Browse files
Update dependencies (#324)
* Remove `search-insights` * Bump vitest, cheerio, clsx * Update typescript * Update autoprefixer * Update typescript and linting stuff * Update prettier and happy-dom * Update vite and related deps
1 parent 80abdeb commit ca63174

File tree

8 files changed

+2311
-2347
lines changed

8 files changed

+2311
-2347
lines changed

app/routes/conf.2023._inner.speakers.$speakerSlug.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ export default function SpeakerRoute() {
224224
</h3>
225225
{startsAtISO ? (
226226
<div className="text-gray-300">
227-
<time dateTime={startsAtISO}>{startsAtFormatted}</time>{" "}
227+
<time dateTime={startsAtISO}>
228+
{startsAtFormatted}
229+
</time>{" "}
228230
</div>
229231
) : null}
230232
</div>

app/routes/docs.$lang.$ref.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ function useCodeBlockCopyButton(ref: React.RefObject<HTMLDivElement>) {
927927
{ listener: (event: MouseEvent) => void; to: number }
928928
>();
929929

930-
for (let codeBlock of codeBlocks) {
930+
for (const codeBlock of codeBlocks) {
931931
let button = document.createElement("button");
932932
let label = document.createElement("span");
933933
button.type = "button";

app/styles/docsearch.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
--docsearch-hit-shadow: none;
1212
--docsearch-hit-background: #090a11;
1313
--docsearch-key-gradient: linear-gradient(-26.5deg, #565872, #31355b);
14-
--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d,
14+
--docsearch-key-shadow:
15+
inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d,
1516
0 2px 2px 0 rgba(3, 4, 9, 0.3);
1617
--docsearch-footer-background: #1e2136;
17-
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5),
18-
0 -4px 8px 0 rgba(0, 0, 0, 0.2);
18+
--docsearch-footer-shadow:
19+
inset 0 1px 0 0 rgba(73, 76, 106, 0.5), 0 -4px 8px 0 rgba(0, 0, 0, 0.2);
1920
--docsearch-logo-color: #fff;
2021
--docsearch-muted-color: #7f8497;
2122
}

app/ui/primitives/polymorphic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ interface MemoComponent<IntrinsicElementString, OwnProps = {}>
7171
function forwardRef<OwnProps, TagName>(
7272
render: RenderFunction<OwnProps, TagName>,
7373
) {
74+
// @ts-expect-error - some wild types, not even sure why we have our own forwardRef
7475
return React_forwardRef(render) as ForwardRefComponent<TagName, OwnProps>;
7576
}
7677

data/posts/fog-of-war.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ authors:
1414
Remix is designed to make your application performant by default. Our latest feature, [Fog of War][remix-fog-of-war][^1] (a.k.a. "Lazy Route Discovery")[^2], helps your application stay performant no matter how large it grows.
1515

1616
[^1]: The Fog of War feature was released behind an `unstable` flag in Remix [v2.10][remix-2-10] for early beta testing—we hope to stabilize it in an upcoming release
17+
1718
[^2]: This was released behind the `future.unstable_fogOFWar` flag in v2.10, but the flag was renamed to `future.unstable_lazyRouteDiscovery` in v2.11. We found that without the context behind "Fog of War" we discuss in this post, the flag naming could be a bit confusing 🙂.
1819

1920
## How Remix Makes Fetch(es) Happen

0 commit comments

Comments
 (0)