New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

glob-hasher

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glob-hasher - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

5

index.d.ts

@@ -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

3

index.js

@@ -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

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