Skip to content

Commit 07536a4

Browse files
committed
deps: @npmcli/[email protected]
1 parent 3c5a866 commit 07536a4

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

node_modules/@npmcli/fs/lib/common/owner-sync.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ const update = (path, uid, gid) => {
5050
if (uid === stat.uid && gid === stat.gid) {
5151
return
5252
}
53-
} catch (err) {}
53+
} catch {
54+
// ignore errors
55+
}
5456

5557
try {
5658
fs.chownSync(path, uid, gid)
57-
} catch (err) {}
59+
} catch {
60+
// ignore errors
61+
}
5862
}
5963

6064
// accepts a `path` and the `owner` property of an options object and normalizes

node_modules/@npmcli/fs/lib/common/owner.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,15 @@ const update = async (path, uid, gid) => {
5050
if (uid === stat.uid && gid === stat.gid) {
5151
return
5252
}
53-
} catch (err) {}
53+
} catch {
54+
// ignore errors
55+
}
5456

5557
try {
5658
await fs.chown(path, uid, gid)
57-
} catch (err) {}
59+
} catch {
60+
// ignore errors
61+
}
5862
}
5963

6064
// accepts a `path` and the `owner` property of an options object and normalizes

node_modules/@npmcli/fs/lib/with-temp-dir.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ const withTempDir = async (root, fn, opts) => {
2727

2828
try {
2929
await rm(target, { force: true, recursive: true })
30-
} catch {}
30+
} catch {
31+
// ignore errors
32+
}
3133

3234
if (err) {
3335
throw err

node_modules/@npmcli/fs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/fs",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "filesystem utilities for the npm cli",
55
"main": "lib/index.js",
66
"files": [

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -916,9 +916,9 @@
916916
}
917917
},
918918
"node_modules/@npmcli/fs": {
919-
"version": "2.1.1",
920-
"resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.1.tgz",
921-
"integrity": "sha512-1Q0uzx6c/NVNGszePbr5Gc2riSU1zLpNlo/1YWntH+eaPmMgBssAW0qXofCVkpdj3ce4swZtlDYQu+NKiYcptg==",
919+
"version": "2.1.2",
920+
"resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz",
921+
"integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==",
922922
"inBundle": true,
923923
"dependencies": {
924924
"@gar/promisify": "^1.1.3",

0 commit comments

Comments
 (0)