Skip to content

Commit 2605287

Browse files
zkochanclaude
andcommitted
chore: update all dependencies to latest versions
Update all dependencies to their latest versions and fix breaking changes: - TypeScript 5.9.3: remove deprecated suppressImplicitAnyIndexErrors - execa 9: use named exports and new API in safe-execa and tests - tempy 3: use temporaryDirectory named export - load-yaml-file 1, load-json-file 7, write-json-file 7, make-dir 5: use named exports - Remove unused make-dir dependency from write-ini-file Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 84c04ad commit 2605287

File tree

45 files changed

+1123
-2687
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1123
-2687
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ _docpress
1818
.vscode/
1919

2020
run-groups/lib
21+
22+
.claude

can-link/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"devDependencies": {
2929
"mos": "2.0.0-alpha.3",
3030
"mos-plugin-readme": "^1.0.4",
31-
"standard": "^16.0.4"
31+
"standard": "^17.1.2"
3232
},
3333
"mos": {
3434
"plugins": [

can-write-to-dir/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"path-temp": "workspace:^"
3131
},
3232
"devDependencies": {
33-
"standard": "^16.0.4"
33+
"standard": "^17.1.2"
3434
}
3535
}

dir-is-case-sensitive/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"path-temp": "workspace:^"
3333
},
3434
"devDependencies": {
35-
"@types/node": "14.14.6",
36-
"typescript": "^4.9.5"
35+
"@types/node": "25.4.0",
36+
"typescript": "^5.9.3"
3737
}
3838
}

dir-is-case-sensitive/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"declaration": true,
77
"noImplicitAny": true,
88
"noImplicitReturns": true,
9-
"suppressImplicitAnyIndexErrors": true,
109
"allowSyntheticDefaultImports": true,
1110
"strictNullChecks": true,
1211
"target": "es2022",

is-inner-link/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
"resolve-link-target": "workspace:^"
4343
},
4444
"devDependencies": {
45-
"make-dir": "^3.1.0",
45+
"make-dir": "^5.1.0",
4646
"mos": "2.0.0-alpha.3",
4747
"mos-plugin-readme": "^1.0.4",
48-
"rimraf": "^3.0.2",
49-
"standard": "^16.0.4",
50-
"symlink-dir": "^5.2.1"
48+
"rimraf": "^6.1.3",
49+
"standard": "^17.1.2",
50+
"symlink-dir": "^7.1.0"
5151
}
5252
}

is-inner-link/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { test } from 'node:test'
22
import assert from 'node:assert'
33
import { isInnerLink } from 'is-inner-link'
4-
import makeDir from 'make-dir'
4+
import { makeDirectorySync } from 'make-dir'
55
import path from 'node:path'
66
import symlinkDir from 'symlink-dir'
77

88
test('is inner', async () => {
99
const target = path.resolve('.tmp', '1', 'a', 'b')
10-
makeDir.sync(target)
10+
makeDirectorySync(target)
1111
await symlinkDir(target, path.join(target, '..', '..', 'b'))
1212
const link = await isInnerLink(path.resolve('.tmp', '1'), 'b')
1313
assert.ok(link.isInner)
@@ -17,7 +17,7 @@ test('is inner', async () => {
1717
test('is not inner', async () => {
1818
const dest = path.resolve('.tmp', '2', 'a')
1919
const target = path.resolve('.tmp', '2', 'b')
20-
makeDir.sync(target)
20+
makeDirectorySync(target)
2121
await symlinkDir(target, path.join(dest, 'b'))
2222
const link = await isInnerLink(dest, 'b')
2323
assert.ok(!link.isInner)

make-empty-dir/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"license": "MIT",
3131
"homepage": "https://github.com/zkochan/packages/tree/main/make-empty-dir#readme",
3232
"devDependencies": {
33-
"tempy": "^1.0.1"
33+
"tempy": "^3.2.0"
3434
},
3535
"dependencies": {
3636
"@zkochan/rimraf": "workspace:^"

make-empty-dir/test.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@ import fs from 'node:fs'
22
import path from 'node:path'
33
import { test } from 'node:test'
44
import assert from 'node:assert'
5-
import tempy from 'tempy'
5+
import { temporaryDirectory } from 'tempy'
66
import { makeEmptyDir, makeEmptyDirSync } from './index.js'
77

88
test('creates a new directory if it does not exist', async () => {
9-
const dir = path.join(tempy.directory(), 'empty')
9+
const dir = path.join(temporaryDirectory(), 'empty')
1010
assert.strictEqual(await makeEmptyDir(dir), 'created')
1111
assert.ok(fs.existsSync(dir))
1212
})
1313

1414
test('creates a new directory and its parent directory, when recursive is set to true', async () => {
15-
const dir = path.join(tempy.directory(), 'empty/empty')
15+
const dir = path.join(temporaryDirectory(), 'empty/empty')
1616
assert.strictEqual(await makeEmptyDir(dir, { recursive: true }), 'created')
1717
assert.ok(fs.existsSync(dir))
1818
})
1919

2020
test('fails if the parent directory does not exist and recursive is not set', async () => {
21-
const dir = path.join(tempy.directory(), 'empty/empty')
21+
const dir = path.join(temporaryDirectory(), 'empty/empty')
2222
await assert.rejects(makeEmptyDir(dir))
2323
})
2424

2525
test('removes everything from an existing directory', async () => {
26-
const dir = path.join(tempy.directory(), 'empty')
26+
const dir = path.join(temporaryDirectory(), 'empty')
2727
fs.mkdirSync(path.join(dir))
2828
const filePath = path.join(dir, 'file')
2929
fs.writeFileSync(filePath, '', 'utf8')
@@ -33,24 +33,24 @@ test('removes everything from an existing directory', async () => {
3333
})
3434

3535
test('sync: creates a new directory if it does not exist', () => {
36-
const dir = path.join(tempy.directory(), 'empty')
36+
const dir = path.join(temporaryDirectory(), 'empty')
3737
assert.strictEqual(makeEmptyDirSync(dir), 'created')
3838
assert.ok(fs.existsSync(dir))
3939
})
4040

4141
test('sync: creates a new directory and its parent directory, when recursive is set to true', () => {
42-
const dir = path.join(tempy.directory(), 'empty/empty')
42+
const dir = path.join(temporaryDirectory(), 'empty/empty')
4343
assert.strictEqual(makeEmptyDirSync(dir, { recursive: true }), 'created')
4444
assert.ok(fs.existsSync(dir))
4545
})
4646

4747
test('sync: fails if the parent directory does not exist and recursive is not set', () => {
48-
const dir = path.join(tempy.directory(), 'empty/empty')
48+
const dir = path.join(temporaryDirectory(), 'empty/empty')
4949
assert.throws(() => makeEmptyDirSync(dir))
5050
})
5151

5252
test('sync: removes everything from an existing directory', () => {
53-
const dir = path.join(tempy.directory(), 'empty')
53+
const dir = path.join(temporaryDirectory(), 'empty')
5454
fs.mkdirSync(path.join(dir))
5555
const filePath = path.join(dir, 'file')
5656
fs.writeFileSync(filePath, '', 'utf8')

p-map-values/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"license": "MIT",
2727
"homepage": "https://github.com/zkochan/packages/tree/main/p-map-values#readme",
2828
"devDependencies": {
29-
"typescript": "^4.9.5"
29+
"typescript": "^5.9.3"
3030
}
3131
}

0 commit comments

Comments
 (0)