Socket
Socket
Sign inDemoInstall

ts-json-serializer

Package Overview
Dependencies
71
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

7

CHANGELOG.md

@@ -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

2

package.json
{
"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]);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc