Skip to content

Commit

Permalink
fix: adjust lodash usage to allow better tree shaking
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Mar 25, 2024
1 parent b01a189 commit 739e62a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/error-handler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isPlainObject } from 'lodash'
import isPlainObject from 'lodash/isPlainObject.js'
import type { ContentfulErrorData } from './types.js'

/**
Expand Down
2 changes: 1 addition & 1 deletion src/rate-limit-throttle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isString } from 'lodash'
import isString from 'lodash/isString.js'
import pThrottle from 'p-throttle'

import { AxiosInstance } from './types.js'
Expand Down

0 comments on commit 739e62a

Please sign in to comment.