From 130da494ca3a436405046a8529a2c8cf8f95328d Mon Sep 17 00:00:00 2001 From: takker99 <37929109+takker99@users.noreply.github.com> Date: Tue, 15 Aug 2023 17:42:32 +0900 Subject: [PATCH 1/3] :arrow_up: Upgrade dependencies and fix a snapshot result --- deps/scrapbox-rest.ts | 2 +- deps/scrapbox.ts | 4 ++-- deps/testing.ts | 4 ++-- rest/__snapshots__/getCodeBlocks.test.ts.snap | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) 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..10a02ce 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", }, From ad82e27d75ab3ec04072fc267da8c8fb92cdde1e Mon Sep 17 00:00:00 2001 From: takker99 <37929109+takker99@users.noreply.github.com> Date: Tue, 15 Aug 2023 17:45:39 +0900 Subject: [PATCH 2/3] :arrow_up: Upgrade version of deno --- .github/workflows/ci.yml | 2 +- .github/workflows/udd.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/ From 6f570e8f90d08cbf2b0e688bc11a7eceeb342e91 Mon Sep 17 00:00:00 2001 From: takker99 <37929109+takker99@users.noreply.github.com> Date: Tue, 15 Aug 2023 17:50:05 +0900 Subject: [PATCH 3/3] =?UTF-8?q?:white=5Fcheck=5Fmark:=20CR=E3=81=8C?= =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=A7=E6=82=AA=E3=81=95=E3=81=97?= =?UTF-8?q?=E3=81=A6=E3=81=9F=E3=81=AE=E3=81=A7=E3=80=81=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E5=85=83=E3=83=87=E3=83=BC=E3=82=BF=E3=81=8B=E3=82=89?= =?UTF-8?q?=E6=B6=88=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rest/__snapshots__/getCodeBlocks.test.ts.snap | 4 ++-- rest/getCodeBlocks.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rest/__snapshots__/getCodeBlocks.test.ts.snap b/rest/__snapshots__/getCodeBlocks.test.ts.snap index 10a02ce..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: " - インデント ", + text: " - インデント", updated: 1672982822, userId: "5ef2bdebb60650001e1280f0", }, @@ -233,7 +233,7 @@ snapshot[`getCodeBlocks() > filename filter 1`] = ` { created: 1672982822, id: "63b7b1261280f00000c9bc2d", - text: " - インデント ", + 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,