Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Nov 21, 2024
1 parent ee66ed9 commit 76edbc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/kernel/src/react-helpers/download-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { StliteKernel } from "../kernel";
import { parse } from "@tinyhttp/content-disposition";

function getFileNameFromContentDispositionHeader(
contentDisposition: string
contentDisposition: string,
): string | undefined {
const parsed = parse(contentDisposition);
if (parsed.type !== "attachment") {
Expand All @@ -19,7 +19,7 @@ function getFileNameFromContentDispositionHeader(

export function downloadFileFromStlite(
stliteKernel: StliteKernel,
url: string
url: string,
) {
stliteKernel
.sendHttpRequest({
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13138,7 +13138,7 @@ immer@^9.0.19, immer@^9.0.7:
resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176"
integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==

immutable@^4.0.0:
immutable@4.2.3, immutable@^4.0.0:
version "4.2.3"
resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.2.3.tgz#a203cdda37a5a30bc351b982a1794c1930198815"
integrity sha512-IHpmvaOIX4VLJwPOuQr1NpeBr2ZG6vpIj3blsLVxXRWJscLioaJRStqC+NcBsLeCDsnGlPpXd5/WZmnE7MbsKA==
Expand Down Expand Up @@ -19092,7 +19092,7 @@ protobufjs-cli@^1.1.0:
tmp "^0.2.1"
uglify-js "^3.7.7"

protobufjs@^7.2.4, protobufjs@^7.2.5:
protobufjs@7.2.5, protobufjs@^7.2.4, protobufjs@^7.2.5:
version "7.2.5"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.5.tgz#45d5c57387a6d29a17aab6846dcc283f9b8e7f2d"
integrity sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==
Expand Down

0 comments on commit 76edbc0

Please sign in to comment.