refactor: remove Deno.core (#16881)

This commit removes "Deno.core" namespace. It is strictly private API
that has no stability guarantees, we were supposed to remove it long time ago.

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
This commit is contained in:
Bartek Iwańczuk 2023-01-24 18:54:10 +01:00 committed by GitHub
parent 1084027d50
commit abd9610530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 104 additions and 89 deletions

View file

@ -4,7 +4,7 @@ function childProcessFork(path) {
const p = Deno.run({
cmd: [Deno.execPath(), "run", "--unstable", "-A", path],
env: {
"DENO_DONT_USE_INTERNAL_NODE_COMPAT_STATE": Deno.core.ops.op_npm_process_state(),
"DENO_DONT_USE_INTERNAL_NODE_COMPAT_STATE": Deno[Deno.internal].core.ops.op_npm_process_state(),
}
});
p.status().then(() => {