PHP 7.4.33
Preview: parse-options.js Size: 324 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/sharp/node_modules/semver/internal/parse-options.js
// 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

Directory Contents

Dirs: 0 × Files: 6
Name Size Perms Modified Actions
859 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
226 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
410 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
788 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
324 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
7.81 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).