You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

cspell-glob

Package Overview
Dependencies
Maintainers
1
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cspell-glob - npm Package Compare versions

Comparing version
9.6.2
to
9.6.3
+8
-8
dist/index.js

@@ -63,3 +63,3 @@ import * as Path from "node:path";

if (typeof glob === "string") return filePathOrGlobToGlob(glob, rootUrl, builder);
const pattern$1 = {
const pattern = {
isGlobalPattern: isGlobalGlob(glob.glob),

@@ -69,5 +69,5 @@ ...glob,

};
fixPatternRoot(pattern$1, builder);
fixPatternGlob(pattern$1, builder);
return pattern$1;
fixPatternRoot(pattern, builder);
fixPatternGlob(pattern, builder);
return pattern;
}

@@ -515,3 +515,3 @@ const pattern = toPattern();

let lastRel = "";
function rootToUrl$1(root) {
function rootToUrl(root) {
const found = mapRoots.get(root);

@@ -530,7 +530,7 @@ if (found) return found;

}
function testRules(rules$1, matched) {
for (const rule of rules$1) {
function testRules(rules, matched) {
for (const rule of rules) {
const pattern = rule.pattern;
const root = pattern.root;
const rootURL = rootToUrl$1(root);
const rootURL = rootToUrl(root);
const isRelPat = !pattern.isGlobalPattern;

@@ -537,0 +537,0 @@ let fname = relFilePathname;

@@ -7,3 +7,3 @@ {

},
"version": "9.6.2",
"version": "9.6.3",
"description": "Glob matcher for cspell",

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

"dependencies": {
"@cspell/url": "9.6.2",
"@cspell/url": "9.6.3",
"picomatch": "^4.0.3"

@@ -71,3 +71,3 @@ },

},
"gitHead": "646e18a04ff36d43f78a74e5055540e0f5297e91"
"gitHead": "500b996b6c0a6ff025c42ef98db44776f43a9e72"
}