diff --git a/src/error-handler.ts b/src/error-handler.ts index 2c174d3..aa68588 100644 --- a/src/error-handler.ts +++ b/src/error-handler.ts @@ -1,4 +1,4 @@ -import { isPlainObject } from 'lodash' +import isPlainObject from 'lodash/isPlainObject.js' import type { ContentfulErrorData } from './types.js' /** diff --git a/src/rate-limit-throttle.ts b/src/rate-limit-throttle.ts index 65f41d9..d7e14f1 100644 --- a/src/rate-limit-throttle.ts +++ b/src/rate-limit-throttle.ts @@ -1,4 +1,4 @@ -import { isString } from 'lodash' +import isString from 'lodash/isString.js' import pThrottle from 'p-throttle' import { AxiosInstance } from './types.js'