refactor(ext/node): remove polyfills/_core.ts (#18766)

This commit is contained in:
Yoshiya Hinosawa 2023-04-20 13:24:28 +09:00 committed by GitHub
parent 02da57e275
commit f520284081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 89 deletions

View file

@ -5,7 +5,8 @@
// https://github.com/cloudflare/workerd/blob/77fd0ed6ddba184414f0216508fc62b06e716cab/src/workerd/api/node/async-hooks.c++#L9
import { validateFunction } from "ext:deno_node/internal/validators.mjs";
import { core } from "ext:deno_node/_core.ts";
const { core } = globalThis.__bootstrap;
function assert(cond: boolean) {
if (!cond) throw new Error("Assertion failed");