REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 781 B
Close
/opt/alt/alt-nodejs20/root/lib/node_modules/npm/node_modules/libnpmversion/lib/index.js
Text
Base64
const readJson = require('./read-json.js') const version = require('./version.js') module.exports = async (newversion, opts = {}) => { const { path = process.cwd(), allowSameVersion = false, tagVersionPrefix = 'v', commitHooks = true, gitTagVersion = true, signGitCommit = false, signGitTag = false, force = false, ignoreScripts = false, scriptShell = undefined, preid = null, message = 'v%s', } = opts const pkg = opts.pkg || await readJson(path + '/package.json') return version(newversion, { path, cwd: path, allowSameVersion, tagVersionPrefix, commitHooks, gitTagVersion, signGitCommit, signGitTag, force, ignoreScripts, scriptShell, preid, pkg, message, }) }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 8
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
commit.js
425 B
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
enforce-clean.js
841 B
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
781 B
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
read-json.js
295 B
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
retrieve-tag.js
384 B
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
tag.js
470 B
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
version.js
3.22 KB
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
write-json.js
483 B
lrw-r--r--
2026-02-23 03:24:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).