Skip to content

Commit

Permalink
Version 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcorlu committed Sep 27, 2018
1 parent ac7e8de commit d0388b9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,10 @@
## 1.4.0 (2018-09-27)

### Features:

- Now you can define mock files for catching all methods once. You can just use names `ANY.json` or `ANY.js`. (Thanks to @daanoz)
- Matching with nested wildcard improved. [#25](https://github.com/muratcorlu/connect-api-mocker/pull/25)

## 1.3.5 (2018-02-01)

### Features:
Expand Down
4 changes: 1 addition & 3 deletions api-mocker.js
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2017 Murat Çorlu <muratcorlu@gmail.com>
* Copyright 2016-2018 Murat Çorlu <muratcorlu@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -16,8 +16,6 @@

/**
* A connect middleware to serve a RESTful api by some json and js files
*
* @author Murat Çorlu <muratcorlu@gmail.com>
*/
var fs = require('fs');
var path = require('path');
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "connect-api-mocker",
"version": "1.3.6",
"version": "1.4.0",
"description": "A connect middleware to serve a RESTful api by some json, xml or js files",
"main": "api-mocker.js",
"scripts": {
Expand Down

0 comments on commit d0388b9

Please sign in to comment.