Skip to content

Commit

Permalink
fix: Workflow Bot -- Update ALL Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored and github-actions[bot] committed Oct 26, 2024
1 parent c961b71 commit e831091
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 298 deletions.
2 changes: 1 addition & 1 deletion action-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@cspell/cspell-bundled-dicts": "^8.15.4",
"@cspell/cspell-types": "^8.15.4",
"@octokit/webhooks-types": "^7.6.1",
"@types/node": "^20.16.13",
"@types/node": "^20.17.1",
"cspell": "^8.15.4",
"cspell-glob": "^8.15.4",
"vscode-uri": "^3.0.8"
Expand Down
32 changes: 19 additions & 13 deletions action/lib/main_root.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -64984,7 +64984,7 @@ var import_node_fs8 = require("node:fs");
var path19 = __toESM(require("node:path"), 1);
var import_node_path12 = require("node:path");

// ../node_modules/.pnpm/[email protected].9/node_modules/tinyglobby/dist/index.mjs
// ../node_modules/.pnpm/[email protected].10/node_modules/tinyglobby/dist/index.mjs
var import_path2 = __toESM(require("path"), 1);
var import_fdir = __toESM(require_dist3(), 1);
var import_picomatch = __toESM(require_picomatch4(), 1);
Expand Down Expand Up @@ -65054,21 +65054,27 @@ function normalizePattern3(pattern, expandDirectories, cwd, properties, isIgnore
function processPatterns({ patterns, ignore = [], expandDirectories = true }, cwd, properties) {
if (typeof patterns === "string") {
patterns = [patterns];
} else if (!patterns) {
patterns = ["**/*"];
}
if (typeof ignore === "string") {
ignore = [ignore];
}
const matchPatterns = [];
const ignorePatterns = ignore.map((p) => normalizePattern3(p, expandDirectories, cwd, properties, true));
if (!patterns) {
return { match: ["**/*"], ignore: ignorePatterns };
}
for (let pattern of patterns) {
pattern = normalizePattern3(pattern, expandDirectories, cwd, properties, false);
if (pattern.startsWith("!") && pattern[1] !== "(") {
ignorePatterns.push(pattern.slice(1));
} else {
matchPatterns.push(pattern);
const ignorePatterns = [];
for (const pattern of ignore) {
if (!pattern.startsWith("!") || pattern[1] === "(") {
const newPattern = normalizePattern3(pattern, expandDirectories, cwd, properties, true);
ignorePatterns.push(newPattern);
}
}
for (const pattern of patterns) {
if (!pattern.startsWith("!") || pattern[1] === "(") {
const newPattern = normalizePattern3(pattern, expandDirectories, cwd, properties, false);
matchPatterns.push(newPattern);
} else if (pattern[1] !== "!" || pattern[2] === "(") {
const newPattern = normalizePattern3(pattern.slice(1), expandDirectories, cwd, properties, true);
ignorePatterns.push(newPattern);
}
}
return { match: matchPatterns, ignore: ignorePatterns };
Expand Down Expand Up @@ -65104,8 +65110,8 @@ function crawl(options, cwd, sync) {
filters: [(p, isDirectory2) => matcher(processPath(p, cwd, properties.root, isDirectory2, options.absolute))],
exclude: (_, p) => exclude(processPath(p, cwd, properties.root, true, true)),
pathSeparator: "/",
relativePaths: true
// resolveSymlinks: true
relativePaths: true,
resolveSymlinks: true
};
if (options.deep) {
fdirOptions.maxDepth = Math.round(options.deep - properties.depthOffset);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"prettier": "^3.3.3",
"shx": "^0.3.4",
"typescript": "^5.6.3",
"typescript-eslint": "^8.10.0",
"typescript-eslint": "^8.11.0",
"vitest": "^2.1.3"
},
"engines": {
Expand Down
Loading

0 comments on commit e831091

Please sign in to comment.