design-system
design-system copied to clipboard
fix(deps): update dependency iframe-resizer to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| iframe-resizer (source) | 4.4.5 -> 5.4.6 |
Release Notes
davidjbradshaw/iframe-resizer (iframe-resizer)
v5.4.6
What's Changed
- Added
onBeforeResize()method to child page in https://github.com/davidjbradshaw/iframe-resizer/pull/1445 - Recommend setting
automode when parent page is running legacy version in https://github.com/davidjbradshaw/iframe-resizer/pull/1450 - Added warning when
autoResize()is called, whendirectionis set tononein https://github.com/davidjbradshaw/iframe-resizer/pull/1451 - Log list of overflown elements when overflow observed in https://github.com/davidjbradshaw/iframe-resizer/pull/1452
What's Fixed
- Fixed Vue import of auto-console-group in https://github.com/davidjbradshaw/iframe-resizer/pull/1448
- Fixed child page
resize()method whenautoResizeis set tofalsein https://github.com/davidjbradshaw/iframe-resizer/pull/1449
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.4.5...v5.4.6
v5.4.5
What's Changed
- Added: Turn on logging from browser location bar in https://github.com/davidjbradshaw/iframe-resizer/pull/1438
What's Fixed
- Fixed: Prevent Vue iframe being closed via iframe-resizer API in https://github.com/davidjbradshaw/iframe-resizer/pull/1428
- Fixed: Sandbox error message, when iframe becomes undefined in https://github.com/davidjbradshaw/iframe-resizer/pull/1429
- Fixed: Update Parent and React typings in https://github.com/davidjbradshaw/iframe-resizer/pull/1431
- Fixed: Replace replaceAll with replace in https://github.com/davidjbradshaw/iframe-resizer/pull/1433
- Fixed: Type check on
autoResize()method in https://github.com/davidjbradshaw/iframe-resizer/pull/1437 - Fixed: Prevent double firing of
parentPropswhen first requested in https://github.com/davidjbradshaw/iframe-resizer/pull/1439 - Fixed: Disable
parentPropsupdates when iframe loads new page in https://github.com/davidjbradshaw/iframe-resizer/pull/1440 - Fixed: Add attributes to mutationObserver in https://github.com/davidjbradshaw/iframe-resizer/pull/1441
- Fixed: CJS imports for React and Vue versions in https://github.com/davidjbradshaw/iframe-resizer/pull/1443
- Fixed: Delay initialisation when
readyStateisloadingin https://github.com/davidjbradshaw/iframe-resizer/pull/1444
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.4.4...v5.4.5
v5.4.4
What's Changed
- Added:
expanded/collapsedlog options in https://github.com/davidjbradshaw/iframe-resizer/pull/1421 - Added: auto-console-group to React version in https://github.com/davidjbradshaw/iframe-resizer/pull/1424
What's Fixed
- Fixed: Reconnecting to a previously disconnected iframe in https://github.com/davidjbradshaw/iframe-resizer/pull/1427
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.4.3...v5.4.4
v5.4.3
What's Changed
- Added: Type assertions to API methods in https://github.com/davidjbradshaw/iframe-resizer/pull/1417
What's Fixed
- Fixed: Check
matchMedia()is available for test frameworks that only partially mockwindowin https://github.com/davidjbradshaw/iframe-resizer/pull/1418 - Fixed: NextJS compiler issues in https://github.com/davidjbradshaw/iframe-resizer/pull/1414
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.4.1...v5.4.3
v5.4.2
What's Changed
This release replaces the logging code with Auto-Console-Group, which automatically groups messages by triggering event and makes it much clearer to see what is happening inside iframe-resizer.
Additionally iframe-resizer now has an option to tag elements to be ignored when calculating the size of the iframe content.
- Added: Auto-Console-Group in https://github.com/davidjbradshaw/iframe-resizer/pull/1389
- Added:
data-iframe-ignoreattribute in https://github.com/davidjbradshaw/iframe-resizer/pull/1397 - Added:
ignoreSelectoroption in https://github.com/davidjbradshaw/iframe-resizer/pull/1398 - Added:
parentIframe.setOffsetSize()method in https://github.com/davidjbradshaw/iframe-resizer/pull/1400
What's fixed
- Fix: Exclude hidden elements from the Set of overflown elements in https://github.com/davidjbradshaw/iframe-resizer/pull/1403
- Fix: Only enable mouse event listeners when required in https://github.com/davidjbradshaw/iframe-resizer/pull/1396
- Fix: Repopulate overflown and tagged element Sets after observed mutation.
Thanks to Kévin Berthommier and Wouter for their help with this release.
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.3.3...v5.4.2
v5.4.1
v5.4.0
v5.3.3
What's Changed
- Add: New child method
getParentOrigin()in https://github.com/davidjbradshaw/iframe-resizer/pull/1352 - Add: Warning if Quirks Mode is detected in https://github.com/davidjbradshaw/iframe-resizer/pull/1381
- Fix: Parent types to include
disconnect,idandlogby @dackmin in https://github.com/davidjbradshaw/iframe-resizer/pull/1379 - Fix: Null Reference error in perfObserver in https://github.com/davidjbradshaw/iframe-resizer/pull/1376
Thank you to @dackmin for submitting a fix for the parent types.
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.3.2...v5.3.3
v5.3.2
What's Changed
- Fixed: Return typing of
parentIframe.getParentProps()tofunction voidby @MarekBodingerBA in https://github.com/davidjbradshaw/iframe-resizer/pull/1351
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.3.1...v5.3.2
v5.3.1
What's Changed
- Enable scroll methods to scroll uncontrolled parent iframe in https://github.com/davidjbradshaw/iframe-resizer/pull/1334
- Improved performance of observed changes in OverflowObserver in https://github.com/davidjbradshaw/iframe-resizer/pull/1335
- Log overflow/tagged node every time it is used to calculate size in https://github.com/davidjbradshaw/iframe-resizer/pull/1336
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.3.0...v5.3.1
v5.3.0
What's Changed
This release of iframe-resizer has focused on the final few areas where performance could be further improved, with the aim that, even with the most complex pages; size changes are detected, calculated and dispatched from the iframe in under 1ms. Setting the log: true option will now measure and display this time.
In tests with Google Chrome on an M1 Mac, the examples page of the iframe-resizer website average around 0.3ms. The logging has been left on if you would like to see the results on your own system.
Performance
- Moved resize event throttle to capture all triggering events in https://github.com/davidjbradshaw/iframe-resizer/pull/1326
- Refactored several
forEach()statements tofor...ofin https://github.com/davidjbradshaw/iframe-resizer/pull/1329 - Prevent
pageInfobeing double fired on parent page in https://github.com/davidjbradshaw/iframe-resizer/pull/1321 - Optimised
resizerObserverssetup in https://github.com/davidjbradshaw/iframe-resizer/pull/1325 - Display content size calculation time in https://github.com/davidjbradshaw/iframe-resizer/pull/1332
Changed
- Isolate parent/child when messages passed via same-domain in https://github.com/davidjbradshaw/iframe-resizer/pull/1319
- Use
setTimeout(0)on event callbacks with void return type in https://github.com/davidjbradshaw/iframe-resizer/pull/1324 - Added Sandbox settings check to timeout warning in https://github.com/davidjbradshaw/iframe-resizer/pull/1328
React
- Remove npm dependency for
Warningpackage in https://github.com/davidjbradshaw/iframe-resizer/pull/1327
Angular
Fixes
- Corrected case of child settings object in https://github.com/davidjbradshaw/iframe-resizer/pull/1318
- Disable
parentPropswhen requested to turn off stream in https://github.com/davidjbradshaw/iframe-resizer/pull/1331
Huge thanks to @bjornoss for his work on the new Angular Directive.
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.2.6...v5.3.0
v5.2.6
What's Changed
- Fix: jQuery plugin init in https://github.com/davidjbradshaw/iframe-resizer/pull/1317
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.2.5...v5.2.6
v5.2.5
What's Changed
- Add: Check for child script being loaded more than once in https://github.com/davidjbradshaw/iframe-resizer/pull/1312
- Fix: Detection of inserted elements flowed outside of document body in https://github.com/davidjbradshaw/iframe-resizer/pull/1315
- Fix: False positive hidden iframe detection when HTML element is zero height in https://github.com/davidjbradshaw/iframe-resizer/pull/1313
Thanks to @Gamerweazel for help with this release.
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.2.3...v5.2.5
v5.2.4
What's Changed
This release fixes a couple of bugs listed below and also provides a further performance improvement when handling observed mutations in the iframe's contents.
- Fix: Check Element type, before adding Observers https://github.com/davidjbradshaw/iframe-resizer/pull/1304
- Fix: autoResize(true) in https://github.com/davidjbradshaw/iframe-resizer/pull/1305
Thanks to @Smoles and @KhoiUna for help with testing this release.
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.2.3...v5.2.4
v5.2.3
What's Changed
- Fix: Babel config for React build in https://github.com/davidjbradshaw/iframe-resizer/pull/1301
- Fix: Allow React to set
log: truein https://github.com/davidjbradshaw/iframe-resizer/pull/1300 - Added: Legacy wrapper package in https://github.com/davidjbradshaw/iframe-resizer/pull/1290
Full Changelog: https://github.com/davidjbradshaw/iframe-resizer/compare/v5.2.1...v5.2.3
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Europe/Zurich, 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.