Skip to content

Commit

Permalink
feat: split lodash.findkey instead of lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbing authored and yutin1987 committed Feb 19, 2021
1 parent b82a67e commit 919bd75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lib"
],
"dependencies": {
"lodash": "^4.17.5"
"lodash.findkey": "^4.6.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
Expand All @@ -38,6 +38,7 @@
"eslint-plugin-react": "^7.0.1",
"gh-pages": "^1.0.0",
"jest": "^20.0.3",
"lodash": "^4.17.5",
"primer-css": "^6.0.0",
"react": "15.5.4",
"react-dom": "15.5.4",
Expand Down
2 changes: 1 addition & 1 deletion src/inapp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const findKey = require('lodash/findKey');
const findKey = require('lodash.findkey');

const BROWSER = {
messenger: /\bFB[\w_]+\/(Messenger|MESSENGER)/,
Expand Down

0 comments on commit 919bd75

Please sign in to comment.