Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/require-dir

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/require-dir - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

require-dir/index.d.ts

@@ -7,5 +7,5 @@ // Type definitions for require-dir 1.0

interface options {
recurse?: boolean;
duplicates?: boolean;
extensions?: string[];
recurse?: boolean | undefined;
duplicates?: boolean | undefined;
extensions?: string[] | undefined;
filter?: any;

@@ -12,0 +12,0 @@ mapKey?: any;

{
"name": "@types/require-dir",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for require-dir",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-dir",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "4ab85b6fe6ba9b06220e727081c4400f2dcad98ec5681ee636179407882e0237",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "a97999334933ba5a7454833683b223f9cb19440457f624f0c5c7c22c485bd0a7",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,26 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-dir.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/require-dir/index.d.ts)
````ts
// Type definitions for require-dir 1.0
// Project: https://github.com/aseemk/requireDir
// Definitions by: weekens <https://github.com/weekens>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface options {
recurse?: boolean | undefined;
duplicates?: boolean | undefined;
extensions?: string[] | undefined;
filter?: any;
mapKey?: any;
mapValue?: any;
}
declare function requireDir(directory: string, options?: options): { [path: string]: any };
export = requireDir;
````
### Additional Details
* Last updated: Thu, 14 May 2020 21:13:54 GMT
* Last updated: Thu, 08 Jul 2021 22:42:00 GMT
* Dependencies: none

@@ -14,0 +35,0 @@ * Global values: none

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