ts-json-serializer
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -7,2 +7,6 @@ # Change Log | ||
## [1.2.1] | ||
#### Fixed | ||
- bug that caused explicitly set undefined properties to crash the serializer | ||
## [1.2.0] | ||
@@ -32,3 +36,4 @@ #### Added | ||
[Unreleased]: https://github.com/buehler/ts-json-serializer/compare/v1.2.0...master | ||
[Unreleased]: https://github.com/buehler/ts-json-serializer/compare/v1.2.1...master | ||
[1.2.1]: https://github.com/buehler/ts-json-serializer/compare/v1.2.0...v1.2.1 | ||
[1.2.0]: https://github.com/buehler/ts-json-serializer/compare/v1.1.0...v1.2.0 | ||
@@ -35,0 +40,0 @@ [1.1.0]: https://github.com/buehler/ts-json-serializer/compare/v1.0.1...v1.1.0 |
{ | ||
"name": "ts-json-serializer", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Object serialization made easy with decorators.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -145,3 +145,3 @@ "use strict"; | ||
} | ||
for (var _i = 0, _a = Object.keys(obj).filter(function (o) { return typeof obj[o] !== 'function'; }); _i < _a.length; _i++) { | ||
for (var _i = 0, _a = Object.keys(obj).filter(function (o) { return typeof obj[o] !== 'function' && typeof obj[o] !== 'undefined'; }); _i < _a.length; _i++) { | ||
var property = _a[_i]; | ||
@@ -148,0 +148,0 @@ transformedObj[property] = this.serializeObject(obj[property]); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
90688
0