From 7923aa8942b55884320ef2428417e3ee4b121613 Mon Sep 17 00:00:00 2001 From: Minteck Date: Mon, 28 Nov 2022 17:31:34 +0100 Subject: Initial commit --- MistyCore/node_modules/semver/functions/valid.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 MistyCore/node_modules/semver/functions/valid.js (limited to 'MistyCore/node_modules/semver/functions/valid.js') diff --git a/MistyCore/node_modules/semver/functions/valid.js b/MistyCore/node_modules/semver/functions/valid.js new file mode 100644 index 0000000..f27bae1 --- /dev/null +++ b/MistyCore/node_modules/semver/functions/valid.js @@ -0,0 +1,6 @@ +const parse = require('./parse') +const valid = (version, options) => { + const v = parse(version, options) + return v ? v.version : null +} +module.exports = valid -- cgit