Skip to content

Commit 3a2b657

Browse files
authored
bump dependencies (yeoman#474)
1 parent 6beddee commit 3a2b657

File tree

5 files changed

+4015
-2619
lines changed

5 files changed

+4015
-2619
lines changed

lib/util/transform.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import fs from 'node:fs';
22
import path from 'node:path';
3-
import findUp from 'find-up';
3+
import { findUpSync } from 'find-up';
44
import minimatch from 'minimatch';
55
import { transform, passthrough, filter } from 'p-transform';
66
// eslint-disable-next-line n/file-extension-in-import
@@ -48,12 +48,12 @@ export function getConflicterStatusForFile(conflicter, filePath, yoAttributeFile
4848
const fileDir = path.dirname(filePath);
4949
conflicter.yoResolveByFile = conflicter.yoResolveByFile || {};
5050
const yoResolveFiles = [];
51-
let foundYoAttributesFile = findUp.sync([yoAttributeFileName], {
51+
let foundYoAttributesFile = findUpSync([yoAttributeFileName], {
5252
cwd: fileDir,
5353
});
5454
while (foundYoAttributesFile) {
5555
yoResolveFiles.push(foundYoAttributesFile);
56-
foundYoAttributesFile = findUp.sync([yoAttributeFileName], {
56+
foundYoAttributesFile = findUpSync([yoAttributeFileName], {
5757
cwd: path.join(path.dirname(foundYoAttributesFile), '..'),
5858
});
5959
}

0 commit comments

Comments
 (0)