Socket
Socket
Sign inDemoInstall

recrawl

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recrawl - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

lib/recrawl.d.ts

@@ -21,2 +21,2 @@ import { Crawler, RecrawlOptions } from './types';

*/
export declare function createMatcher(globs: string[] | undefined, mapGlob?: (glob: string) => string): ((file: string, name?: string | undefined) => boolean | null) | null;
export declare function createMatcher(globs: string[] | undefined, mapGlob?: (glob: string) => string): GlobMatcher | null;

@@ -104,4 +104,4 @@ Object.defineProperty(exports, "__esModule", { value: true });

});
const fileRE = fileGlobs.length ? matchAny(fileGlobs) : null;
const nameRE = nameGlobs.length ? matchAny(nameGlobs) : null;
const fileRE = fileGlobs.length ? matchAny(fileGlobs) : false;
const nameRE = nameGlobs.length ? matchAny(nameGlobs) : false;
return (file, name) => (nameRE && nameRE.test(name || path.basename(file))) ||

@@ -108,0 +108,0 @@ (fileRE && fileRE.test(file));

{
"name": "recrawl",
"version": "1.1.1",
"version": "1.1.2",
"main": "lib/recrawl.js",

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

@@ -1,2 +0,2 @@

# recrawl v1.1.1
# recrawl v1.1.2

@@ -3,0 +3,0 @@ Collect the descendants of a directory.

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