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

mock-cmdr

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mock-cmdr - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

LICENSE

4

package.json
{
"name": "mock-cmdr",
"version": "1.0.1",
"version": "1.0.2",
"description": "Wiremock Client",

@@ -25,4 +25,4 @@ "main": "lib/index.js",

"dependencies": {
"axios": "^0.19.2"
"axios": "^0.21.1"
}
}

@@ -16,3 +16,7 @@ # Mock Commander

## Documentation
https://mock-cmdr.js.org/
## Usage

@@ -22,3 +26,3 @@

```
```javascript
const mockCmdr = require('mock-cmdr');

@@ -44,3 +48,3 @@ mockCmdr.init({ baseUrl: 'http://wiremock' });

```
```javascript
const user = { id: 1 };

@@ -52,3 +56,3 @@ await mockCmdr.stub.getUserById(user);

```
```javascript
const path = require('path');

@@ -84,3 +88,3 @@ const mockCmdr = require('mock-cmdr');

```
```javascript
mockCmdr.stub.user.create()

@@ -93,3 +97,3 @@ mockCmdr.stub.user.getById()

```
```javascript
/**

@@ -113,3 +117,3 @@ * @returns {WiremockStubMapping}

```
```javascript
/**

@@ -116,0 +120,0 @@ * @returns {WiremockRequestCriteria}

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