cspell-gitignore
Advanced tools
Comparing version 8.14.4 to 8.15.0
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26893
630
+ Added@cspell/cspell-service-bus@8.15.0(transitive)
+ Added@cspell/url@8.15.0(transitive)
+ Addedcspell-glob@8.15.0(transitive)
+ Addedcspell-io@8.15.0(transitive)
- Removed@cspell/cspell-service-bus@8.14.4(transitive)
- Removed@cspell/url@8.14.4(transitive)
- Removedcspell-glob@8.14.4(transitive)
- Removedcspell-io@8.14.4(transitive)
Updated@cspell/url@8.15.0
Updatedcspell-glob@8.15.0
Updatedcspell-io@8.15.0