8000 Add `isInteger` to `overrides` mapping. · sarvex/lodash-webpack-plugin@7e9caa8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e9caa8

Browse files
committed
Add isInteger to overrides mapping.
1 parent af2d345 commit 7e9caa8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/mapping.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ export const overrides = {
153153
'flattenDeep': { 'flattening': true },
154154
'flattenDepth': { 'flattening': true },
155155
'flip': { 'currying': true },
156+
'isInteger': { 'coercions': true },
156157
'kebabCase': { 'unicode': true },
157158
'lowerCase': { 'unicode': true },
158159
'parseInt': { 'coercions': true },
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { isInteger } from 'lodash';
2+
3+
isInteger(1);

0 commit comments

Comments
 (0)
0