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.2 to 1.1.0

.editorconfig

27

CONTRIBUTING.md

@@ -14,4 +14,4 @@ # Contributing to Mock Commander

```
yarn install
docker-compose run cucumber yarn cucumber
docker compose run script yarn install
docker compose run cucumber yarn cucumber
```

@@ -22,24 +22,9 @@

Start Mitmweb:
After running `docker compose up` Mitmproxy debugger will be available from
your web browser at http://localhost:8081/. Then Cucumber tests can be run with:
```
docker-compose \
-f ./docker-compose.yml \
-f ./docker-compose.proxy.yml \
up --detach
docker-compose run cucumber yarn cucumber
```
Browse to Mitmweb at http://localhost:8081/ then run tests:
```
docker-compose \
-f ./docker-compose.yml \
-f ./docker-compose.proxy.yml \
run cucumber yarn cucumber
```
### Publishing
Tagged commits are automatically published by the Travis pipeline. The tag name
should match the version in package.json.
HTTP traffic will be visible from the Mitmweb UI.

@@ -5,3 +5,3 @@ const { setWorldConstructor, BeforeAll, AfterAll } = require('cucumber');

const url = require('url');
const expect = require('expect');
const { expect } = require('expect');
const config = require('./config');

@@ -8,0 +8,0 @@ const factory = require('./factory');

const cmdRegistry = require('../cmd-registry');
const path = require('path');
const _ = require('lodash');
const _get = require('lodash.get');

@@ -117,3 +117,3 @@ describe('cmd-registry', () => {

const cmd = _.get(cmdRegistry.cmds, [type, ...path]);
const cmd = _get(cmdRegistry.cmds, [type, ...path]);

@@ -120,0 +120,0 @@ describe(`${[type, ...path].join('.')}`, () => {

{
"name": "mock-cmdr",
"version": "1.0.2",
"version": "1.1.0",
"description": "Wiremock Client",

@@ -9,2 +9,3 @@ "main": "lib/index.js",

"license": "Apache-2.0",
"packageManager": "yarn@4.0.2",
"scripts": {

@@ -17,13 +18,15 @@ "lint": "eslint .",

"devDependencies": {
"convict": "^5.2.0",
"cucumber": "^6.0.5",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.8.2",
"factory-bot": "^6.1.4",
"jest": "^25.2.4",
"wait-on": "^4.0.1"
"axios": "^1.6.2",
"convict": "^6.2.4",
"cucumber": "^6.0.7",
"eslint": "^8.55.0",
"eslint-plugin-jest": "^27.6.0",
"factory-bot": "^6.3.1",
"jest": "^29.7.0",
"lodash.get": "^4.4.2",
"wait-on": "^7.2.0"
},
"dependencies": {
"axios": "^0.21.1"
"peerDependencies": {
"axios": "*"
}
}
# Mock Commander
[![Build Status](https://travis-ci.org/ncjones/mock-cmdr.svg?branch=master)](https://travis-ci.org/ncjones/mock-cmdr)
Wiremock client for Node JS which promotes separation of dynamic mocking

@@ -7,0 +4,0 @@ commands from test code logic.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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