Comparing version 1.0.1 to 1.0.2
{ | ||
"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} |
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
53573
51
209
+ Addedaxios@0.21.4(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
- Removedaxios@0.19.2(transitive)
- Removedfollow-redirects@1.5.10(transitive)
Updatedaxios@^0.21.1