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.24.0 to 2.25.0

jdeploy-bundle/wiremock-standalone-2.25.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.24.0.jar";
var jarName = "wiremock-standalone-2.25.0.jar";
var mainClass = "{{MAIN_CLASS}}";

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

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

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

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

# Wiremock NPM
[![NPM](https://img.shields.io/npm/v/wiremock.svg?style=flat-square) ](https://www.npmjs.com/package/wiremock)
[![Build Status](https://travis-ci.org/tomasbjerre/wiremock-npm.svg?branch=master)](https://travis-ci.org/tomasbjerre/wiremock-npm)
This is [Wiremock Standalone](http://wiremock.org/docs/running-standalone/) wrapped inside an NPM package.
This is [Wiremock Standalone](http://wiremock.org/docs/running-standalone/) wrapped inside an NPM package. It relies only on dependencies found in NPM. It is created with [JDeploy](https://github.com/shannah/jdeploy) and will use the existing JRE if found, or download one with [node-jre](https://www.npmjs.com/package/node-jre).
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.
See: http://wiremock.org/docs/running-standalone/
## Usage
## Example - Command line
It is used as a command line tool like this:
It can be used as a command line tool like this:

@@ -17,4 +18,2 @@ ```bash

See: http://wiremock.org/docs/running-standalone/
## Example - Mock API in frontend app

@@ -28,6 +27,9 @@

```
http://localhost:8080/ -------[/api/*]------------> http://localhost:8081/
\
\
\-----[*]---------------> http://localhost:8082/
http://localhost:8080/
|
|
|---[/api/*]-> http://localhost:8081/
|
\
\-[*]------> http://localhost:8082/
```

@@ -37,3 +39,3 @@

* 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.
* `http://localhost:8080/api/example` Will serve the API with `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