fix(node): correct import specifiers (#2474)

This commit is contained in:
Yoshiya Hinosawa 2022-07-27 23:15:28 +09:00 committed by GitHub
parent 48058b109a
commit aaa1f64d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -2,5 +2,5 @@
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// deno-lint-ignore-file
import { duplexify } from "./duplex.js";
import { duplexify } from "./duplex.mjs";
export default duplexify;

View File

@ -2,7 +2,7 @@
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// deno-lint-ignore-file
import { getDefaultEncoding } from "../crypto/util.mjs";
import { getDefaultEncoding } from "../crypto/util.ts";
import stream from "../../stream.ts";
function LazyTransform(options) {

View File

@ -60,6 +60,8 @@ import internalHttp from "./internal/http.ts";
import internalReadlineUtils from "./internal/readline/utils.mjs";
import internalStreamsAddAbortSignal from "./internal/streams/add-abort-signal.mjs";
import internalStreamsAddBufferList from "./internal/streams/buffer_list.mjs";
import internalStreamsDuplexify from "./internal/streams/duplexify.mjs";
import internalStreamsLazyTransform from "./internal/streams/lazy_transform.mjs";
import internalStreamsState from "./internal/streams/state.mjs";
import internalTestBinding from "./internal/test/binding.ts";
import internalTimers from "./internal/timers.mjs";
@ -147,6 +149,8 @@ export default {
"internal/readline/utils": internalReadlineUtils,
"internal/streams/add-abort-signal": internalStreamsAddAbortSignal,
"internal/streams/buffer_list": internalStreamsAddBufferList,
"internal/streams/duplexify": internalStreamsDuplexify,
"internal/streasm/lazy_transform": internalStreamsLazyTransform,
"internal/streams/state": internalStreamsState,
"internal/test/binding": internalTestBinding,
"internal/timers": internalTimers,