ts-serializable 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,6 +10,15 @@ Description
|
|
|
10
10
|
|
|
11
11
|
- By default library don't crash on wrong types in json and return default value on wrong property. If you need more secure behavior you must override method `onWrongType` on `Serializable` object and drop exception in this method, by your logic want.
|
|
12
12
|
|
|
13
|
+
Installation
|
|
14
|
+
------
|
|
15
|
+
|
|
16
|
+
You can use the following command to install this package:
|
|
17
|
+
|
|
18
|
+
``` bash
|
|
19
|
+
npm install ts-serializable
|
|
20
|
+
```
|
|
21
|
+
|
|
13
22
|
Usage
|
|
14
23
|
------
|
|
15
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-serializable",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"author": "Eugene Labutin",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/LabEG/Serializable#readme",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "mocha",
|
|
26
26
|
"build": "tsc --project tsconfig.build.json && node ./dist/index.js",
|
|
27
27
|
"prepublishOnly": "npm run lint && npm run build && npm run test",
|
|
28
|
-
"release": "cliff-jumper --name 'ts-serializable' --package-path '.'",
|
|
28
|
+
"release": "cliff-jumper --name 'ts-serializable' --package-path '.' --no-skip-changelog --no-skip-tag",
|
|
29
29
|
"prepare": "husky install"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|