glob-hasher
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -15,1 +15,6 @@ /* tslint:disable */ | ||
export function glob(globs: Array<string>, maybeOptions?: PartialHashGlobOptions | undefined | null): Array<string> | null | ||
export interface StatEntry { | ||
mtime: bigint | ||
size: number | ||
} | ||
export function stat(files: Array<string>, maybeOptions?: PartialHashGlobOptions | undefined | null): Record<string, StatEntry> | null |
@@ -249,3 +249,3 @@ const { existsSync, readFileSync } = require('fs') | ||
const { hashGlobXxhash, hashGlobGit, hash, glob } = nativeBinding | ||
const { hashGlobXxhash, hashGlobGit, hash, glob, stat } = nativeBinding | ||
@@ -256,1 +256,2 @@ module.exports.hashGlobXxhash = hashGlobXxhash | ||
module.exports.glob = glob | ||
module.exports.stat = stat |
{ | ||
"name": "glob-hasher", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"main": "index.js", | ||
@@ -39,8 +39,8 @@ "description": "A simple glob hasher for Node.js, uses Rust for faster globbing and hashing", | ||
"optionalDependencies": { | ||
"glob-hasher-win32-x64-msvc": "1.2.1", | ||
"glob-hasher-darwin-x64": "1.2.1", | ||
"glob-hasher-linux-x64-gnu": "1.2.1", | ||
"glob-hasher-darwin-arm64": "1.2.1", | ||
"glob-hasher-win32-arm64-msvc": "1.2.1" | ||
"glob-hasher-win32-x64-msvc": "1.3.0", | ||
"glob-hasher-darwin-x64": "1.3.0", | ||
"glob-hasher-linux-x64-gnu": "1.3.0", | ||
"glob-hasher-darwin-arm64": "1.3.0", | ||
"glob-hasher-win32-arm64-msvc": "1.3.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
25164
374