From 6b951c042084e639be929a7ea783c2d85b311bad Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 16 Jun 2021 06:58:37 -0700 Subject: [PATCH] libnpmversion@1.2.1 * fix(retrieve-tag): pass match in a way git accepts --- node_modules/libnpmversion/lib/retrieve-tag.js | 2 +- node_modules/libnpmversion/package.json | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/node_modules/libnpmversion/lib/retrieve-tag.js b/node_modules/libnpmversion/lib/retrieve-tag.js index 7aa2abfda8651..6adb6df317a8d 100644 --- a/node_modules/libnpmversion/lib/retrieve-tag.js +++ b/node_modules/libnpmversion/lib/retrieve-tag.js @@ -2,7 +2,7 @@ const { spawn } = require('@npmcli/git') const semver = require('semver') module.exports = async opts => { - const tag = (await spawn(['describe', '--tags', '--abbrev=0', '--match=\'*.*.*\''], opts)).stdout.trim() + const tag = (await spawn(['describe', '--tags', '--abbrev=0', '--match=*.*.*'], opts)).stdout.trim() const ver = semver.coerce(tag, { loose: true }) if (ver) { return ver.version diff --git a/node_modules/libnpmversion/package.json b/node_modules/libnpmversion/package.json index ebc88a1fc5754..1ee2ee5995a52 100644 --- a/node_modules/libnpmversion/package.json +++ b/node_modules/libnpmversion/package.json @@ -1,6 +1,6 @@ { "name": "libnpmversion", - "version": "1.2.0", + "version": "1.2.1", "main": "lib/index.js", "files": [ "lib/*.js" diff --git a/package-lock.json b/package-lock.json index 3f3d1bf0f19ed..0c74e93d0100a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,7 +115,7 @@ "libnpmpublish": "^4.0.1", "libnpmsearch": "^3.1.1", "libnpmteam": "^2.0.3", - "libnpmversion": "^1.2.0", + "libnpmversion": "^1.2.1", "make-fetch-happen": "^9.0.1", "minipass": "^3.1.3", "minipass-pipeline": "^1.2.4", @@ -4746,9 +4746,9 @@ } }, "node_modules/libnpmversion": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/libnpmversion/-/libnpmversion-1.2.0.tgz", - "integrity": "sha512-0pfmobLZbOvq1cLIONZk8ISvEM1k3JdkNXWhMDZvUeH+ijBNvMVdPu/CPUr1eDFbNINS3b6R/0PbTIZDVz7thg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/libnpmversion/-/libnpmversion-1.2.1.tgz", + "integrity": "sha512-AA7x5CFgBFN+L4/JWobnY5t4OAHjQuPbAwUYJ7/NtHuyLut5meb+ne/aj0n7PWNiTGCJcRw/W6Zd2LoLT7EZuQ==", "inBundle": true, "dependencies": { "@npmcli/git": "^2.0.7", @@ -13816,9 +13816,9 @@ } }, "libnpmversion": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/libnpmversion/-/libnpmversion-1.2.0.tgz", - "integrity": "sha512-0pfmobLZbOvq1cLIONZk8ISvEM1k3JdkNXWhMDZvUeH+ijBNvMVdPu/CPUr1eDFbNINS3b6R/0PbTIZDVz7thg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/libnpmversion/-/libnpmversion-1.2.1.tgz", + "integrity": "sha512-AA7x5CFgBFN+L4/JWobnY5t4OAHjQuPbAwUYJ7/NtHuyLut5meb+ne/aj0n7PWNiTGCJcRw/W6Zd2LoLT7EZuQ==", "requires": { "@npmcli/git": "^2.0.7", "@npmcli/run-script": "^1.8.4", diff --git a/package.json b/package.json index a1f5159608cde..9ae066fb4eb2b 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "libnpmpublish": "^4.0.1", "libnpmsearch": "^3.1.1", "libnpmteam": "^2.0.3", - "libnpmversion": "^1.2.0", + "libnpmversion": "^1.2.1", "make-fetch-happen": "^9.0.1", "minipass": "^3.1.3", "minipass-pipeline": "^1.2.4",