Skip to content

Commit

Permalink
fix: correct lodash import (#2978)
Browse files Browse the repository at this point in the history
Closes #2977
  • Loading branch information
ahnpnl committed Oct 16, 2021
1 parent 8aa903c commit 8b60679
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/__mocks__/thing1.ts
@@ -1,4 +1,4 @@
import camelCase from 'lodash/camelCase'
import camelCase from 'lodash.camelcase'

import { getBar } from './thing2'

Expand Down
2 changes: 1 addition & 1 deletion src/__mocks__/thing2.ts
@@ -1,4 +1,4 @@
import camelCase from 'lodash/camelCase'
import camelCase from 'lodash.camelcase'

export function getBar(msg: string): string {
return camelCase(msg) + 'foo'
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/ts-compiler.ts
@@ -1,7 +1,7 @@
import { basename, normalize } from 'path'

import { LogContexts, Logger, LogLevels } from 'bs-logger'
import memoize from 'lodash/memoize'
import memoize from 'lodash.memoize'
import type {
EmitOutput,
LanguageService,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/backports.spec.ts
@@ -1,7 +1,7 @@
import { inspect } from 'util'

import { testing } from 'bs-logger'
import set from 'lodash/set'
import set from 'lodash.set'

import { backportJestConfig } from './backports'

Expand Down

0 comments on commit 8b60679

Please sign in to comment.