@sylphx/flow 3.18.0 → 3.19.0

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.
@@ -74,7 +74,7 @@ export const secretUtils = {
74
74
  /**
75
75
  * Resolve file references in an object recursively
76
76
  */
77
- async resolveFileReferences(cwd: string, obj: any): Promise<any> {
77
+ async resolveFileReferences(cwd: string, obj: unknown): Promise<unknown> {
78
78
  if (typeof obj === 'string' && secretUtils.isFileReference(obj)) {
79
79
  const filePath = secretUtils.extractFilePath(obj);
80
80
  return await secretUtils.readSecret(cwd, filePath);
@@ -85,7 +85,7 @@ export const secretUtils = {
85
85
  }
86
86
 
87
87
  if (obj && typeof obj === 'object') {
88
- const resolved: any = {};
88
+ const resolved: Record<string, unknown> = {};
89
89
  for (const [key, value] of Object.entries(obj)) {
90
90
  resolved[key] = await secretUtils.resolveFileReferences(cwd, value);
91
91
  }