Socket
Socket
Sign inDemoInstall

serializer.ts

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

0

Decorators.d.ts

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ require("reflect-metadata");

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || function (d, b) {

@@ -0,0 +0,0 @@ import { TypeMetadata } from "./TypeMetadata";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ export declare abstract class PropertyMetadata {

@@ -0,0 +0,0 @@ var PropertyMetadata = (function () {

@@ -0,0 +0,0 @@ export declare class SerializableMetadata {

@@ -0,0 +0,0 @@ var SerializableMetadata = (function () {

@@ -0,0 +0,0 @@ import { PropertyMetadata } from "./PropertyMetadata";

@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || function (d, b) {

@@ -0,0 +0,0 @@ import { PropertyMetadata } from "./PropertyMetadata";

@@ -0,0 +0,0 @@ var __extends = (this && this.__extends) || function (d, b) {

4

package.json
{
"name": "serializer.ts",
"version": "0.0.4",
"version": "0.0.5",
"description": "Proper serialization and deserialization raw json objects to classes in Typescript",

@@ -10,3 +10,3 @@ "license": "Apache-2.0",

"name": "Umed Khudoiberdiev",
"email": "zarrhost@gmail.com"
"email": "pleerock.me@gmail.com"
},

@@ -13,0 +13,0 @@ "repository": {

@@ -0,0 +0,0 @@ export declare class Serializer {

@@ -33,2 +33,4 @@ var MetadataStorage_1 = require("./metadata/MetadataStorage");

var _this = this;
if (object === null || object === undefined)
return object;
var newObject = operationType === "serialization" ? {} : new cls();

@@ -35,0 +37,0 @@ Object.keys(object)

Sorry, the diff of this file is not supported yet

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