nav tabs on admin dashboard
This commit is contained in:
16
node_modules/fs-extra/lib/util/assign.js
generated
vendored
16
node_modules/fs-extra/lib/util/assign.js
generated
vendored
@@ -1,16 +0,0 @@
|
||||
'use strict'
|
||||
|
||||
// simple mutable assign
|
||||
function assign () {
|
||||
const args = [].slice.call(arguments).filter(i => i)
|
||||
const dest = args.shift()
|
||||
args.forEach(src => {
|
||||
Object.keys(src).forEach(key => {
|
||||
dest[key] = src[key]
|
||||
})
|
||||
})
|
||||
|
||||
return dest
|
||||
}
|
||||
|
||||
module.exports = assign
|
||||
1
node_modules/fs-extra/lib/util/buffer.js
generated
vendored
1
node_modules/fs-extra/lib/util/buffer.js
generated
vendored
@@ -1,3 +1,4 @@
|
||||
'use strict'
|
||||
/* eslint-disable node/no-deprecated-api */
|
||||
module.exports = function (size) {
|
||||
if (typeof Buffer.allocUnsafe === 'function') {
|
||||
|
||||
9
node_modules/fs-extra/lib/util/utimes.js
generated
vendored
9
node_modules/fs-extra/lib/util/utimes.js
generated
vendored
@@ -64,9 +64,16 @@ function utimesMillis (path, atime, mtime, callback) {
|
||||
})
|
||||
}
|
||||
|
||||
function utimesMillisSync (path, atime, mtime) {
|
||||
const fd = fs.openSync(path, 'r+')
|
||||
fs.futimesSync(fd, atime, mtime)
|
||||
return fs.closeSync(fd)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
hasMillisRes,
|
||||
hasMillisResSync,
|
||||
timeRemoveMillis,
|
||||
utimesMillis
|
||||
utimesMillis,
|
||||
utimesMillisSync
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user