Skip to content

Commit 33b47fd

Browse files
RobinMalfaitbradlcjlgeering
authored
use explicit lodash dependencies (#111)
Fixes: #84 Fixes: #39 Closes: #65 Co-authored-by: Brad Cornes <bradlc41@gmail.com> Co-authored-by: Jean-Luc Geering <jlgeering.13@gmail.com> Co-authored-by: Brad Cornes <bradlc41@gmail.com> Co-authored-by: Jean-Luc Geering <jlgeering.13@gmail.com>
1 parent 86b41be commit 33b47fd

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,10 @@
4343
"react-dom": "^16.8.6",
4444
"snapshot-diff": "^0.8.1",
4545
"tailwindcss": "^2.0.0-alpha.16"
46+
},
47+
"dependencies": {
48+
"lodash.castarray": "^4.4.0",
49+
"lodash.merge": "^4.6.2",
50+
"lodash.uniq": "^4.5.0"
4651
}
4752
}

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const plugin = require('tailwindcss/plugin')
2-
const merge = require('lodash/merge')
3-
const castArray = require('lodash/castArray')
4-
const uniq = require('lodash/uniq')
2+
const merge = require('lodash.merge')
3+
const castArray = require('lodash.castarray')
4+
const uniq = require('lodash.uniq')
55
const styles = require('./styles')
66
const { isUsableColor } = require('./utils')
77

yarn.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5334,11 +5334,21 @@ locate-path@^5.0.0:
53345334
dependencies:
53355335
p-locate "^4.1.0"
53365336

5337+
lodash.castarray@^4.4.0:
5338+
version "4.4.0"
5339+
resolved "https://registry.yarnpkg.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz#c02513515e309daddd4c24c60cfddcf5976d9115"
5340+
integrity sha1-wCUTUV4wna3dTCTGDP3c9ZdtkRU=
5341+
53375342
lodash.memoize@^4.1.2:
53385343
version "4.1.2"
53395344
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
53405345
integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=
53415346

5347+
lodash.merge@^4.6.2:
5348+
version "4.6.2"
5349+
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
5350+
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
5351+
53425352
lodash.sortby@^4.7.0:
53435353
version "4.7.0"
53445354
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"

0 commit comments

Comments
 (0)