') + ')', '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); } })(); })(); build(deps): bump pillow from 9.5.0 to 10.4.0 by dependabot[bot] · Pull Request #540 · LizardByte/RetroArcher · GitHub
Skip to content
This repository was archived by the owner on Oct 13, 2024. It is now read-only.

build(deps): bump pillow from 9.5.0 to 10.4.0 - #540

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/pillow-10.4.0
Open

build(deps): bump pillow from 9.5.0 to 10.4.0#540
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/pillow-10.4.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubJul 1, 2024

Copy link
Copy Markdown
Contributor

Bumps pillow from 9.5.0 to 10.4.0.

Release notes

Sourced from pillow's releases.

10.4.0

https://pillow.readthedocs.io/en/stable/releasenotes/10.4.0.html

Changes

... (truncated)

Changelog

Sourced from pillow's changelog.

10.4.0 (2024-07-01)

  • Raise FileNotFoundError if show_file() path does not exist #8178 [radarhere]

  • Improved reading 16-bit TGA images with colour #7965 [Yay295, radarhere]

  • Deprecate non-image ImageCms modes #8031 [radarhere]

  • Fixed processing multiple JPEG EXIF markers #8127 [radarhere]

  • Do not preserve EXIFIFD tag by default when saving TIFF images #8110 [radarhere]

  • Added ImageFont.load_default_imagefont() #8086 [radarhere]

  • Added Image.WARN_POSSIBLE_FORMATS #8063 [radarhere]

  • Remove zero-byte end padding when parsing any XMP data #8171 [radarhere]

  • Do not detect Ultra HDR images as MPO #8056 [radarhere]

  • Raise SyntaxError specific to JP2 #8146 [Yay295, radarhere]

  • Do not use first frame duration for other frames when saving APNG images #8104 [radarhere]

  • Consider I;16 pixel size when using a 1 mode mask #8112 [radarhere]

  • When saving multiple PNG frames, convert to mode rather than raw mode #8087 [radarhere]

  • Added byte support to FreeTypeFont #8141 [radarhere]

  • Allow float center for rotate operations #8114 [radarhere]

  • Do not read layers immediately when opening PSD images #8039 [radarhere]

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any 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 this PR if it is closed
  • @dependabot close will close this PR and 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabotdependabotBot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 1, 2024
@codecov

codecovBot commented Jul 1, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.03%. Comparing base (01d4d90) to head (474b3f4).
Report is 5 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@## master #540 +/- ##
=======================================
Coverage 74.03% 74.03% =======================================
Files 10 10 Lines 905 905 =======================================
Hits 670 670 Misses 235 235 
FlagCoverage Δ
Linux-x6469.61% <ø> (ø)
Windows-x6473.25% <ø> (ø)
Windows-x8673.25% <ø> (ø)
macOS-x6473.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@dependabot
dependabotBotforce-pushed the dependabot/pip/pillow-10.4.0 branch 5 times, most recently from 0a491c3 to effc2f5CompareJuly 15, 2024 17:46
@dependabot
dependabotBotforce-pushed the dependabot/pip/pillow-10.4.0 branch from effc2f5 to 31c76e3CompareJuly 28, 2024 15:18
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.5.0 to 10.4.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@9.5.0...10.4.0)
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/pip/pillow-10.4.0 branch from 31c76e3 to 474b3f4CompareJuly 28, 2024 16:23
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependenciesPull requests that update a dependency filepythonPull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants