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

cspell-gitignore

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cspell-gitignore - npm Package Compare versions

Comparing version 8.14.4 to 8.15.0

4

dist/helpers.js

@@ -9,3 +9,5 @@ import * as path from 'node:path';

async function findRepoRoot(directory) {
const found = await findUp('.git', { cwd: directory, type: 'directory' });
const foundDir = (await findUp('.git', { cwd: directory, type: 'directory' })) || '';
const foundFile = (await findUp('.git', { cwd: directory, type: 'file' })) || '';
const found = foundDir.length >= foundFile.length ? foundDir : foundFile;
if (!found)

@@ -12,0 +14,0 @@ return undefined;

{
"name": "cspell-gitignore",
"version": "8.14.4",
"version": "8.15.0",
"description": "Gitignore Glob matcher for cspell",

@@ -37,3 +37,3 @@ "keywords": [

"clean": "shx rm -rf dist temp coverage \"*.tsbuildInfo\"",
"build": "tsc -b . -f",
"build": "tsc -p .",
"clean-build": "pnpm run clean && pnpm run build",

@@ -43,3 +43,3 @@ "coverage": "vitest run --coverage",

"test": "vitest run",
"watch": "tsc -b . -w -f"
"watch": "tsc -p . -w"
},

@@ -58,8 +58,8 @@ "repository": {

"dependencies": {
"@cspell/url": "8.14.4",
"cspell-glob": "8.14.4",
"cspell-io": "8.14.4",
"@cspell/url": "8.15.0",
"cspell-glob": "8.15.0",
"cspell-io": "8.15.0",
"find-up-simple": "^1.0.0"
},
"gitHead": "aeedd49f6ef20799eed04076093291fcacbc4b84"
"gitHead": "60b04562dfa023eede01929d86fa944163c07256"
}
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