Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wiremock-standalone

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiremock-standalone - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

8

install.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc