From 7a3038b982c4d318e146698527070f096591aa4f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 Feb 2024 09:39:14 -0400 Subject: sugar: move many functions into new #aggregate import --- src/data/things/index.js | 2 +- src/data/things/language.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/data/things') diff --git a/src/data/things/index.js b/src/data/things/index.js index 9a36eaae..3bf84091 100644 --- a/src/data/things/index.js +++ b/src/data/things/index.js @@ -1,10 +1,10 @@ import * as path from 'node:path'; import {fileURLToPath} from 'node:url'; +import {openAggregate, showAggregate} from '#aggregate'; import {logError} from '#cli'; import {compositeFrom} from '#composite'; import * as serialize from '#serialize'; -import {openAggregate, showAggregate} from '#sugar'; import Thing from '#thing'; diff --git a/src/data/things/language.js b/src/data/things/language.js index 6bd5a78a..93ed40b6 100644 --- a/src/data/things/language.js +++ b/src/data/things/language.js @@ -1,8 +1,9 @@ import { Temporal, toTemporalInstant } from '@js-temporal/polyfill'; +import {withAggregate} from '#aggregate'; import CacheableObject from '#cacheable-object'; import * as html from '#html'; -import {empty, withAggregate} from '#sugar'; +import {empty} from '#sugar'; import {isLanguageCode} from '#validators'; import Thing from '#thing'; -- cgit 1.3.0-6-gf8a5