spooder 4.5.10 → 4.5.11
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/api.ts +2 -2
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -276,14 +276,14 @@ function order_schema_dep_tree<T extends DependencyTarget>(deps: T[]): T[] {
|
|
|
276
276
|
|
|
277
277
|
temp.delete(node.file_name);
|
|
278
278
|
visited.add(node.file_name);
|
|
279
|
-
result.
|
|
279
|
+
result.unshift(node);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
for (const dep of deps)
|
|
283
283
|
if (!visited.has(dep.file_name))
|
|
284
284
|
visit(dep);
|
|
285
285
|
|
|
286
|
-
return result
|
|
286
|
+
return result;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
type Row_DBSchema = { db_schema_table_name: string, db_schema_version: number };
|