Skip to content

Commit 2f5da83

Browse files
author
Michael Smith
committed
deps: @npmcli/fs@6.0.0
1 parent 370f9c6 commit 2f5da83

29 files changed

Lines changed: 1133 additions & 41 deletions

node_modules/@npmcli/fs/lib/move-file.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ const moveFile = async (source, destination, options = {}, root = true, symlinks
5656
}
5757
// try to determine what the actual file is so we can create the correct
5858
// type of symlink in windows
59-
let targetStat = 'file'
59+
let targetType = 'file'
6060
try {
61-
targetStat = await fs.stat(resolve(dirname(symSource), target))
61+
const targetStat = await fs.stat(resolve(dirname(symSource), target))
6262
if (targetStat.isDirectory()) {
63-
targetStat = 'junction'
63+
targetType = 'junction'
6464
}
6565
} catch {
66-
// targetStat remains 'file'
66+
// targetType remains 'file'
6767
}
6868
await fs.symlink(
6969
target,
7070
symDestination,
71-
targetStat
71+
targetType
7272
)
7373
}))
7474
await fs.rm(source, { recursive: true, force: true })

node_modules/@npmcli/fs/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/fs",
3-
"version": "5.0.0",
3+
"version": "6.0.0",
44
"description": "filesystem utilities for the npm cli",
55
"main": "lib/index.js",
66
"files": [
@@ -30,19 +30,19 @@
3030
"author": "GitHub Inc.",
3131
"license": "ISC",
3232
"devDependencies": {
33-
"@npmcli/eslint-config": "^5.0.0",
34-
"@npmcli/template-oss": "4.27.1",
33+
"@npmcli/eslint-config": "^6.0.0",
34+
"@npmcli/template-oss": "5.1.0",
3535
"tap": "^16.0.1"
3636
},
3737
"dependencies": {
3838
"semver": "^7.3.5"
3939
},
4040
"engines": {
41-
"node": "^20.17.0 || >=22.9.0"
41+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
4242
},
4343
"templateOSS": {
4444
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
45-
"version": "4.27.1",
45+
"version": "5.1.0",
4646
"publish": true
4747
},
4848
"tap": {

node_modules/cacache/node_modules/@npmcli/fs/LICENSE.md renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/LICENSE.md

File renamed without changes.

node_modules/cacache/node_modules/@npmcli/fs/lib/common/get-options.js renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/lib/common/get-options.js

File renamed without changes.

node_modules/cacache/node_modules/@npmcli/fs/lib/common/node.js renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/lib/common/node.js

File renamed without changes.

node_modules/cacache/node_modules/@npmcli/fs/lib/cp/LICENSE renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/lib/cp/LICENSE

File renamed without changes.

node_modules/cacache/node_modules/@npmcli/fs/lib/cp/errors.js renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/lib/cp/errors.js

File renamed without changes.

node_modules/cacache/node_modules/@npmcli/fs/lib/cp/index.js renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/lib/cp/index.js

File renamed without changes.

node_modules/cacache/node_modules/@npmcli/fs/lib/cp/polyfill.js renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/lib/cp/polyfill.js

File renamed without changes.

node_modules/cacache/node_modules/@npmcli/fs/lib/index.js renamed to node_modules/@sigstore/sign/node_modules/@npmcli/fs/lib/index.js

File renamed without changes.

0 commit comments

Comments
 (0)