chore(ext/node): disable prefer-primordials on a per-file basis (#19553)

This commit is contained in:
Kenta Moriuchi 2023-06-27 15:18:22 +09:00 committed by GitHub
parent 814edcdd57
commit e16b74d792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
162 changed files with 539 additions and 12 deletions

View file

@ -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;