Socket
Socket
Sign inDemoInstall

fs-jetpack

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-jetpack - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

3

lib/find.js

@@ -24,2 +24,5 @@ "use strict";

// defaults:
if (opts.matching === undefined) {
opts.matching = "*";
}
if (opts.files === undefined) {

@@ -26,0 +29,0 @@ opts.files = true;

2

package.json
{
"name": "fs-jetpack",
"description": "Better file system API",
"version": "4.1.1",
"version": "4.2.0",
"author": "Jakub Szwacz <jakub@szwacz.com>",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -347,3 +347,3 @@ # fs-jetpack [![Build Status](https://travis-ci.com/szwacz/fs-jetpack.svg?branch=master)](https://travis-ci.com/szwacz/fs-jetpack) [![Build status](https://ci.appveyor.com/api/projects/status/er206e91fpuuqf58?svg=true)](https://ci.appveyor.com/project/szwacz/fs-jetpack) [![codecov](https://codecov.io/gh/szwacz/fs-jetpack/branch/master/graph/badge.svg)](https://codecov.io/gh/szwacz/fs-jetpack)

- `matching` glob patterns of files you want to find ([all possible globs are described further in this readme](#matching-patterns)).
- `matching` (default `"*"`) glob patterns of files you want to find ([all possible globs are described further in this readme](#matching-patterns)).
- `files` (default `true`) whether or not should search for files.

@@ -360,2 +360,5 @@ - `directories` (default `false`) whether or not should search for directories.

```javascript
// Finds all files inside 'foo' directory and its subdirectories
jetpack.find("foo");
// Finds all files which has 2015 in the name

@@ -362,0 +365,0 @@ jetpack.find("my-work", { matching: "*2015*" });

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