summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-05 18:46:37 -0400
committerGitHub <noreply@github.com>2023-03-05 22:46:37 +0000
commit76b173b60c975fe7540d04aac5b7a40be67fe466 (patch)
tree0d1a58abce1b336e1e20ceeeeb7319030a3142b5 /core
parent1ab16e2426819af2c534e8a99b98f244626de512 (diff)
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.
Diffstat (limited to 'core')
-rw-r--r--core/lib.deno_core.d.ts8
1 files changed, 8 insertions, 0 deletions
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<unknown>) => void,
resolve_hook?: (promise: Promise<unknown>) => void,
): void;
+
+ const build: {
+ target: string;
+ arch: string;
+ os: string;
+ vendor: string;
+ env: string | undefined;
+ };
}
}