Socket
Socket
Sign inDemoInstall

@nodelib/fs.stat

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

.eslintcache

1

out/adapters/fs.js
"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);

2

out/settings.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc