mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
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:
parent
1084027d50
commit
abd9610530
43 changed files with 104 additions and 89 deletions
|
@ -264,8 +264,8 @@ Deno.test(function textEncoderShouldCoerceToString() {
|
|||
});
|
||||
|
||||
Deno.test(function binaryEncode() {
|
||||
// @ts-ignore: Deno.core allowed
|
||||
const ops = Deno.core.ops;
|
||||
// @ts-ignore: Deno[Deno.internal].core allowed
|
||||
const ops = Deno[Deno.internal].core.ops;
|
||||
function asBinaryString(bytes: Uint8Array): string {
|
||||
return Array.from(bytes).map(
|
||||
(v: number) => String.fromCodePoint(v),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue