Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit e73a699

Browse files
committed
chore: release 0.3.0
1 parent 51bf8fb commit e73a699

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ because this is a development tool, not a production product.
88
We do try to tell you about such changes in this `CHANGELOG.md`
99
and we fix bugs as fast as we can.
1010

11+
<a id="0.3.0"></a>
12+
## 0.3.0 (2017-02-27)
13+
* Support Angular version 4
14+
1115
<a id="0.2.4"></a>
1216
## 0.2.4 (2017-01-02)
1317
* Remove reflect-matadata and zone.js as peerDependencies

bundles/in-memory-web-api.umd.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
(function (global, factory) {
2-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/http'), require('rxjs/Observable'), require('rxjs/add/operator/delay')) :
3-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/http', 'rxjs/Observable', 'rxjs/add/operator/delay'], factory) :
4-
(factory((global.ng = global.ng || {}, global.ng.inMemoryWebApi = global.ng.inMemoryWebApi || {}),global.ng.core,global.ng.http,global.Rx,global.Rx));
5-
}(this, (function (exports,_angular_core,_angular_http,rxjs_Observable,rxjs_add_operator_delay) { 'use strict';
2+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/http'), require('rxjs/Observable'), require('rxjs/add/operator/delay')) :
3+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/http', 'rxjs/Observable', 'rxjs/add/operator/delay'], factory) :
4+
(factory((global.ng = global.ng || {}, global.ng.inMemoryWebApi = global.ng.inMemoryWebApi || {}),global.ng.core,global.ng.http,global.Rx));
5+
}(this, (function (exports,_angular_core,_angular_http,rxjs_Observable) { 'use strict';
66

77
var STATUS = {
88
CONTINUE: 100,
@@ -978,7 +978,8 @@ var InMemoryBackendService = (function () {
978978
if (item.id == undefined) {
979979
return createErrorResponse(req, STATUS.NOT_FOUND, "Missing '" + collectionName + "' id");
980980
}
981-
if (id !== item.id) {
981+
// tslint:disable-next-line:triple-equals
982+
if (id != item.id) {
982983
return createErrorResponse(req, STATUS.BAD_REQUEST, "\"" + collectionName + "\" id does not match item.id");
983984
}
984985
var existingIx = this.indexOf(collection, id);

in-memory-backend.service.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

in-memory-backend.service.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-in-memory-web-api",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "An in-memory web api for Angular demos and tests",
55
"main": "bundles/in-memory-web-api.umd.js",
66
"module": "index.js",

0 commit comments

Comments
 (0)