File Explorer

/proc/self/root/proc/1/task/1/cwd/node24/lib/node_modules/npm/node_modules/semver/functions

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

parse.js331 B · 19 lines
'use strict' const SemVer = require('../classes/semver')const parse = (version, options, throwErrors = false) => {  if (version instanceof SemVer) {    return version  }  try {    return new SemVer(version, options)  } catch (er) {    if (!throwErrors) {      return null    }    throw er  }} module.exports = parse