Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Upgrade dependencies #128

Merged
merged 3 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: "1.29.4"
deno-version: "1.36.1"
- name: Check fmt
run: deno fmt --check
- name: Run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/udd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: 1.29.4
deno-version: "1.36.1"
- name: Update dependencies
run: >
deno run --allow-net --allow-read --allow-write=deps/
Expand Down
6 changes: 3 additions & 3 deletions app.min.css.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deps/scrapbox-std-browser.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.23.1/browser/dom/mod.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.1/browser/dom/mod.ts";
10 changes: 5 additions & 5 deletions deps/scrapbox-std.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.23.1/rest/mod.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.23.1/title.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.23.1/sleep.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.23.1/is.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.23.1/parseAbsoluteLink.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.1/rest/mod.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.1/title.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.1/sleep.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.1/is.ts";
export * from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.24.1/parseAbsoluteLink.ts";
6 changes: 3 additions & 3 deletions deps/scrapbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ export type {
RelatedPage,
StringLc,
UnixTime,
} from "https://raw.githubusercontent.com/scrapbox-jp/types/0.4.2/rest.ts";
export type { Scrapbox } from "https://raw.githubusercontent.com/scrapbox-jp/types/0.4.2/userscript.ts";
} from "https://raw.githubusercontent.com/scrapbox-jp/types/0.5.0/rest.ts";
export type { Scrapbox } from "https://raw.githubusercontent.com/scrapbox-jp/types/0.5.0/userscript.ts";

import type {
ErrorLike,
} from "https://raw.githubusercontent.com/scrapbox-jp/types/0.4.2/rest.ts";
} from "https://raw.githubusercontent.com/scrapbox-jp/types/0.5.0/rest.ts";

// cf. https://blog.uhy.ooo/entry/2021-04-09/typescript-is-any-as/#%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E5%AE%9A%E7%BE%A9%E5%9E%8B%E3%82%AC%E3%83%BC%E3%83%89%E3%81%AE%E5%BC%95%E6%95%B0%E3%81%AE%E5%9E%8B%E3%82%92%E3%81%A9%E3%81%86%E3%81%99%E3%82%8B%E3%81%8B
function isNotNullish(data: unknown): data is Record<string, unknown> {
Expand Down
4 changes: 2 additions & 2 deletions deps/testing.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "https://deno.land/std@0.185.0/testing/asserts.ts";
export * from "https://deno.land/std@0.185.0/testing/snapshot.ts";
export * from "https://deno.land/std@0.198.0/testing/asserts.ts";
export * from "https://deno.land/std@0.198.0/testing/snapshot.ts";
7 changes: 1 addition & 6 deletions scripts/minifyCSS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,5 @@ const { outputFiles: [css] } = await build({
// create app.min.css.ts
await Deno.writeTextFile(
new URL("../app.min.css.ts", import.meta.url),
`export const CSS =String.raw\`${css.text}\`;`,
`// deno-fmt-ignore-file\nexport const CSS = String.raw\`${css.text}\`;`,
);

// format code
await Deno.run({
cmd: ["deno", "fmt"],
}).status();
Loading