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

wiremock

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiremock - npm Package Compare versions

Comparing version 2.23.0 to 2.24.0

jdeploy-bundle/wiremock-jre8-standalone-2.24.0.jar

2

jdeploy-bundle/jdeploy.js

@@ -68,3 +68,3 @@ #! /usr/bin/env node

var path = require('path');
var jarName = "wiremock-jre8-standalone-2.23.0.jar";
var jarName = "wiremock-jre8-standalone-2.24.0.jar";
var mainClass = "{{MAIN_CLASS}}";

@@ -71,0 +71,0 @@ var classPath = "{{CLASSPATH}}";

@@ -14,5 +14,5 @@ {

"preferGlobal": true,
"version": "2.23.0",
"version": "2.24.0",
"jdeploy": {
"jar": "wiremock-jre8-standalone-2.23.0.jar"
"jar": "wiremock-jre8-standalone-2.24.0.jar"
},

@@ -19,0 +19,0 @@ "dependencies": {

@@ -7,5 +7,9 @@ # Wiremock NPM

Run it with:
It only relies on dependencies found in an NPM package repository. It is created with [JDeploy](https://github.com/shannah/jdeploy) and will download and use a JRE, [node-jre](https://www.npmjs.com/package/node-jre), if one is not available.
```shell
## Usage
It is used as a command line tool like this:
```bash
npx wiremock

@@ -15,1 +19,20 @@ ```

See: http://wiremock.org/docs/running-standalone/
## Example - Mock API in frontend app
This example is in the repo in [`example-mock-api-with-express`](/example-mock-api-with-express).
It starts a server with [ExpressJS](https://www.npmjs.com/package/expressjs) and delegates to a frontend and an API. Like this:
When running `npm run serve` it will start this setup:
```
http://localhost:8080/ -------[/api/*]------------> http://localhost:8081/
\
\
\-----[*]---------------> http://localhost:8082/
```
So that:
* http://localhost:8080/api/example Will serve the API with `npx wiremock`.
* http://localhost:8080/whatever Will serve the frontend. This can be a Vue app or whatever.
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