summaryrefslogtreecommitdiff
path: root/node_modules/semver/functions/patch.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/semver/functions/patch.js')
-rw-r--r--node_modules/semver/functions/patch.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/semver/functions/patch.js b/node_modules/semver/functions/patch.js
new file mode 100644
index 0000000..7675162
--- /dev/null
+++ b/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