diff --git a/dist/formatting.js b/dist/formatting.js index dbcd2b1..a70e03d 100644 --- a/dist/formatting.js +++ b/dist/formatting.js @@ -1,4 +1,4 @@ -import { times } from 'lodash'; +import times from 'lodash/times.js'; import { mapMaybes } from '@freckle/maybe'; import { exhaustive } from '@freckle/exhaustive'; import Path from './path.js'; diff --git a/dist/index.js b/dist/index.js index aa67a27..672433d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,6 @@ -import { reduce, map as _map, find } from 'lodash'; +import reduce from 'lodash/reduce.js'; +import _map from 'lodash/map.js'; +import find from 'lodash/find.js'; import moment from 'moment-timezone'; import { mkNonEmpty, mkNonEmptyFromHead, unconsOnNonEmpty } from '@freckle/non-empty'; import Path from './path.js'; diff --git a/dist/path.js b/dist/path.js index d436ced..bd310b5 100644 --- a/dist/path.js +++ b/dist/path.js @@ -1,4 +1,4 @@ -import { map } from 'lodash'; +import map from 'lodash/map.js'; import { exhaustive } from '@freckle/exhaustive'; const Path = { root() { diff --git a/dist/test-helper.js b/dist/test-helper.js index f2ee802..27d521d 100644 --- a/dist/test-helper.js +++ b/dist/test-helper.js @@ -1,4 +1,4 @@ -import { identity } from 'lodash'; +import identity from 'lodash/identity.js'; import { Parser } from './index.js'; // Set true to see parse results const verbose = false; diff --git a/src/formatting.ts b/src/formatting.ts index 47015de..3f6f962 100644 --- a/src/formatting.ts +++ b/src/formatting.ts @@ -1,4 +1,4 @@ -import {times} from 'lodash' +import times from 'lodash/times.js' import {mapMaybes} from '@freckle/maybe' import {exhaustive} from '@freckle/exhaustive' diff --git a/src/index.test.ts b/src/index.test.ts index baa1227..e900001 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -1,4 +1,4 @@ -import {forEach} from 'lodash' +import forEach from 'lodash/forEach.js' import { type ParserT, diff --git a/src/index.ts b/src/index.ts index 13de90f..6e1d6a1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,6 @@ -import {reduce, map as _map, find} from 'lodash' +import reduce from 'lodash/reduce.js' +import _map from 'lodash/map.js' +import find from 'lodash/find.js' import moment, {type Moment} from 'moment-timezone' import { type NonEmptyArray, diff --git a/src/path.ts b/src/path.ts index 6f6d0eb..3e2cd5f 100644 --- a/src/path.ts +++ b/src/path.ts @@ -1,4 +1,4 @@ -import {map} from 'lodash' +import map from 'lodash/map.js' import {exhaustive} from '@freckle/exhaustive' diff --git a/src/test-helper.ts b/src/test-helper.ts index aa12686..3aafc23 100644 --- a/src/test-helper.ts +++ b/src/test-helper.ts @@ -1,4 +1,4 @@ -import {identity} from 'lodash' +import identity from 'lodash/identity.js' import {type ParserT, Parser} from './index.js'