diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-01-11 16:21:46 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-01-11 16:21:46 -0400 |
commit | a221bbc93039c9ad6eba4e472dd574d77f13831b (patch) | |
tree | f2dd6bb7c3a0654d08687568d3c32a46a7acfa93 /src/find.js | |
parent | b43833d7afd44b15d75a230be6a63299c3b21317 (diff) |
find, reverse: use namespace import
Diffstat (limited to 'src/find.js')
-rw-r--r-- | src/find.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/find.js b/src/find.js index 29f32dad..ec28ab15 100644 --- a/src/find.js +++ b/src/find.js @@ -5,7 +5,7 @@ import {compareObjects, stitchArrays, typeAppearance} from '#sugar'; import thingConstructors from '#things'; import {isFunction, validateArrayItems} from '#validators'; -import {findSpec, getAllSpecs, tokenProxy} from './find-reverse.js'; +import * as fr from './find-reverse.js'; function warnOrThrow(mode, message) { if (mode === 'error') { @@ -271,11 +271,11 @@ export function postprocessFindSpec(spec, {thingConstructor}) { } export function getAllFindSpecs() { - return getAllSpecs(findReverseHelperConfig); + return fr.getAllSpecs(findReverseHelperConfig); } export function findFindSpec(key) { - return findSpec(key, findReverseHelperConfig); + return fr.findSpec(key, findReverseHelperConfig); } export const findTokenKey = Symbol.for('find.findTokenKey'); @@ -394,7 +394,7 @@ export function findMixed(config) { return findMixedStore.get(config); } -export default tokenProxy({ +export default fr.tokenProxy({ findSpec: findFindSpec, prepareBehavior: findHelper, |