Socket
Socket
Sign inDemoInstall

@platform/fs

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platform/fs - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

1

lib/glob/glob.d.ts

@@ -7,3 +7,4 @@ export declare type IGlobOptions = {

realpathCache?: {};
ignore?: string | string[];
};
export declare function find(pattern: string, options?: IGlobOptions): Promise<string[]>;

6

lib/glob/glob.js

@@ -9,5 +9,5 @@ "use strict";

return new Promise(function (resolve, reject) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
var _a, dot, cache, statCache, realpathCache, includeDirs, nodir, args;
var _a, dot, cache, statCache, realpathCache, ignore, includeDirs, nodir, args;
return tslib_1.__generator(this, function (_b) {
_a = options.dot, dot = _a === void 0 ? false : _a, cache = options.cache, statCache = options.statCache, realpathCache = options.realpathCache;
_a = options.dot, dot = _a === void 0 ? false : _a, cache = options.cache, statCache = options.statCache, realpathCache = options.realpathCache, ignore = options.ignore;
includeDirs = typeof options.includeDirs === 'boolean'

@@ -19,3 +19,3 @@ ? options.includeDirs

nodir = !includeDirs;
args = { dot: dot, nodir: nodir, cache: cache, statCache: statCache, realpathCache: realpathCache };
args = { dot: dot, nodir: nodir, cache: cache, statCache: statCache, realpathCache: realpathCache, ignore: ignore };
glob(pattern, args, function (err, paths) {

@@ -22,0 +22,0 @@ if (err) {

{
"name": "@platform/fs",
"version": "0.5.4",
"version": "0.5.5",
"description": "File-system tools.",

@@ -16,3 +16,3 @@ "main": "lib/index",

"@types/fs-extra": "8.0.1",
"@types/js-yaml": "3.12.1",
"@types/js-yaml": "3.12.2",
"archiver": "3.1.1",

@@ -19,0 +19,0 @@ "dotenv": "8.2.0",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc