chore: update dependencies (#38)
This commit is contained in:
1 parent
1dfbed57f6
commit
8e9de219f8
362 files changed
+28892
-3980
No files matched your search
+3
-3
@@ -4,8 +4,8 @@ const opts = ['includePrerelease', 'loose', 'rtl']
|
||||
const parseOptions = options =>
|
||||
!options ? {}
|
||||
: typeof options !== 'object' ? { loose: true }
|
||||
: opts.filter(k => options[k]).reduce((options, k) => {
|
||||
options[k] = true
|
||||
return options
|
||||
: opts.filter(k => options[k]).reduce((o, k) => {
|
||||
o[k] = true
|
||||
return o
|
||||
}, {})
|
||||
module.exports = parseOptions
|
||||
Reference in new issue
Block a user