mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
chore(ext/node): disable prefer-primordials on a per-file basis (#19553)
This commit is contained in:
parent
814edcdd57
commit
e16b74d792
162 changed files with 539 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue