From de71eda9017292ccbb73610e23eb4c7f63fdb52d Mon Sep 17 00:00:00 2001 From: Gar Date: Mon, 31 Jan 2022 14:28:43 -0800 Subject: [PATCH] deps: graceful-fs@4.2.9 --- node_modules/graceful-fs/package.json | 2 +- node_modules/graceful-fs/polyfills.js | 6 ++++-- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/node_modules/graceful-fs/package.json b/node_modules/graceful-fs/package.json index 032c7d0b58448..e1cb584739202 100644 --- a/node_modules/graceful-fs/package.json +++ b/node_modules/graceful-fs/package.json @@ -1,7 +1,7 @@ { "name": "graceful-fs", "description": "A drop-in replacement for fs, making various improvements.", - "version": "4.2.8", + "version": "4.2.9", "repository": { "type": "git", "url": "https://github.com/isaacs/node-graceful-fs" diff --git a/node_modules/graceful-fs/polyfills.js b/node_modules/graceful-fs/polyfills.js index 1287da1aa450d..26804ef0a6852 100644 --- a/node_modules/graceful-fs/polyfills.js +++ b/node_modules/graceful-fs/polyfills.js @@ -310,8 +310,10 @@ function patch (fs) { return function (target, options) { var stats = options ? orig.call(fs, target, options) : orig.call(fs, target) - if (stats.uid < 0) stats.uid += 0x100000000 - if (stats.gid < 0) stats.gid += 0x100000000 + if (stats) { + if (stats.uid < 0) stats.uid += 0x100000000 + if (stats.gid < 0) stats.gid += 0x100000000 + } return stats; } } diff --git a/package-lock.json b/package-lock.json index 8b2321ecce27f..902a47e4c57a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -105,7 +105,7 @@ "columnify": "~1.5.4", "fastest-levenshtein": "^1.0.12", "glob": "^7.2.0", - "graceful-fs": "^4.2.8", + "graceful-fs": "^4.2.9", "hosted-git-info": "^4.1.0", "ini": "^2.0.0", "init-package-json": "^2.0.5", @@ -3602,9 +3602,9 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", "inBundle": true }, "node_modules/har-schema": { @@ -13570,9 +13570,9 @@ "dev": true }, "graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" }, "har-schema": { "version": "2.0.0", diff --git a/package.json b/package.json index 2486a1aadf87e..9ebecabc1dc0c 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "columnify": "~1.5.4", "fastest-levenshtein": "^1.0.12", "glob": "^7.2.0", - "graceful-fs": "^4.2.8", + "graceful-fs": "^4.2.9", "hosted-git-info": "^4.1.0", "ini": "^2.0.0", "init-package-json": "^2.0.5",