Skip to content

fix(deps): update dependency dom-to-image-more to v3#48

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/dom-to-image-more-3.x
Open

fix(deps): update dependency dom-to-image-more to v3#48
renovate[bot] wants to merge 1 commit intomainfrom
renovate/dom-to-image-more-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 28, 2023

This PR contains the following updates:

Package Change Age Confidence
dom-to-image-more 2.16.03.7.2 age confidence

Release Notes

1904labs/dom-to-image-more (dom-to-image-more)

v3.7.2: - Fix offscreen iframe

Compare Source

Create temporary iframe off-screen Fixes #​214

Full Changelog: 1904labs/dom-to-image-more@v3.7.1...v3.7.2

v3.7.1: Responsive image, sizing, and fetching enhancements

Compare Source

What's Changed
  • Now strips srcset, sizes, and loading attributes from the clone and sets the src from the original's currentSrc so we get the image the browser chose to display (fixes #​212)
  • Calculates the size in toSVG correctly based on the original node being cloned (fixes #​207)
  • Handle response status code 0 by @​kasimtan in #​211 (fixes #​196)
  • Fixed #​162
New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.6.3...v3.7.1

v3.6.3

Compare Source

  • Added support for whitespace inside css url() references in inliner
  • Addressed the CodeQL performance complaint on that regex

Full Changelog: 1904labs/dom-to-image-more@v3.6.1...v3.6.3

v3.6.0: - Adding style property filtering and fix url inlining

Compare Source

What's Changed

  • Add option to filter style properties
  • Corrects problems with css url() inlining base
  • Bump prettier to 3.5.3
  • Bump semver to 7.7.1
  • Lint cleaning
  • Refreshed control images for unit tests

New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.4.5...v3.5.0

v3.5.0

Compare Source

What's Changed
  • Now wraps the generated image in an SVG to ensure that Safari renders correctly
  • Bump cookie and socket.io by @​dependabot in #​193

Full Changelog: 1904labs/dom-to-image-more@v3.4.5...v3.5.0

v3.4.5

Compare Source

What's Changed
  • Attempt fixing #​189 by swapping the preference from global then window to window then global in getWindow() method.
  • Fix URL regex rules, solving most font icon URL replacement issues by @​SeanZhang-eaton in #​188 (might fix #​15 and #​149)
New Contributors
Notes

Sorry for the churn lately, trying to balance two fixes that seem to be mutually exclusive, and I only have a reproduction test of one of them.

Full Changelog: 1904labs/dom-to-image-more@v3.4.4...v3.4.5

v3.4.4: Browser incompatibilities

Compare Source

What's Changed
  • Fix browser incompatibilities introduced during the ShadowDOM changes.
  • Update README.md with adjustClonedNode and onclone options by @​juliendorra in #​186
  • Fix code block typo README.md by @​juliendorra in #​187
New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.4.3...v3.4.4

v3.4.3

Compare Source

Fixed ShadowDom node rendering (again).

Fixed typo in the check for shadow DOM nodes having children and reverted to the 'cssStyles' in node of property test.

Full Changelog: 1904labs/dom-to-image-more@v3.4.2...v3.4.3

v3.4.2: Switch to Object.hasOwn for property checks.

Compare Source

v3.4.1: Revert part of PR 179

Compare Source

Hopefully fixes #​184

v3.4.0

Compare Source

What's Changed
Fixes
  • Fix for ShadowSlotElement nodes with no assignedNodes to fall back to childNodes. Also fixed some more node.js compatibility (fixes #​178 thanks @​cWenyu).
New feature

Passing disableEmbedFonts: true in the options to any top-level call will make the generated (and intermediate) SVG not copy in the web font, greatly reducing the size and increasing the speed of the generation. Note, for toSVG outputs, you will have to still have the ability to reference the fonts.

Housekeeping
  • Updated spec images to match current Chrome output.
  • Added code to unit-test so emitted debug string when there's a SVG output it is properly escaped.
  • Bumped dev dependencies for mocha 10.7.3 and eslint 9.9.0.
New Contributors

@​cWenyu @​davidburns573 @​YujiaCheng1996

Full Changelog: 1904labs/dom-to-image-more@v3.3.1...v3.4.0

v3.3.1

Compare Source

What's Changed
New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.3.0...v3.3.1

What's Changed
New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.3.0...v3.3.1

v3.3.0: Add adjustClonedNode and useCredentialsFilters

Compare Source

What's Changed

  • Expose ability to adjust the cloned node before generating image via adjustClonedNode option. by @​IDisposable in #​164

  • Add ability to select what external resources require useCredentials via listing URLs in useCredentialsFilters option by @​TMMSchmit in #​156

  • Bumps dev packages up to current

  • Cleaned a bit of lint

adjustClonedNode Hook

You may now specify a call-back to be invoked on each node as we clone them so you can adjust the nodes in any way needed before the conversion. The handler is passed in the options as adjustClonedNode which is a function that gets the original node, the cloned node, and a boolean that says if we've cloned the children already (so you can handle either before or after)

Sample use (with this package source inlined) in this fiddle:

const adjustClone = (node, clone, after) => {
  if (!after && clone.id === 'element') {
    clone.style.transform = 'translateY(100px)';
  }
  return clone;                   
}

const wrapper = document.getElementById('wrapper');
const blob =  domtoimage.toBlob(wrapper, { adjustClonedNode: adjustClone});
useCredentialsFilters URL list

Added a new option useCredentialsFilters which will take a string/Regex array and only share the credentials with the URLs that match an entry in this array. This helps avoid CORS errors.

Full Changelog: 1904labs/dom-to-image-more@v3.2.0...v3.3.0

v3.2.0: 3.2.0 - Add support for options.corsImg

Compare Source

Now supports passing an optional options member corsImg that proxies all images through a service proxy.
You configure this option with an object that supplies the proxy handler's url, the method (e.g. 'GET' or 'POST'), a headers collection, and a POST payload data. For the headers and the url, an instance of the exact string '#{cors}' will be replaced by the original url to be fetched.

What's Changed

New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.1.6...v3.2.0

v3.1.6: More rollup bundling fixes

Compare Source

Fixes

  • Reformatted to match prettier's settings.
  • Rollup bundling errors Fixes #​133

Since rollup sees all imports as modules it replaces this with undefined when evaluating the IFE that dom-to-image-more's source exists as. This leads to errors from rollup that are not actually a problem. Found an incantation that rollup won't break with.

Full Changelog*: 1904labs/dom-to-image-more@v3.1.5...v3.1.6

v3.1.5

Compare Source

What's Changed

  • fix(ELEMENT_NODE) - avoid error when Node is undefined by @​nstuyvesant in #​132
  • update resolution to use global, window, and globalThis in that order for getComputedStyle and atob

New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.1.4...v3.1.5

v3.1.4: - CORS Documentation updates

Compare Source

What's Changed

New Contributors

Full Changelog: 1904labs/dom-to-image-more@v3.1.1...v3.1.4

v3.1.3

Compare Source

v3.1.2

Compare Source

v3.1.1: Fix Firefox image issues and reduce console warnings.

Compare Source

What's Changed

Full Changelog: 1904labs/dom-to-image-more@v3.1.0...v3.1.1

v3.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: 1904labs/dom-to-image-more@v2.15.0...v3.1.0


Configuration

📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Jun 28, 2023
@vercel
Copy link
Contributor

vercel bot commented Jun 28, 2023

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
amairo-dev Ready Ready Preview, Comment Mar 13, 2026 3:44pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
amairo-dev-fizzbuzz Ignored Ignored Preview Mar 13, 2026 3:44pm
amairo-dev-poker Skipped Skipped Mar 13, 2026 3:44pm

@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 7cc8dba to 5540854 Compare September 23, 2023 12:16
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 5540854 to 48e0c53 Compare October 3, 2023 01:38
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 48e0c53 to aa59092 Compare February 14, 2024 20:04
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from aa59092 to 90b392d Compare July 29, 2024 21:49
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 90b392d to 2e11abb Compare August 22, 2024 01:08
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 2e11abb to 9e6f733 Compare August 26, 2024 22:38
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 9e6f733 to 8b8b9d3 Compare August 30, 2024 02:09
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 8b8b9d3 to 0cbb503 Compare September 11, 2024 22:41
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 0cbb503 to 124f532 Compare September 13, 2024 23:01
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 124f532 to cdd9ae5 Compare October 19, 2024 05:28
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from cdd9ae5 to 24ac49e Compare November 5, 2024 18:42
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 24ac49e to fc8310b Compare November 6, 2024 18:39
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 0a41860 to 8266b6c Compare August 10, 2025 03:08
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker August 10, 2025 03:08 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 8266b6c to 46ff9b4 Compare August 20, 2025 16:01
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker August 20, 2025 16:02 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 46ff9b4 to 533828d Compare November 2, 2025 11:40
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker November 2, 2025 11:40 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 533828d to 3186ff9 Compare December 5, 2025 08:10
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker December 5, 2025 08:10 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 3186ff9 to a0b4ce0 Compare December 31, 2025 14:38
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker December 31, 2025 14:38 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from a0b4ce0 to ea27628 Compare January 22, 2026 09:06
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker January 22, 2026 09:06 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from ea27628 to 09623e8 Compare February 12, 2026 15:35
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker February 12, 2026 15:35 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 09623e8 to 30cd675 Compare February 17, 2026 19:08
@vercel vercel bot temporarily deployed to Preview – amairo-dev-poker February 17, 2026 19:08 Inactive
@renovate renovate bot force-pushed the renovate/dom-to-image-more-3.x branch from 30cd675 to c898046 Compare March 7, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants