Skip to content

Commit 56c83fa

Browse files
committed
Replace unmaintained lodash per-method packages with full lodash
1 parent c753c81 commit 56c83fa

File tree

4 files changed

+8
-29
lines changed

4 files changed

+8
-29
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ var validate
33
, toAscii
44
, assert = require('assert')
55
, SMConsumer = require('source-map').SourceMapConsumer
6-
, each = require('lodash.foreach')
7-
, template = require('lodash.template')
6+
, each = require('lodash/foreach')
7+
, template = require('lodash/template')
88
, jsesc = require('jsesc')
99
, fancyArrow = String.fromCharCode(parseInt(2192,16));
1010

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
},
2626
"dependencies": {
2727
"jsesc": "~0.3.x",
28-
"lodash.foreach": "^4.5.0",
29-
"lodash.template": "^4.5.0",
28+
"lodash": "^4.17.21",
3029
"source-map": "~0.1.x"
3130
},
3231
"files": [

tests/integration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var validate = require('..')
33
, path = require('path')
44
, assert = require('assert')
55
, uglify = require('uglify-js')
6-
, each = require('lodash.foreach')
6+
, each = require('lodash/foreach')
77
, libDir = path.join(__dirname, 'fixtures', 'integration')
88
, tests = {}
99
, fixtures;

yarn.lock

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,10 @@ jsesc@~0.3.x:
3535
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.3.0.tgz#1bf5ee63b4539fe2e26d0c1e99c240b97a457972"
3636
integrity sha1-G/XuY7RTn+LibQwemcJAuXpFeXI=
3737

38-
lodash._reinterpolate@^3.0.0:
39-
version "3.0.0"
40-
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
41-
integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=
42-
43-
lodash.foreach@^4.5.0:
44-
version "4.5.0"
45-
resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-4.5.0.tgz#1a6a35eace401280c7f06dddec35165ab27e3e53"
46-
integrity sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=
47-
48-
lodash.template@^4.5.0:
49-
version "4.5.0"
50-
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab"
51-
integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==
52-
dependencies:
53-
lodash._reinterpolate "^3.0.0"
54-
lodash.templatesettings "^4.0.0"
55-
56-
lodash.templatesettings@^4.0.0:
57-
version "4.2.0"
58-
resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33"
59-
integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==
60-
dependencies:
61-
lodash._reinterpolate "^3.0.0"
38+
lodash@^4.17.21:
39+
version "4.17.21"
40+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
41+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
6242

6343
lru-cache@2:
6444
version "2.7.3"

0 commit comments

Comments
 (0)