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

@types/parse-glob

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/parse-glob - npm Package Compare versions

Comparing version 3.0.29 to 3.0.30

parse-glob/LICENSE

1

parse-glob/index.d.ts

@@ -6,3 +6,2 @@ // Type definitions for parse-glob 3.0.4

declare namespace parseGlob {

@@ -9,0 +8,0 @@ interface Result {

{
"name": "@types/parse-glob",
"version": "3.0.29",
"description": "TypeScript definitions for parse-glob 3.0.4",
"version": "3.0.30",
"description": "TypeScript definitions for parse-glob",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-glob",
"license": "MIT",
"author": "glen-84 <https://github.com/glen-84>",
"contributors": [
{
"name": "glen-84",
"url": "https://github.com/glen-84",
"githubUsername": "glen-84"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/parse-glob"
},
"scripts": {},
"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "edc8dc9d8e186c6ecb2bc9d12aea10c9c207e25b8e3830decfa5622b12add037"
"typesPublisherContentHash": "48d6f448e842a55e6de16ddb371e3e704ea981b35b746fa300ac5f6769ff31fb",
"typeScriptVersion": "4.5"
}

@@ -5,15 +5,107 @@ # Installation

# Summary
This package contains type definitions for parse-glob 3.0.4 (https://github.com/jonschlinkert/parse-glob).
This package contains type definitions for parse-glob (https://github.com/jonschlinkert/parse-glob).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/parse-glob
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-glob.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-glob/index.d.ts)
````ts
// Type definitions for parse-glob 3.0.4
// Project: https://github.com/jonschlinkert/parse-glob
// Definitions by: glen-84 <https://github.com/glen-84>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT
* File structure: ProperModule
* Library Dependencies: none
* Module Dependencies: none
* Global values: parseGlob
declare namespace parseGlob {
interface Result {
/**
* A copy of the original, unmodified glob pattern.
*/
orig: string;
/**
* An object with boolean information about the glob.
*/
is: {
/**
* True if the pattern actually is a glob pattern.
*/
glob: boolean;
/**
* True if it's a negation pattern (!/foo.js).
*/
negated: boolean;
/**
* True if it has extglobs (@(foo|bar)).
*/
extglob: boolean;
/**
* True if it has braces ({1..2} or .{txt,md}).
*/
braces: boolean;
/**
* True if it has POSIX brackets ([[:alpha:]]).
*/
brackets: boolean;
/**
* True if the pattern has a globstar (double star, **).
*/
globstar: boolean;
/**
* True if the pattern should match dotfiles.
*/
dotfile: boolean;
/**
* True if the pattern should match dot-directories (like .git).
*/
dotdir: boolean;
};
/**
* The glob pattern part of the string, if any.
*/
glob: string;
/**
* The non-glob part of the string, if any.
*/
base: string;
/**
* File path segments.
*/
path: {
/**
* Directory.
*/
dirname: string;
/**
* File name with extension.
*/
basename: string;
/**
* File name without extension.
*/
filename: string;
/**
* File extension with dot.
*/
extname: string;
/**
* File extension without dot.
*/
ext: string;
};
}
}
interface ParseGlob {
(glob: string): parseGlob.Result;
}
declare const parseGlob: ParseGlob;
export = parseGlob;
````
### Additional Details
* Last updated: Sun, 24 Sep 2023 06:37:27 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by glen-84 <https://github.com/glen-84>.
These definitions were written by [glen-84](https://github.com/glen-84).
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