This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +7
-13
lines changed Expand file tree Collapse file tree 6 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 75
75
"hat" : " 0.0.3" ,
76
76
"interface-ipfs-core" : " ~0.69.0" ,
77
77
"ipfsd-ctl" : " ~0.37.3" ,
78
- "lodash" : " ^4.17.10" ,
79
78
"mocha" : " ^5.1.1" ,
80
79
"ncp" : " ^2.0.0" ,
81
80
"nexpect" : " ~0.5.0" ,
138
137
"libp2p-webrtc-star" : " ~0.15.0" ,
139
138
"libp2p-websocket-star" : " ~0.8.0" ,
140
139
"libp2p-websockets" : " ~0.12.0" ,
141
- "lodash.flatmap" : " ^4.5.0" ,
142
- "lodash.flattendeep" : " ^4.4.0" ,
143
- "lodash.get" : " ^4.4.2" ,
144
- "lodash.set" : " ^4.3.2" ,
145
- "lodash.sortby" : " ^4.7.0" ,
146
- "lodash.values" : " ^4.3.0" ,
140
+ "lodash" : " ^4.17.10" ,
147
141
"mafmt" : " ^6.0.0" ,
148
142
"mime-types" : " ^2.1.18" ,
149
143
"mkdirp" : " ~0.5.1" ,
Original file line number Diff line number Diff line change 3
3
const fs = require ( 'fs' )
4
4
const path = require ( 'path' )
5
5
const glob = require ( 'glob' )
6
- const sortBy = require ( 'lodash.sortby ' )
6
+ const sortBy = require ( 'lodash/sortBy ' )
7
7
const pull = require ( 'pull-stream' )
8
8
const paramap = require ( 'pull-paramap' )
9
9
const zip = require ( 'pull-zip' )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const promisify = require('promisify-es6')
4
4
const CID = require ( 'cids' )
5
5
const pull = require ( 'pull-stream' )
6
6
const mapAsync = require ( 'async/map' )
7
- const flattenDeep = require ( 'lodash.flattendeep ' )
7
+ const flattenDeep = require ( 'lodash/flattenDeep ' )
8
8
9
9
module . exports = function dag ( self ) {
10
10
return {
Original file line number Diff line number Diff line change 3
3
// libp2p-nodejs gets replaced by libp2p-browser when webpacked/browserified
4
4
const Node = require ( '../runtime/libp2p-nodejs' )
5
5
const promisify = require ( 'promisify-es6' )
6
- const get = require ( 'lodash. get' )
6
+ const get = require ( 'lodash/ get' )
7
7
8
8
module . exports = function libp2p ( self ) {
9
9
return {
Original file line number Diff line number Diff line change 2
2
3
3
const multiaddr = require ( 'multiaddr' )
4
4
const promisify = require ( 'promisify-es6' )
5
- const values = require ( 'lodash. values' )
5
+ const values = require ( 'lodash/ values' )
6
6
7
7
const OFFLINE_ERROR = require ( '../utils' ) . OFFLINE_ERROR
8
8
Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
3
3
const debug = require ( 'debug' )
4
- const get = require ( 'lodash. get' )
5
- const set = require ( 'lodash. set' )
4
+ const get = require ( 'lodash/ get' )
5
+ const set = require ( 'lodash/ set' )
6
6
const log = debug ( 'jsipfs:http-api:config' )
7
7
log . error = debug ( 'jsipfs:http-api:config:error' )
8
8
const multipart = require ( 'ipfs-multipart' )
You can’t perform that action at this time.
0 commit comments