Skip to content

Commit d0388b9

Browse files
committed
Version 1.4.0
1 parent ac7e8de commit d0388b9

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.4.0 (2018-09-27)
2+
3+
### Features:
4+
5+
- Now you can define mock files for catching all methods once. You can just use names `ANY.json` or `ANY.js`. (Thanks to @daanoz)
6+
- Matching with nested wildcard improved. [#25](https://github.com/muratcorlu/connect-api-mocker/pull/25)
7+
18
## 1.3.5 (2018-02-01)
29

310
### Features:

api-mocker.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2017 Murat Çorlu <[email protected]>
2+
* Copyright 2016-2018 Murat Çorlu <[email protected]>
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,8 +16,6 @@
1616

1717
/**
1818
* A connect middleware to serve a RESTful api by some json and js files
19-
*
20-
* @author Murat Çorlu <[email protected]>
2119
*/
2220
var fs = require('fs');
2321
var path = require('path');

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "connect-api-mocker",
3-
"version": "1.3.6",
3+
"version": "1.4.0",
44
"description": "A connect middleware to serve a RESTful api by some json, xml or js files",
55
"main": "api-mocker.js",
66
"scripts": {

0 commit comments

Comments
 (0)