') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Bump csharpier and husky by dependabot[bot] · Pull Request #42 · ptr727/LanguageTags · GitHub
Skip to content

Bump csharpier and husky - #42

Merged
github-actions[bot] merged 1 commit into
developfrom
dependabot/nuget/dot-config/develop/nuget-deps-c72c7bc702
Nov 14, 2025
Merged

Bump csharpier and husky#42
github-actions[bot] merged 1 commit into
developfrom
dependabot/nuget/dot-config/develop/nuget-deps-c72c7bc702

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubNov 14, 2025

Copy link
Copy Markdown
Contributor

Updated csharpier from 1.1.2 to 1.2.1.

Release notes

Sourced from csharpier's releases.

1.2.1

What's Changed

Multiline comments are now formatted in a single line in XML format #​1747

The 1.2.0 release was combining xml comments into a single line.

<!-- input & expected output -->
<Root>
<!-- This is the first line comment--><!-- This is the second line of my comment-->
</Root>
<!-- 1.2.0 -->
<Root>
<!-- This is the first line comment--><!-- This is the second line of my comment-->
</Root>

Full Changelog: belav/csharpier@1.2.0...1.2.1

1.2.0

What's Changed

Custom XML Parser #​1679

CSharpier now has a custom xml parser. XmlDocument and XDocument do not provide the original white space or the original attribute values from the file that was parsed which blocked the ability to implement supporting keeping empty new lines and not automatically encoding attributes.

Support for keeping empty lines in xml files #​1599

CSharpier now supports keeping a single empty line between elements in xml files. It will remove any initial or trailing empty lines.

<!-- input -->
<Root>
<Element />
<Element />
</Root>
<!-- expected output -->
<Root>
<Element />
<Element />
</Root>
<!-- 1.1.2 -->
<Root>
<Element />
<Element />
</Root>

Xml - don't automatically encode attribute values #​1610

CSharpier will no longer encode attribute values. It will leave them encoded if they are supplied that way.

<!-- input & expected output -->
<TargetName="Transform"BeforeTargets="Build">
<MessageImportance="high"Text="@(MyItems->'MyItems has %(Identity)', ', ')" />
</Target>
<!-- 1.1.2 -->
<TargetName="Transform"BeforeTargets="Build">
<MessageImportance="high"Text="@(MyItems-&gt;'MyItems has %(Identity)', ', ')" />
</Target>

Add option to all integrations to report incorrect formatting as a warning instead of error #​1687

Formatting "using" import split on multiple lines requires formatting it twice to get the expected result #​1698

When a using contained a newline before the namespace it was not being sorted properly.

// inputusingSystem.Net;using
...(truncated)Commits viewable in[compareview](https://github.com/belav/csharpier/compare/1.1.2...1.2.1).</details>Updated[husky](https://github.com/alirezanet/husky.net) from 0.7.2 to 0.8.0.<details><summary>Release notes</summary>_Sourcedfrom[husky's releases](https://github.com/alirezanet/husky.net/releases)._
## 0.8.0
## What's Changed
* Add net10 support by @​xanth in https://github.com/alirezanet/Husky.Net/pull/138* Bugfix: Set a default value for FilteringRule when it’s not specified in the configuration.
## New Contributors
* @​xanth made their first contributioninhttps://github.com/alirezanet/Husky.Net/pull/138**Full Changelog**:https://github.com/alirezanet/Husky.Net/compare/v0.7.2...v0.8.0Commits viewable in[compare view](https://github.com/alirezanet/husky.net/compare/v0.7.2...v0.8.0).</details>
Dependabot will resolve any conflicts withthis PR aslongas you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.[//]: # (dependabot-automerge-start)[//]: # (dependabot-automerge-end)---<details><summary>Dependabot commands and options</summary><br />You can trigger Dependabot actions by commenting on thisPR:- `@dependabot rebase` will rebase thisPR- `@dependabot recreate` will recreate thisPR,overwritingany edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen thisPRif it is closed
- `@dependabot close` will close thisPRand stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close thisgroupupdate PR and stop Dependabot creating any more for the specific dependency's major version (unlessyou unignore thisspecificdependency's major version or upgrade to it yourself)- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name><ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
</details>

Bumps csharpier from 1.1.2 to 1.2.1
Bumps husky from 0.7.2 to 0.8.0
---
updated-dependencies:
- dependency-name: csharpier
dependency-version: 1.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: nuget-deps
- dependency-name: husky
dependency-version: 0.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: nuget-deps
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Nov 14, 2025
@github-actions
github-actionsBot merged commit 730e85f into developNov 14, 2025
3 checks passed
@dependabot
dependabotBot deleted the dependabot/nuget/dot-config/develop/nuget-deps-c72c7bc702 branch November 14, 2025 02:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file.NETPull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants