aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/semver/functions/patch.js
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/node_modules/semver/functions/patch.js')
-rw-r--r--vanilla/node_modules/semver/functions/patch.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/vanilla/node_modules/semver/functions/patch.js b/vanilla/node_modules/semver/functions/patch.js
new file mode 100644
index 0000000..7675162
--- /dev/null
+++ b/vanilla/node_modules/semver/functions/patch.js
@@ -0,0 +1,5 @@
+'use strict'
+
+const SemVer = require('../classes/semver')
+const patch = (a, loose) => new SemVer(a, loose).patch
+module.exports = patch