wiremock-standalone
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -16,3 +16,5 @@ const axios = require('axios'); | ||
function resolveVersion() { | ||
return axios.get(`${options.mavenRepoURL}/${mavenPath}/${name}/maven-metadata.xml`) | ||
const metadataUrl = `${options.mavenRepoURL}/${mavenPath}/${name}/maven-metadata.xml`; | ||
console.log(`Resolving WireMock version from Maven metadata...\n ${metadataUrl}`); | ||
return axios.get(metadataUrl) | ||
.then(({ data: meta }) => { | ||
@@ -28,4 +30,4 @@ if (options.version) { | ||
// latest | ||
return meta.match(/<release>([.\d]+)<\/release>/m)[1]; | ||
// latest stable | ||
return meta.match(/(?<=<version>)[.\d]+(?=<\/version>)/g).pop(); | ||
}); | ||
@@ -32,0 +34,0 @@ } |
{ | ||
"name": "wiremock-standalone", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "WireMock standalone binary", | ||
@@ -30,5 +30,5 @@ "repository": { | ||
"dependencies": { | ||
"axios": "~0.21.3", | ||
"lilconfig": "~2.0.3" | ||
"axios": "~0.27.2", | ||
"lilconfig": "~2.0.6" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6355
85
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@0.27.2(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
- Removedaxios@0.21.4(transitive)
Updatedaxios@~0.27.2
Updatedlilconfig@~2.0.6