Skip to content

Releases: jaywcjlove/mocker-api

v2.1.1

23 Jul 03:13
Compare
Choose a tag to compare

v2.1.0

11 May 14:04
Compare
Choose a tag to compare
  • c53abf8 - chore(deps): update dependency @types/detect-port to v1.3.0
  • 5357d62 - chore(deps): update dependency tsbb to v1.7.3
  • 5fab117 - fix(deps): update dependency @types/node to v13.13.5
  • bae4cf1 - fix(deps): update dependency @babel/runtime to v7.9.6
  • e2edeac - fix(deps): update dependency chokidar to v3.4.0
  • 8df7e12 - doc: Update document. #61
  • 66771f6 - chore: Update example.
  • 6db3714 - chore: Add github workflows config.
  • 1f86e48 - chore: Modify tsconfig.json
  • 0944b4c - chore(deps): pin dependencies (#84)
  • 1c5b969 - feat: Add proxy error console log.
  • f7c8dcb - feat: Parameter hot loading.
  • ddbc6c6 - fix(type): Fix type errors.
  • 73c9c62 - fix: Add name field to package.json

v2.0.0

11 Apr 18:07
Compare
Choose a tag to compare
  • 288bcc9 - chore: Refactored based on TypeScript.
- const delay = require('mocker-api/utils/delay');
+ const delay = require('mocker-api/lib/delay');

v1.14.0

11 Apr 05:45
Compare
Choose a tag to compare

accessControlOptions => {} Access Control Allow options.

{
  accessControlOptions: {
    'Access-Control-Allow-Methods': 'POST, GET, OPTIONS, PUT, DELETE',
  }
}

v1.13.1

05 Mar 11:37
Compare
Choose a tag to compare
  • doc: Update document.

v1.13.0

03 Mar 06:29
Compare
Choose a tag to compare

v1.12.2

14 Feb 06:40
Compare
Choose a tag to compare
  • cd64922 - chore: Move devDependencies to dependencies.

v1.12.1

13 Feb 09:23
Compare
Choose a tag to compare
  • 212c981 - fix: Fix TypeScript definition not being an issue.

v1.12.0

13 Feb 08:36
Compare
Choose a tag to compare
  • c7eb6e8 - chore: Modify TypeScript definition.
  • 4560a9f - doc: Update document.
  • 52f7b53 - chore: Merge conflict in package.json and package-lock.json
  • 7774500 - chore: Upgrade chokidar 2.1.5 => 3.3.1
  • 3329110 - chore: Add TypeScript definition.

v1.11.2

23 Dec 09:26
Compare
Choose a tag to compare
// The default GET request.
// https://github.com/jaywcjlove/mocker-api/pull/63
//...
'/api/user': {
  id: 1,
  username: 'kenny',
  sex: 6
},