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.3 to 1.2.4

2

package.json
{
"name": "ts-json-serializer",
"version": "1.2.3",
"version": "1.2.4",
"description": "Object serialization made easy with decorators.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -112,2 +112,8 @@ "use strict";

}
else if (obj === undefined || !obj.constructor) {
return {
__type: 'undefined',
__value: undefined
};
}
else if (obj.constructor === Date) {

@@ -174,3 +180,8 @@ return {

var _this = this;
if (!obj) {
return;
}
switch (obj.__type) {
case 'undefined':
return;
case 'null':

@@ -177,0 +188,0 @@ return null;

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