fix imports
This commit is contained in:
parent
be856bffad
commit
d363d73dbd
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import { getHumanReadableName } from "../primitives/symbol.js";
|
import { getHumanReadableName } from "../primitives/symbol.js";
|
||||||
import { inspect } from "util";
|
import { inspect } from "node:util";
|
||||||
import { prettyT } from "../util/pretty.js";
|
import { prettyT } from "../util/pretty.js";
|
||||||
|
|
||||||
export const inspectType = function(depth, options, inspect){ return options.stylize(prettyT(this), 'date'); }
|
export const inspectType = function(depth, options, inspect){ return options.stylize(prettyT(this), 'date'); }
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Tiny wrapper around function-red-black-tree that overrides the [inspect.custom] symbol so when we print it (during debugging) we just see the (key=>value)-pairs instead of the tree structure.
|
// Tiny wrapper around function-red-black-tree that overrides the [inspect.custom] symbol so when we print it (during debugging) we just see the (key=>value)-pairs instead of the tree structure.
|
||||||
|
|
||||||
import createRBTree from "functional-red-black-tree";
|
import createRBTree from "functional-red-black-tree";
|
||||||
import { inspect } from "util";
|
import { inspect } from "node:util";
|
||||||
|
|
||||||
function defaultPrintf(depth, options, inspect) {
|
function defaultPrintf(depth, options, inspect) {
|
||||||
const entries = [];
|
const entries = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue