PHP 8.2.30
Preview: parse-options.js Size: 338 B
/home/byroehnu/.trash/node_modules11/semver/internal/parse-options.js

'use strict'

// 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
873 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
240 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
525 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
802 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
338 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
7.95 KB lrw-r--r-- 2026-02-03 15:06:18
Edit Download

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