codify-plugin-lib 1.0.182-beta73 → 1.0.182-beta75
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/package.json +1 -1
- package/src/plan/plan.ts +2 -2
package/package.json
CHANGED
package/src/plan/plan.ts
CHANGED
|
@@ -406,7 +406,7 @@ export class Plan<T extends StringIndexedObject> {
|
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
// For stateless mode, we must filter the current array so that the diff algorithm will not detect any deletes
|
|
409
|
-
function filterArrayParameterForStatelessMode(k: string, v: unknown[]): unknown[]
|
|
409
|
+
function filterArrayParameterForStatelessMode(k: string, v: unknown[]): null | unknown[] {
|
|
410
410
|
console.log('Attempting to filter stateless (key, value)', k, v);
|
|
411
411
|
|
|
412
412
|
const desiredArray = desired![k] as unknown[];
|
|
@@ -446,7 +446,7 @@ export class Plan<T extends StringIndexedObject> {
|
|
|
446
446
|
return result.length === 0 ? null : result;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
function filterArrayParameterForDeletes(k: string, v: unknown[]): unknown[]
|
|
449
|
+
function filterArrayParameterForDeletes(k: string, v: unknown[]): null | unknown[] {
|
|
450
450
|
console.log('Attempting to filter deletes (key, value)', k, v);
|
|
451
451
|
|
|
452
452
|
const stateArray = state![k] as unknown[];
|