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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/plan/plan.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.182-beta73",
3
+ "version": "1.0.182-beta75",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
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[] | null {
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[] | null {
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[];