ts-serializable 4.5.0 → 4.5.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [4.5.3] - 2025-12-13
6
+
7
+ ### 🚜 Refactor
8
+
9
+ - *(DeserializeProperty)* Update ESLint directives for better readability
10
+
11
+ # Changelog
12
+
13
+ All notable changes to this project will be documented in this file.
14
+
15
+ ## [4.5.2] - 2025-12-09
16
+
17
+ # Changelog
18
+
19
+ All notable changes to this project will be documented in this file.
20
+
21
+ ## [4.5.1] - 2025-12-07
22
+
23
+ ### 🐛 Bug Fixes
24
+
25
+ - Update README badges for npm downloads, license, and CI workflows
26
+
27
+ # Changelog
28
+
29
+ All notable changes to this project will be documented in this file.
30
+
5
31
  ## [4.5.0] - 2025-12-07
6
32
 
7
33
  ### 🚀 Features
package/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # ts-serializable
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/ts-serializable.svg)](https://www.npmjs.com/package/ts-serializable)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
+ [![npm downloads](https://img.shields.io/npm/dm/ts-serializable.svg)](https://www.npmjs.com/package/ts-serializable)
5
+ [![License: MIT](https://img.shields.io/github/license/LabEG/Serializable.svg)](https://github.com/LabEG/Serializable/blob/master/LICENSE)
6
+ [![Test PR](https://github.com/LabEG/Serializable/workflows/Test%20Pull%20Request/badge.svg)](https://github.com/LabEG/Serializable/actions)
7
+ [![CodeQL](https://github.com/LabEG/Serializable/workflows/CodeQL%20Advanced/badge.svg)](https://github.com/LabEG/Serializable/security/code-scanning)
5
8
 
6
9
  Powerful and flexible TypeScript/JavaScript library for serialization and deserialization with decorators
7
10
 
@@ -36,9 +36,9 @@ import { onWrongType } from "./OnWrongType.js";
36
36
  * // Returns the string "30" since String is checked first
37
37
  * ```
38
38
  */
39
- // eslint-disable-next-line max-lines-per-function, max-statements, complexity
39
+ // eslint-disable-next-line max-lines-per-function, max-statements
40
40
  export const deserializeProperty = (obj, prop, acceptedTypes, jsonValue, settings
41
- // eslint-disable-next-line max-params
41
+ // eslint-disable-next-line max-params, complexity
42
42
  ) => {
43
43
  for (const acceptedType of acceptedTypes) { // Type Symbol is not a property
44
44
  if ( // Null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-serializable",
3
- "version": "4.5.0",
3
+ "version": "4.5.3",
4
4
  "author": "Eugene Labutin",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/LabEG/Serializable#readme",