From 5ddb83a4c2a5622d0ea173c0798550ae76e1fd69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 3 May 2022 18:44:05 +0200 Subject: BREAKING: Remove unstable Deno.applySourceMap API (#14473) --- runtime/js/40_error_stack.js | 5 ----- runtime/js/90_deno_ns.js | 1 - 2 files changed, 6 deletions(-) (limited to 'runtime/js') diff --git a/runtime/js/40_error_stack.js b/runtime/js/40_error_stack.js index 1ecf0f6bb..046f4ddf0 100644 --- a/runtime/js/40_error_stack.js +++ b/runtime/js/40_error_stack.js @@ -12,13 +12,8 @@ return core.opSync("op_format_file_name", location); } - function opApplySourceMap(location) { - return core.applySourceMap(location); - } - window.__bootstrap.errorStack = { opFormatDiagnostics, opFormatFileName, - opApplySourceMap, }; })(this); diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index 61e894f8a..a6f63abe2 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -126,7 +126,6 @@ systemMemoryInfo: __bootstrap.os.systemMemoryInfo, networkInterfaces: __bootstrap.os.networkInterfaces, getUid: __bootstrap.os.getUid, - applySourceMap: __bootstrap.errorStack.opApplySourceMap, formatDiagnostics: __bootstrap.errorStack.opFormatDiagnostics, sleepSync: __bootstrap.timers.sleepSync, listen: __bootstrap.netUnstable.listen, -- cgit v1.2.3