Skip to content

Commit f26f712

Browse files
authored
chore: update dependencies (#767)
1 parent 4a168da commit f26f712

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
},
5858
"dependencies": {
5959
"@yeoman/adapter": "^4.0.2",
60-
"@yeoman/conflicter": "^4.0.1",
60+
"@yeoman/conflicter": "^4.1.0",
6161
"@yeoman/namespace": "^2.1.0",
62-
"@yeoman/transform": "^2.1.0",
63-
"@yeoman/types": "^1.10.3",
62+
"@yeoman/transform": "^2.1.1",
63+
"@yeoman/types": "^1.11.0",
6464
"arrify": "^3.0.0",
6565
"chalk": "^5.6.2",
6666
"commander": "^14.0.3",
@@ -72,7 +72,7 @@
7272
"locate-path": "^8.0.0",
7373
"lodash-es": "^4.18.1",
7474
"mem-fs": "^4.1.4",
75-
"mem-fs-editor": "^12.0.3",
75+
"mem-fs-editor": "^12.0.4",
7676
"semver": "^7.7.4",
7777
"slash": "^5.1.0",
7878
"untildify": "^6.0.0",
@@ -84,16 +84,16 @@
8484
"@types/lodash-es": "^4.17.12",
8585
"@types/node": "^20.19.35",
8686
"@types/semver": "^7.7.1",
87-
"@yeoman/eslint": "1.0.0",
87+
"@yeoman/eslint": "1.1.0",
8888
"c8": "^11.0.0",
89-
"eslint": "9.39.3",
89+
"eslint": "10.2.1",
9090
"esmocha": "^5.0.0",
9191
"fs-extra": "^11.3.4",
9292
"jsdoc": "^4.0.5",
93-
"prettier": "3.8.1",
93+
"prettier": "3.8.3",
9494
"prettier-plugin-packagejson": "^3.0.2",
9595
"rimraf": "^6.1.3",
96-
"sinon": "^21.1.0",
96+
"sinon": "^21.1.2",
9797
"sinon-test": "^3.1.6",
9898
"strip-ansi": "^7.2.0",
9999
"typescript": "5.9.3",

src/environment-full.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class FullEnvironment extends EnvironmentBase {
8787
groups[base].push(namespace);
8888
}
8989

90-
for (const key of Object.keys(groups).sort()) {
90+
for (const key of Object.keys(groups).toSorted()) {
9191
const group = groups[key];
9292

9393
if (group.length > 0) {

src/generator-lookup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function lookupGenerators(options: LookupOptions = {}, register?: (
5050
};
5151

5252
return moduleLookupSync(options, ({ packagePath, files }) => {
53-
files = [...files].sort((a, b) => {
53+
files = [...files].toSorted((a, b) => {
5454
return defaultExtensions.indexOf(extname(a)) - defaultExtensions.indexOf(extname(b));
5555
});
5656
for (const filePath of files) {

src/util/namespace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const asNamespace = (filepath: string, { lookups = defaultLookups }: AsNa
4949
// Sort lookups by length so biggest are removed first
5050
const nsLookups = [...lookups, '..']
5151
.map(found => slash(found))
52-
.sort((a, b) => a.split('/').length - b.split('/').length)
52+
.toSorted((a, b) => a.split('/').length - b.split('/').length)
5353
.toReversed();
5454

5555
// If `ns` contains a lookup dir in its path, remove it.

0 commit comments

Comments
 (0)