@nodelib/fs.stat
Advanced tools
Comparing version 2.0.3 to 2.0.4
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0; | ||
const fs = require("fs"); | ||
@@ -4,0 +5,0 @@ exports.FILE_SYSTEM_ADAPTER = { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.statSync = exports.stat = exports.Settings = void 0; | ||
const async = require("./providers/async"); | ||
@@ -4,0 +5,0 @@ const sync = require("./providers/sync"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.read = void 0; | ||
function read(path, settings, callback) { | ||
@@ -4,0 +5,0 @@ settings.fs.lstat(path, (lstatError, lstat) => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.read = void 0; | ||
function read(path, settings) { | ||
@@ -4,0 +5,0 @@ const lstat = settings.fs.lstatSync(path); |
@@ -13,5 +13,5 @@ "use strict"; | ||
_getValue(option, value) { | ||
return option === undefined ? value : option; | ||
return option !== null && option !== void 0 ? option : value; | ||
} | ||
} | ||
exports.default = Settings; |
{ | ||
"name": "@nodelib/fs.stat", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Get the status of a file with some features", | ||
@@ -28,3 +28,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "3b1ef7554ad7c061b3580858101d483fba847abf" | ||
"gitHead": "cb5f7e893a986164c3b847a4f1faef6c54cadd68" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
128688
50
813
2
1