From 76b173b60c975fe7540d04aac5b7a40be67fe466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 5 Mar 2023 18:46:37 -0400 Subject: refactor: move "pathFromURL" to deno_web extension (#18037) This API is required by several extensions like "ext/node", "ext/ffi" and also FS APIs that we want to move to a separate crate. Because of that "pathFromURL" API was moved to "deno_web" extension so other extension crates can rely on it. --- core/lib.deno_core.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core') diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts index 457fa07db..b238bd6b3 100644 --- a/core/lib.deno_core.d.ts +++ b/core/lib.deno_core.d.ts @@ -184,5 +184,13 @@ declare namespace Deno { after_hook?: (promise: Promise) => void, resolve_hook?: (promise: Promise) => void, ): void; + + const build: { + target: string; + arch: string; + os: string; + vendor: string; + env: string | undefined; + }; } } -- cgit v1.2.3