Initial pass

This commit is contained in:
Luca Casonato
2021-04-10 02:16:12 +02:00
parent 46a70c2176
commit 62abc69248
331 changed files with 50799 additions and 0 deletions

11
node_modules/semver/internal/parse-options.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
// parse out just the options we care about so we always get a consistent
// obj with keys in a consistent order.
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
}, {})
module.exports = parseOptions