Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 5a521db

Browse files
authored
refactor: Removed lodash.filter (optimizely#398)
Summary: Removed lodash.filter because it wasnt being used anywhere in the project. This is part of an effort to remove lodash dependency to reduce bundle size. Test Plan: All Unit tests and Full Stack SDK compatibility passed
1 parent 653296d commit 5a521db

File tree

1 file changed

+0
-1
lines changed
  • packages/optimizely-sdk/lib/utils/fns

1 file changed

+0
-1
lines changed

packages/optimizely-sdk/lib/utils/fns/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ module.exports = {
3030
return _isFinite(number) && Math.abs(number) <= MAX_NUMBER_LIMIT;
3131
},
3232
keyBy: require('lodash/keyBy'),
33-
filter: require('lodash/filter'),
3433
forEach: require('lodash/forEach'),
3534
forOwn: require('lodash/forOwn'),
3635
map: require('lodash/map'),

0 commit comments

Comments
 (0)