diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 09:39:14 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 10:28:02 -0400 |
commit | 7a3038b982c4d318e146698527070f096591aa4f (patch) | |
tree | 02ef22e2c740dc02f073189718a315afff100fe5 /src/data/validators.js | |
parent | 2b0a5231170049bc4fd7f44009c9f32b1404d5a5 (diff) |
sugar: move many functions into new #aggregate import
Diffstat (limited to 'src/data/validators.js')
-rw-r--r-- | src/data/validators.js | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/data/validators.js b/src/data/validators.js index 7eabe72..4fc2ac6 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -1,18 +1,11 @@ import {inspect as nodeInspect} from 'node:util'; +import {openAggregate, withAggregate} from '#aggregate'; import {colors, ENABLE_COLOR} from '#cli'; +import {cut, empty, matchMultiline, typeAppearance} from '#sugar'; import {commentaryRegexCaseInsensitive, commentaryRegexCaseSensitiveOneShot} from '#wiki-data'; -import { - cut, - empty, - matchMultiline, - openAggregate, - typeAppearance, - withAggregate, -} from '#sugar'; - function inspect(value) { return nodeInspect(value, {colors: ENABLE_COLOR}); } |