diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-06-27 15:18:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 15:18:22 +0900 |
commit | e16b74d792c8fcdb46ab231575fc75f29d4d7fe7 (patch) | |
tree | dd3e21da57213ba623e287bc804c8014e00de6e2 /ext/node/polyfills/async_hooks.ts | |
parent | 814edcdd570b3fbef2001f7e6434320743a8f834 (diff) |
chore(ext/node): disable prefer-primordials on a per-file basis (#19553)
Diffstat (limited to 'ext/node/polyfills/async_hooks.ts')
-rw-r--r-- | ext/node/polyfills/async_hooks.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/polyfills/async_hooks.ts b/ext/node/polyfills/async_hooks.ts index d2c939000..df42847a2 100644 --- a/ext/node/polyfills/async_hooks.ts +++ b/ext/node/polyfills/async_hooks.ts @@ -4,6 +4,9 @@ // This implementation is inspired by "workerd" AsyncLocalStorage implementation: // https://github.com/cloudflare/workerd/blob/77fd0ed6ddba184414f0216508fc62b06e716cab/src/workerd/api/node/async-hooks.c++#L9 +// TODO(petamoriken): enable prefer-primordials for node polyfills +// deno-lint-ignore-file prefer-primordials + import { validateFunction } from "ext:deno_node/internal/validators.mjs"; const { core } = globalThis.__bootstrap; |