From 72a9c5906c81d50a6c0593946f2c499fbac54753 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 27 Feb 2024 09:06:28 +1200 Subject: [PATCH 1/4] fix(log): add missing return types --- log/base_handler.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/log/base_handler.ts b/log/base_handler.ts index 3eb65c118de4..10e7abe6ab80 100644 --- a/log/base_handler.ts +++ b/log/base_handler.ts @@ -24,15 +24,16 @@ export class BaseHandler { this.formatter = formatter; } - get level() { + get level(): LogLevel { return this.#level; } + set level(level: LogLevel) { this.#level = level; this.#levelName = getLevelName(level); } - get levelName() { + get levelName(): LevelName { return this.#levelName; } set levelName(levelName: LevelName) { From 3110504ae9844cf91db41c111c03adf634acc0fd Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 27 Feb 2024 10:16:57 +1200 Subject: [PATCH 2/4] test --- deno.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.json b/deno.json index 6dce2b1ab506..77337b8ffddf 100644 --- a/deno.json +++ b/deno.json @@ -12,7 +12,7 @@ "automation/": "https://raw.githubusercontent.com/denoland/automation/0.10.0/" }, "tasks": { - "test": "deno test --unstable-http --unstable-webgpu --doc --allow-all --parallel --coverage --trace-ops", + "test": "deno test --unstable-http --unstable-webgpu --doc --allow-all --coverage --trace-ops", "test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | grep -v _tools | xargs deno check --config browser-compat.tsconfig.json", "fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts", "lint:deprecations": "deno run --allow-read --allow-net --allow-env=HOME ./_tools/check_deprecation.ts", From 8d99c03059bdd1f9805781dfe2e2c80deaf8244a Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 27 Feb 2024 10:21:24 +1200 Subject: [PATCH 3/4] troubleshoot --- deno.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.json b/deno.json index 77337b8ffddf..9b424b4e03df 100644 --- a/deno.json +++ b/deno.json @@ -12,7 +12,7 @@ "automation/": "https://raw.githubusercontent.com/denoland/automation/0.10.0/" }, "tasks": { - "test": "deno test --unstable-http --unstable-webgpu --doc --allow-all --coverage --trace-ops", + "test": "RUST_BACKTRACE=1 deno test --unstable-http --unstable-webgpu --doc --allow-all --coverage --trace-ops", "test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | grep -v _tools | xargs deno check --config browser-compat.tsconfig.json", "fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts", "lint:deprecations": "deno run --allow-read --allow-net --allow-env=HOME ./_tools/check_deprecation.ts", From f8e46cbedc46d9ea875332dc74e9d6e4d007c349 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 27 Feb 2024 10:31:11 +1200 Subject: [PATCH 4/4] revert --- deno.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.json b/deno.json index 9b424b4e03df..6dce2b1ab506 100644 --- a/deno.json +++ b/deno.json @@ -12,7 +12,7 @@ "automation/": "https://raw.githubusercontent.com/denoland/automation/0.10.0/" }, "tasks": { - "test": "RUST_BACKTRACE=1 deno test --unstable-http --unstable-webgpu --doc --allow-all --coverage --trace-ops", + "test": "deno test --unstable-http --unstable-webgpu --doc --allow-all --parallel --coverage --trace-ops", "test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | grep -v _tools | xargs deno check --config browser-compat.tsconfig.json", "fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts", "lint:deprecations": "deno run --allow-read --allow-net --allow-env=HOME ./_tools/check_deprecation.ts",