globule/000755 001751 000166 0000000000 15031310135014130 5ustar00runner000000 000000 1503131013515031310135globule/LICENSE000644 001751 000166 0000002165 15031310135015141 0ustar00runner000000 000000 1503131013515031310135 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE globule/README.md000644 001751 000166 0000001107 15031310135015406 0ustar00runner000000 000000 1503131013515031310135# Installation > `npm install --save @types/globule` # Summary This package contains type definitions for globule (https://github.com/cowboy/node-globule). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globule. ### Additional Details * Last updated: Wed, 02 Jul 2025 20:02:37 GMT * Dependencies: [@types/glob](https://npmjs.com/package/@types/glob), [@types/minimatch](https://npmjs.com/package/@types/minimatch) # Credits These definitions were written by [Dusan Radovanovic](https://github.com/durad). globule/index.d.ts000644 001751 000166 0000005530 15031310135016034 0ustar00runner000000 000000 1503131013515031310135import minimatch = require("minimatch"); import glob = require("glob"); interface FindOptions extends glob.IOptions { src?: string | undefined; filter?: string | ((filepath?: string, options?: any) => boolean) | undefined; nonull?: boolean | undefined; matchBase?: boolean | undefined; srcBase?: string | undefined; prefixBase?: boolean | undefined; } interface MappingOptions extends FindOptions { srcBase?: string | undefined; destBase?: string | undefined; ext?: string | undefined; extDot?: "first" | "last" | undefined; flatten?: boolean | undefined; rename?(p: string): string; } interface OneMapping { src: string[]; dest: string; } interface GlobuleStatic { /** * Match one or more globbing patterns against one or more file paths. * Returns a uniqued array of all file paths that match any of the specified globbing patterns. */ match(patterns: string | string[], filepaths: string | string[], options?: minimatch.IOptions): string[]; /** * Tests pattern(s) against against one or more file paths and returns true if any files were matched, otherwise false. */ isMatch(patterns: string | string[], filepaths: string | string[], options?: minimatch.IOptions): boolean; /** * Returns a unique array of all file or directory paths that match the given globbing pattern(s) */ find(pattern: string | string[], options?: FindOptions): string[]; /** * Returns a unique array of all file or directory paths that match the given globbing pattern(s) */ find(options: FindOptions): string[]; /** * Returns a unique array of all file or directory paths that match the given globbing pattern(s) */ find(pattern: string | string[], pattern2: string | string[], options?: FindOptions): string[]; /** * Returns a unique array of all file or directory paths that match the given globbing pattern(s) */ find(pattern: string, pattern2: string, pattern3: string | string[], options?: FindOptions): string[]; /** * Given a set of source file paths, returns an array of src-dest file mapping objects */ mapping(filepaths: string[], options?: MappingOptions): OneMapping[]; /** * Given a set of source file paths, returns an array of src-dest file mapping objects */ mapping(options: MappingOptions): OneMapping[]; /** * Given a set of source file paths, returns an array of src-dest file mapping objects */ mapping(filepaths: string[], filepaths2: string[], options?: MappingOptions): OneMapping[]; /** * Given a set of source file paths, returns an array of src-dest file mapping objects */ mapping(filepaths: string[], filepaths2: string[], filepaths3: string[], options?: MappingOptions): OneMapping[]; } declare var globule: GlobuleStatic; export = globule; globule/package.json000644 001751 000166 0000001566 15031310135016426 0ustar00runner000000 000000 1503131013515031310135{ "name": "@types/globule", "version": "1.1.10", "description": "TypeScript definitions for globule", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globule", "license": "MIT", "contributors": [ { "name": "Dusan Radovanovic", "githubUsername": "durad", "url": "https://github.com/durad" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/globule" }, "scripts": {}, "dependencies": { "@types/glob": "~7.2.0", "@types/minimatch": "<=5" }, "peerDependencies": {}, "typesPublisherContentHash": "843f3572131580c2ce7641c4dda9013e4d454ff09a3d36afaa40f02a88f5bce3", "typeScriptVersion": "5.1" }