codify-plugin-lib 1.0.175 → 1.0.176
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.
|
@@ -39,7 +39,7 @@ export class ResourceController {
|
|
|
39
39
|
// Schema validator uses pre transformation parameters
|
|
40
40
|
const isValid = this.schemaValidator(
|
|
41
41
|
// @ts-expect-error Non esm package
|
|
42
|
-
cleanDeep(originalParameters, { nullValues: true }));
|
|
42
|
+
cleanDeep(originalParameters, { nullValues: true, undefinedValues: true, emptyArrays: false, emptyStrings: false, emptyObjects: false, NaNValues: false }));
|
|
43
43
|
if (!isValid) {
|
|
44
44
|
return {
|
|
45
45
|
isValid: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codify-plugin-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.176",
|
|
4
4
|
"description": "Library plugin library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"@types/sinon": "^17.0.3",
|
|
35
35
|
"@types/uuid": "^10.0.0",
|
|
36
36
|
"@types/lodash.isequal": "^4.5.8",
|
|
37
|
-
"@types/deep-clean": "",
|
|
38
37
|
"chai-as-promised": "^7.1.1",
|
|
39
38
|
"vitest": "^3.0.5",
|
|
40
39
|
"vitest-mock-extended": "^1.3.1",
|
|
@@ -66,7 +66,7 @@ export class ResourceController<T extends StringIndexedObject> {
|
|
|
66
66
|
// Schema validator uses pre transformation parameters
|
|
67
67
|
const isValid = this.schemaValidator(
|
|
68
68
|
// @ts-expect-error Non esm package
|
|
69
|
-
cleanDeep(originalParameters, { nullValues: true })
|
|
69
|
+
cleanDeep(originalParameters, { nullValues: true, undefinedValues: true, emptyArrays: false, emptyStrings: false, emptyObjects: false, NaNValues: false })
|
|
70
70
|
);
|
|
71
71
|
|
|
72
72
|
if (!isValid) {
|