Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serializr

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serializr - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

serializr.d.ts

5

CHANGELOG.md

@@ -0,2 +1,5 @@

# 1.1.1
* Fixed package.json: d.ts files are now exported as well (#7)
# 1.1

@@ -17,2 +20,2 @@

Initial release
Initial release
{
"name": "serializr",
"version": "1.1.0",
"version": "1.1.1",
"description": "Serialize and deserialize complex object graphs to JSON",

@@ -37,3 +37,4 @@ "main": "serializr.js",

"serializr.min.js",
"serializr.min.js.map"
"serializr.min.js.map",
"serializr.d.ts"
],

@@ -40,0 +41,0 @@ "devDependencies": {

34

README.md

@@ -210,3 +210,3 @@ # Serializr

[serializr.js:79-86](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L79-L86 "Source code on GitHub")
[serializr.js:79-86](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L79-L86 "Source code on GitHub")

@@ -236,3 +236,3 @@ Creates a model schema that (de)serializes from / to plain javascript objects.

[serializr.js:112-130](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L112-L130 "Source code on GitHub")
[serializr.js:112-130](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L112-L130 "Source code on GitHub")

@@ -270,3 +270,3 @@ Creates a model schema that (de)serializes an object created by a constructor function (class).

[serializr.js:158-168](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L158-L168 "Source code on GitHub")
[serializr.js:158-168](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L158-L168 "Source code on GitHub")

@@ -292,3 +292,3 @@ Decorator that defines a new property mapping on the default model schema for the class

[serializr.js:192-201](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L192-L201 "Source code on GitHub")
[serializr.js:192-201](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L192-L201 "Source code on GitHub")

@@ -306,3 +306,3 @@ Returns the standard model schema associated with a class / constructor function

[serializr.js:214-217](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L214-L217 "Source code on GitHub")
[serializr.js:214-217](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L214-L217 "Source code on GitHub")

@@ -325,3 +325,3 @@ Sets the default model schema for class / constructor function.

[serializr.js:269-287](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L269-L287 "Source code on GitHub")
[serializr.js:269-287](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L269-L287 "Source code on GitHub")

@@ -341,3 +341,3 @@ Serializes an object (graph) into json using the provided model schema.

[serializr.js:341-359](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L341-L359 "Source code on GitHub")
[serializr.js:341-359](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L341-L359 "Source code on GitHub")

@@ -359,3 +359,3 @@ Deserializes an json structor into an object graph.

[serializr.js:525-544](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L525-L544 "Source code on GitHub")
[serializr.js:525-544](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L525-L544 "Source code on GitHub")

@@ -376,3 +376,3 @@ Similar to deserialize, but updates an existing object instance.

[serializr.js:566-578](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L566-L578 "Source code on GitHub")
[serializr.js:566-578](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L566-L578 "Source code on GitHub")

@@ -396,3 +396,3 @@ Indicates that this field contains a primitive value (or Date) which should be serialized literally to json.

[serializr.js:613-627](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L613-L627 "Source code on GitHub")
[serializr.js:613-627](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L613-L627 "Source code on GitHub")

@@ -438,3 +438,3 @@ Similar to primitive, but this field will be marked as the identifier for the given Model type.

[serializr.js:638-653](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L638-L653 "Source code on GitHub")
[serializr.js:638-653](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L638-L653 "Source code on GitHub")

@@ -445,3 +445,3 @@ Similar to primitive, serializes instances of Date objects

[serializr.js:672-683](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L672-L683 "Source code on GitHub")
[serializr.js:672-683](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L672-L683 "Source code on GitHub")

@@ -472,3 +472,3 @@ Alias indicates that this model property should be named differently in the generated json.

[serializr.js:702-711](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L702-L711 "Source code on GitHub")
[serializr.js:702-711](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L702-L711 "Source code on GitHub")

@@ -499,3 +499,3 @@ Can be used to create simple custom propSchema.

[serializr.js:738-756](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L738-L756 "Source code on GitHub")
[serializr.js:738-756](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L738-L756 "Source code on GitHub")

@@ -534,3 +534,3 @@ `object` indicates that this property contains an object that needs to be (de)serialized

[serializr.js:810-843](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L810-L843 "Source code on GitHub")
[serializr.js:810-843](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L810-L843 "Source code on GitHub")

@@ -598,3 +598,3 @@ `reference` can be used to (de)serialize references that points to other models.

[serializr.js:875-896](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L875-L896 "Source code on GitHub")
[serializr.js:875-896](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L875-L896 "Source code on GitHub")

@@ -631,3 +631,3 @@ List indicates that this property contains a list of things.

[serializr.js:910-959](https://github.com/mobxjs/serializr/blob/91507cc47fff9874b2839aef1af2786aefdcc310/serializr.js#L910-L959 "Source code on GitHub")
[serializr.js:910-959](https://github.com/mobxjs/serializr/blob/b2816013b5db08c83b814ceb437ad35e4592ab8f/serializr.js#L910-L959 "Source code on GitHub")

@@ -634,0 +634,0 @@ Similar to list, but map represents a string keyed dynamic collection.

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc