mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
chore(node/stream): unbundle/unminify readable-streams (#19045)
This commit is contained in:
parent
69aea93d54
commit
8278df52e4
3 changed files with 5723 additions and 21 deletions
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
* ERR_INVALID_PACKAGE_CONFIG // package.json stuff, probably useless
|
||||
*/
|
||||
|
||||
import { inspect } from "ext:deno_node/internal/util/inspect.mjs";
|
||||
import { format, inspect } from "ext:deno_node/internal/util/inspect.mjs";
|
||||
import { codes } from "ext:deno_node/internal/error_codes.ts";
|
||||
import {
|
||||
codeMap,
|
||||
|
@ -2065,7 +2065,7 @@ export class ERR_UNKNOWN_CREDENTIAL extends NodeError {
|
|||
}
|
||||
export class ERR_UNKNOWN_ENCODING extends NodeTypeError {
|
||||
constructor(x: string) {
|
||||
super("ERR_UNKNOWN_ENCODING", `Unknown encoding: ${x}`);
|
||||
super("ERR_UNKNOWN_ENCODING", format("Unknown encoding: %s", x));
|
||||
}
|
||||
}
|
||||
export class ERR_UNKNOWN_FILE_EXTENSION extends NodeTypeError {
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
||||
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
|
||||
|
||||
import stream from "ext:deno_node/_stream.mjs";
|
||||
|
||||
const { finished, pipeline } = stream.promises;
|
||||
import { finished, pipeline } from "ext:deno_node/_stream.mjs";
|
||||
|
||||
export default {
|
||||
finished,
|
||||
|
|
Loading…
Reference in a new issue