Skip to content

Commit

Permalink
fix: fixed lodash esm import (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
imranbarbhuiya committed Dec 15, 2022
1 parent ae55fd9 commit 63def7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/constraints/ObjectConstrains.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import get from 'lodash/get';
import get from 'lodash/get.js';
import { ExpectedConstraintError } from '../lib/errors/ExpectedConstraintError';
import { Result } from '../lib/Result';
import type { BaseValidator } from '../type-exports';
Expand Down
2 changes: 1 addition & 1 deletion src/constraints/util/isUnique.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fastDeepEqual from 'fast-deep-equal/es6/index.js';
import uniqWith from 'lodash/uniqWith';
import uniqWith from 'lodash/uniqWith.js';

export function isUnique(input: unknown[]) {
if (input.length < 2) return true;
Expand Down

0 comments on commit 63def7b

Please sign in to comment.