Skip to content

Commit 8b60679

Browse files
authored
fix: correct lodash import (#2978)
Closes #2977
1 parent 8aa903c commit 8b60679

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/__mocks__/thing1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import camelCase from 'lodash/camelCase'
1+
import camelCase from 'lodash.camelcase'
22

33
import { getBar } from './thing2'
44

src/__mocks__/thing2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import camelCase from 'lodash/camelCase'
1+
import camelCase from 'lodash.camelcase'
22

33
export function getBar(msg: string): string {
44
return camelCase(msg) + 'foo'

src/compiler/ts-compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { basename, normalize } from 'path'
22

33
import { LogContexts, Logger, LogLevels } from 'bs-logger'
4-
import memoize from 'lodash/memoize'
4+
import memoize from 'lodash.memoize'
55
import type {
66
EmitOutput,
77
LanguageService,

src/utils/backports.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { inspect } from 'util'
22

33
import { testing } from 'bs-logger'
4-
import set from 'lodash/set'
4+
import set from 'lodash.set'
55

66
import { backportJestConfig } from './backports'
77

0 commit comments

Comments
 (0)