mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
chore: ensure that each op provided to ensureFastOps is only used once (#21689)
When we migrate to op-import-per-extension, we will want to ensure that ops have one and only one place where they are imported. This tackles the ops that are imported via `ensureFastOps`, but does not yet tackle direct `ops` imports. Landing ahead of https://github.com/denoland/deno_core/pull/393
This commit is contained in:
parent
1297c9a8f3
commit
92b2e28c64
9 changed files with 67 additions and 52 deletions
|
@ -843,7 +843,7 @@ deno_core::extension!(deno_websocket,
|
|||
op_ws_send_pong,
|
||||
op_ws_get_buffered_amount,
|
||||
],
|
||||
esm = [ "01_websocket.js", "02_websocketstream.js" ],
|
||||
esm = [ "00_ops.js", "01_websocket.js", "02_websocketstream.js" ],
|
||||
options = {
|
||||
user_agent: String,
|
||||
root_cert_store_provider: Option<Arc<dyn RootCertStoreProvider>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue