Socket
Socket
Sign inDemoInstall

fast-glob

Package Overview
Dependencies
17
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.4 to 3.2.5

6

out/settings.js

@@ -6,3 +6,7 @@ "use strict";

const os = require("os");
const CPU_COUNT = os.cpus().length;
/**
* The `os.cpus` method can return zero. We expect the number of cores to be greater than zero.
* https://github.com/nodejs/node/blob/7faeddf23a98c53896f8b574a6e66589e8fb1eb8/lib/os.js#L106-L107
*/
const CPU_COUNT = Math.max(os.cpus().length, 1);
exports.DEFAULT_FILE_SYSTEM_ADAPTER = {

@@ -9,0 +13,0 @@ lstat: fs.lstat,

2

package.json
{
"name": "fast-glob",
"version": "3.2.4",
"version": "3.2.5",
"description": "It's a very fast and efficient glob library for Node.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -418,4 +418,4 @@ # fast-glob

```js
fs.sync('*', { onlyFiles: false, markDirectories: false }); // ['index.js', 'controllers']
fs.sync('*', { onlyFiles: false, markDirectories: true }); // ['index.js', 'controllers/']
fg.sync('*', { onlyFiles: false, markDirectories: false }); // ['index.js', 'controllers']
fg.sync('*', { onlyFiles: false, markDirectories: true }); // ['index.js', 'controllers/']
```

@@ -422,0 +422,0 @@

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