René's URL Explorer Experiment


Title: Bump the minor-and-patch group across 1 directory with 3 updates by dependabot[bot] · Pull Request #74 · DocSpring/logstruct · GitHub

Open Graph Title: Bump the minor-and-patch group across 1 directory with 3 updates by dependabot[bot] · Pull Request #74 · DocSpring/logstruct

X Title: Bump the minor-and-patch group across 1 directory with 3 updates by dependabot[bot] · Pull Request #74 · DocSpring/logstruct

Description: Bumps the minor-and-patch group with 3 updates in the / directory: cspell, jscpd and prettier. Updates cspell from 10.4.1 to 10.5.0 Release notes Sourced from cspell's releases. v10.5.0 Features feat: Skip nested git worktrees by default (#9604) Summary cspell now skips git worktrees inside the root folder, such as .worktrees/feature or .claude/worktrees/feature. A worktree is another checkout of the same repository, often of another branch, so its files are not the files being checked. A new preset in ignorePathPresets, nestedWorktrees, can disable this. Fixes #9515 Feature A repository with a worktree of its feature branch, made with git worktree add worktrees/feature feature: project/ README.md worktrees/ feature/ README.md Before, running cspell in project/ checked both copies of README.md: $ cspell . README.md:3:21 - Unknown word (finshed) fix: (finished) worktrees/feature/README.md:3:21 - Unknown word (finshed) fix: (finished) CSpell: Files checked: 2, Issues found: 2 in 2 files. After, it checks only the repository's own README.md: $ cspell . README.md:3:21 - Unknown word (finshed) fix: (finished) CSpell: Files checked: 1, Issues found: 1 in 1 file. Running cspell in worktrees/feature/ still checks that worktree. To check nested worktrees again: cspell.json ... (truncated) Changelog Sourced from cspell's changelog. 10.4.1: the locale is fr only. English words in the file are reported as unknown. Now: the locales are fr,en again. The fix for comment closers (#9496) and the fix for locales that aren't valid (#9501) still hold. Each of these gives en, or fr,en for the last one, because text after the locales that isn't a locale doesn't become one: /* cspell:locale en*/ cspell:locale fr,en -- the rest A directive's text runs to the end of the line. Before, the locale list was split only on spaces and commas, and the list was cut at the first piece that didn't look like a locale. A piece like en` failed that check, so the list stopped at fr. Now the list ends at the first character that can't be part of a locale or a separator, such as a backtick or */, or at --, as in -->. The rest is then split into pieces, and the list still ends at the first piece that isn't a locale. fix: Make [!…] in globs match characters that are not listed (#9622) Summary A [!…] bracket in a glob now matches any character that is not listed, as it does in git and shell globs. Before, e[!a].txt in .gitignore (with useGitignore) or ignorePaths matched ea.txt and e!.txt and skipped eb.txt, so cspell checked the files you meant to ignore and ignored the files you meant to check. Applies to ignorePaths, .gitignore files read with useGitignore, files, and the filename globs in overrides. [^…] already worked and is unchanged. Fixes #9621 cspell-glob now asks picomatch to read globs in POSIX mode. The only change this makes is that [! starts a negated bracket, like [^. Include mode gets the same fix, so [!a] means the same thing in files and in ignorePaths. ... (truncated) Commits dfdca73 v10.5.0 919de94 chore: Prepare Release v10.5.0 (auto-deploy) (#9559) 44354ed refactor: Deprecate workaroundPicomatchBug, no longer needed (#9613) 115b0ac fix: Check files in a folder whose name starts with a space (#9608) b0f441c fix: Check folders named on the command line with # or a leading space (#9610) c13d384 feat: Skip nested git worktrees by default (#9604) 040ba31 fix: Glob symbols in a config folder's name no longer match other folders (#9... b83797b feat: Add ignorePathPresets and skip git's own files by default (#9600) 914979c fix: allow globs with --file again (#9601) 8a11421 ci: Workflow Bot -- Update ALL Dependencies (main) (#9587) Additional commits viewable in compare view Updates jscpd from 5.4.2 to 5.4.3 Release notes Sourced from jscpd's releases. Release v5.4.3 New Features runJscpd() runs the jscpd binary from Node.js. require("jscpd") and import { runJscpd } from "jscpd" now export runJscpd(args, options). It finds the platform binary the way the jscpd command does and returns the result of spawnSync, so a script no longer starts a second Node.js process to run the command, and tools such as knip see that the script uses jscpd. Where the command prints an error and exits, the function throws an Error with the same message. The types are in index.d.ts. Detection still runs only in the Rust binary, and nothing parses or returns clones in JavaScript. By @​abrahamguo. (#1238) The HTML report shows both fragments of a clone and highlights the code. "Show code" used to open only the first fragment. Now it opens both side by side, or one above the other on a narrow screen, each under its file with line numbers in a gutter, and a long line scrolls inside its pane. The report highlights the code with Prism 1.30.0 again, as the v4 report did, and inlines only the languages it shows. A block inside another file, such as guide.md:typescript, keeps the lines that detection gives it. (#1263, #1265) Bug Fixes The GitHub Action installed the newest jscpd, whatever ref you pinned. The version input defaulted to latest, so kucherenko/jscpd@v5.4.1 installed 5.4.2 once it came out. Now an empty version installs the release that the action's own ref belongs to, so pinning the action pins jscpd, and a Dependabot bump of the action updates both. version: latest still installs the newest release. This works from v5.4.3 on: older tags still install the newest jscpd. Reported by @​dannystaple, fixed by @​sarankumar1325. (#1240, #1249) A /* or // inside a JS or TS string ended a jscpd:ignore region. The tokenizer looked for the markers with a byte scan that took every /* and // for a comment, so 'a /* b' inside a marked region opened a comment that ran to the end marker, and the code after the string came back as clones. The markers are now found by their text, as in the other languages, so a region runs from jscpd:ignore-start to the next jscpd:ignore-end. Markers inside template literals, such as the CSS of a styled component, keep working. Reported by @​bauchdj, fixed by @​sarankumar1325. (#1257, #1258) "Ignore this clone" in the language server broke JSX. It wrote // jscpd:ignore-start among JSX children, where the page shows it as text, and could put a marker inside a tag, such as < /* jscpd:ignore-end *//ul>, which TypeScript can't parse. Now it writes {/* jscpd:ignore-start */} among children and never puts a marker inside a tag. The start goes before the tag and the end after it, so the region still covers the clone. Each copy of a --cross-formats clone gets the comment of its own format, JSX in the