diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 708487e..b4770db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: denoland/setup-deno@v1 with: - deno-version: "1.34.3" + deno-version: "1.36.1" - name: Check fmt run: deno fmt --check - name: Run lint diff --git a/.github/workflows/udd.yml b/.github/workflows/udd.yml index 6626a6e..b283cd6 100644 --- a/.github/workflows/udd.yml +++ b/.github/workflows/udd.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: denoland/setup-deno@v1 with: - deno-version: "1.34.3" + deno-version: "1.36.1" - name: Update dependencies run: > deno run --allow-net --allow-read --allow-write=deps/ diff --git a/deps/scrapbox-rest.ts b/deps/scrapbox-rest.ts index 403bd6e..96194e5 100644 --- a/deps/scrapbox-rest.ts +++ b/deps/scrapbox-rest.ts @@ -25,4 +25,4 @@ export type { SessionError, Snapshot, TweetInfo, -} 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"; diff --git a/deps/scrapbox.ts b/deps/scrapbox.ts index b764a78..6650101 100644 --- a/deps/scrapbox.ts +++ b/deps/scrapbox.ts @@ -2,8 +2,8 @@ export type { BaseLine, Line, 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/userscript.ts"; export type { BaseStore, -} from "https://raw.githubusercontent.com/scrapbox-jp/types/0.4.2/baseStore.ts"; +} from "https://raw.githubusercontent.com/scrapbox-jp/types/0.5.0/baseStore.ts"; export * from "https://esm.sh/@progfay/scrapbox-parser@8.1.0"; diff --git a/deps/testing.ts b/deps/testing.ts index 2a27ad4..18d3800 100644 --- a/deps/testing.ts +++ b/deps/testing.ts @@ -1,2 +1,2 @@ -export * from "https://deno.land/std@0.196.0/testing/asserts.ts"; -export * from "https://deno.land/std@0.196.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"; diff --git a/rest/__snapshots__/getCodeBlocks.test.ts.snap b/rest/__snapshots__/getCodeBlocks.test.ts.snap index 3fb040d..6b50471 100644 --- a/rest/__snapshots__/getCodeBlocks.test.ts.snap +++ b/rest/__snapshots__/getCodeBlocks.test.ts.snap @@ -69,7 +69,7 @@ snapshot[`getCodeBlocks() 1`] = ` { created: 1672982822, id: "63b7b1261280f00000c9bc2d", - text: " - インデント\\r", + text: " - インデント", updated: 1672982822, userId: "5ef2bdebb60650001e1280f0", }, @@ -233,7 +233,7 @@ snapshot[`getCodeBlocks() > filename filter 1`] = ` { created: 1672982822, id: "63b7b1261280f00000c9bc2d", - text: " - インデント\\r", + text: " - インデント", updated: 1672982822, userId: "5ef2bdebb60650001e1280f0", }, diff --git a/rest/getCodeBlocks.test.ts b/rest/getCodeBlocks.test.ts index 02fd99a..e409e59 100644 --- a/rest/getCodeBlocks.test.ts +++ b/rest/getCodeBlocks.test.ts @@ -94,7 +94,7 @@ const sample: Line[] = [ }, { "id": "63b7b1261280f00000c9bc2d", - "text": " - インデント\r", + "text": " - インデント", "userId": "5ef2bdebb60650001e1280f0", "created": 1672982822, "updated": 1672982822,