From 7776636c2efc3db07b965166a9982fc3d5ef21ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 26 Jul 2024 08:08:15 +0100 Subject: fix: support `npm:bindings` and `npm:callsites` packages (#24727) Adds support for `npm:bindings` and `npm:callsites` packages because of changes in https://github.com/denoland/deno_core/pull/838. This `deno_core` bump causes us to stop prepending `file://` scheme for locations in stack traces that are for local files. Fixes https://github.com/denoland/deno/issues/24462 , fixes https://github.com/denoland/deno/issues/22671 , fixes https://github.com/denoland/deno/issues/15717 , fixes https://github.com/denoland/deno/issues/19130 , fixes https://github.com/WiseLibs/better-sqlite3/issues/1205 , fixes https://github.com/WiseLibs/better-sqlite3/issues/1034 , fixes https://github.com/denoland/deno/issues/20936 --------- Co-authored-by: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> --- cli/util/sync/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/util/sync/mod.rs') diff --git a/cli/util/sync/mod.rs b/cli/util/sync/mod.rs index f58437503..3c2ffbd7d 100644 --- a/cli/util/sync/mod.rs +++ b/cli/util/sync/mod.rs @@ -6,9 +6,8 @@ mod task_queue; mod value_creator; pub use async_flag::AsyncFlag; +pub use deno_core::unsync::sync::AtomicFlag; pub use sync_read_async_write_lock::SyncReadAsyncWriteLock; pub use task_queue::TaskQueue; pub use task_queue::TaskQueuePermit; pub use value_creator::MultiRuntimeAsyncValueCreator; -// todo(dsherret): this being in the unsync module is slightly confusing, but it's Sync -pub use deno_core::unsync::AtomicFlag; -- cgit v1.2.3