This commit is contained in:
2023-11-09 09:03:33 +01:00
parent ec6063d74b
commit c60e61825e
146 changed files with 442 additions and 9932 deletions

View File

@@ -1,15 +0,0 @@
// parse out just the options we care about
const looseOption = Object.freeze({ loose: true })
const emptyOpts = Object.freeze({ })
const parseOptions = options => {
if (!options) {
return emptyOpts
}
if (typeof options !== 'object') {
return looseOption
}
return options
}
module.exports = parseOptions