PHP 8.2.30
Preview: parse-options.js Size: 324 B
/opt/alt/alt-nodejs18/root/usr/lib/node_modules/npm/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-- 2026-03-09 09:08:38
Edit Download
226 B lrw-r--r-- 2026-03-09 09:08:38
Edit Download
410 B lrw-r--r-- 2026-03-09 09:08:38
Edit Download
788 B lrw-r--r-- 2026-03-09 09:08:38
Edit Download
324 B lrw-r--r-- 2026-03-09 09:08:38
Edit Download
7.75 KB lrw-r--r-- 2026-03-09 09:08:38
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).