Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 8, 2025
1 parent cba8941 commit 86822f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,21 @@
],
"dependencies": {
"@sindresorhus/merge-streams": "^2.1.0",
"fast-glob": "^3.3.2",
"ignore": "^5.2.4",
"path-type": "^5.0.0",
"fast-glob": "^3.3.3",
"ignore": "^7.0.3",
"path-type": "^6.0.0",
"slash": "^5.1.0",
"unicorn-magic": "^0.1.0"
"unicorn-magic": "^0.3.0"
},
"devDependencies": {
"@globby/main-branch": "sindresorhus/globby#main",
"@types/node": "^20.9.0",
"@types/node": "^22.13.1",
"ava": "^5.3.1",
"benchmark": "2.1.4",
"glob-stream": "^8.0.0",
"tempy": "^3.1.0",
"tsd": "^0.30.4",
"xo": "^0.57.0"
"tsd": "^0.31.2",
"xo": "^0.60.0"
},
"xo": {
"ignores": [
Expand Down
4 changes: 2 additions & 2 deletions tests/generate-glob-tasks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import util from 'node:util';
import {format} from 'node:util';
import process from 'node:process';
import path from 'node:path';
import fs from 'node:fs';
Expand Down Expand Up @@ -44,7 +44,7 @@ test('generateGlobTasks', async t => {

// Rejected for being an invalid pattern
for (const value of invalidPatterns) {
const valueString = util.format(value);
const valueString = format(value);
const message = 'Patterns must be a string or an array of strings';

test(`throws for invalid patterns input: ${valueString}`, async t => {
Expand Down
4 changes: 2 additions & 2 deletions tests/globby.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import process from 'node:process';
import fs from 'node:fs';
import path from 'node:path';
import util from 'node:util';
import {format} from 'node:util';
import test from 'ava';
import {temporaryDirectory} from 'tempy';
import {
Expand Down Expand Up @@ -222,7 +222,7 @@ test.serial.failing('relative paths and ignores option', async t => {

// Rejected for being an invalid pattern
for (const value of invalidPatterns) {
const valueString = util.format(value);
const valueString = format(value);
const message = 'Patterns must be a string or an array of strings';

test(`throws for invalid patterns input: ${valueString}`, async t => {
Expand Down

0 comments on commit 86822f2

Please sign in to comment.