json2typescript
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,7 @@ | ||
# v1.1.1 (2019-02-12) | ||
## Features | ||
* Improved documentation for v1.1.0 | ||
# v1.1.0 (2019-02-12) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "json2typescript", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Provides TypeScript methods to map a JSON object to a JavaScript object on runtime", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -33,7 +33,10 @@ # json2typescript | ||
> Tip: At version 1.1.0 we introduced some soft breaking changes. | ||
`undefined` is an invalid value now for serializing or deserializing. | ||
If you are working with TypeScript, you might receive some type issues after the update to v1.1.0. | ||
This is due to the addition of generics; they now help the compiler to detect invalid return types in the serialize and deserialize methods. | ||
> Tip: Starting from version 1.0.6, we recommend to use unique class identifiers in the `@JsonObject` decorator. | ||
Read below how to use the decorators properly. | ||
> Tip: Version 1.0.0 has several breaking changes. When upgrading from `json2typescript` < 1.0.0, please make sure you fix these issues. | ||
--- | ||
@@ -40,0 +43,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
118955
581
0