File Explorer

/proc/self/root/proc/1/task/1/root/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 /.

inc.js478 B · 22 lines
'use strict' const SemVer = require('../classes/semver') const inc = (version, release, options, identifier, identifierBase) => {  if (typeof (options) === 'string') {    identifierBase = identifier    identifier = options    options = undefined  }   try {    return new SemVer(      version instanceof SemVer ? version.version : version,      options    ).inc(release, identifier, identifierBase).version  } catch (er) {    return null  }}module.exports = inc