angular2-pipes
Advanced tools
Comparing version 1.4.3 to 1.4.4
{ | ||
"name": "angular2-pipes", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"author": "Dan Revah", | ||
@@ -5,0 +5,0 @@ "description": "Useful angular2 pipes", |
@@ -37,5 +37,5 @@ "use strict"; | ||
: undefined; | ||
}, obj[key]); | ||
}, obj[key || '']); | ||
} | ||
exports.extractDeepPropertyByMapKey = extractDeepPropertyByMapKey; | ||
//# sourceMappingURL=helpers.js.map |
@@ -39,3 +39,3 @@ | ||
: undefined; | ||
}, obj[key]); | ||
}, obj[key || '']); | ||
} |
@@ -8,3 +8,2 @@ "use strict"; | ||
InvertByPipe.prototype.transform = function (obj, cb) { | ||
if (cb === void 0) { cb = null; } | ||
if (Array.isArray(obj) || !helpers_1.isObject(obj)) { | ||
@@ -11,0 +10,0 @@ return obj; |
@@ -7,3 +7,3 @@ import {PipeTransform, Pipe} from '@angular/core'; | ||
transform(obj: any, cb: Function = null): Object { | ||
transform(obj: any, cb?: Function): Object { | ||
if (Array.isArray(obj) || !isObject(obj)) { | ||
@@ -10,0 +10,0 @@ return obj; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
382493
5255