summaryrefslogtreecommitdiff
path: root/cli/util
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-07-26 08:08:15 +0100
committerGitHub <noreply@github.com>2024-07-26 09:08:15 +0200
commit7776636c2efc3db07b965166a9982fc3d5ef21ce (patch)
tree8506aead4cb8f71bad90eeae8e74d8a9de82584b /cli/util
parentf4952f75a82fa3e3dbba9e5d63ede6565f9c37ce (diff)
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>
Diffstat (limited to 'cli/util')
-rw-r--r--cli/util/sync/mod.rs3
1 files changed, 1 insertions, 2 deletions
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;