@iframe-resizer/react
Advanced tools
Comparing version
/*! | ||
* @preserve | ||
* | ||
* @module iframe-resizer/react 5.4.5-beta.4 (cjs) - 2025-04-10 | ||
* @module iframe-resizer/react 5.4.5-beta.5 (cjs) - 2025-04-10 | ||
* | ||
@@ -77,8 +77,12 @@ * @license GPL-3.0 for non-commercial use only. | ||
}; | ||
consoleGroup.touch(); | ||
consoleGroup.label(`react(${iframe.id})`); | ||
consoleGroup.event('setup'); | ||
const resizer = connectResizer(resizerOptions)(iframe); | ||
consoleGroup.expand(resizerOptions.logExpand); | ||
consoleGroup.label(`react(${iframe.id})`); | ||
consoleGroup.event('setup'); | ||
if (rest.log) consoleGroup.log('Created React competent'); | ||
return () => resizer?.disconnect(); | ||
return () => { | ||
consoleGroup.endAutoGroup(); | ||
resizer?.disconnect(); | ||
}; | ||
}, []); // eslint-disable-line react-hooks/exhaustive-deps | ||
@@ -85,0 +89,0 @@ |
/*! | ||
* @preserve | ||
* | ||
* @module iframe-resizer/react 5.4.5-beta.4 (esm) - 2025-04-10 | ||
* @module iframe-resizer/react 5.4.5-beta.5 (esm) - 2025-04-10 | ||
* | ||
@@ -75,8 +75,12 @@ * @license GPL-3.0 for non-commercial use only. | ||
}; | ||
consoleGroup.touch(); | ||
consoleGroup.label(`react(${iframe.id})`); | ||
consoleGroup.event('setup'); | ||
const resizer = connectResizer(resizerOptions)(iframe); | ||
consoleGroup.expand(resizerOptions.logExpand); | ||
consoleGroup.label(`react(${iframe.id})`); | ||
consoleGroup.event('setup'); | ||
if (rest.log) consoleGroup.log('Created React competent'); | ||
return () => resizer?.disconnect(); | ||
return () => { | ||
consoleGroup.endAutoGroup(); | ||
resizer?.disconnect(); | ||
}; | ||
}, []); // eslint-disable-line react-hooks/exhaustive-deps | ||
@@ -83,0 +87,0 @@ |
{ | ||
"name": "@iframe-resizer/react", | ||
"version": "5.4.5-beta.4", | ||
"version": "5.4.5-beta.5", | ||
"license": "GPL-3.0", | ||
@@ -47,5 +47,5 @@ "homepage": "https://iframe-resizer.com", | ||
"@babel/runtime": "^7.27.0", | ||
"@iframe-resizer/core": "5.4.5-beta.4", | ||
"auto-console-group": "1.2.5" | ||
"@iframe-resizer/core": "5.4.5-beta.5", | ||
"auto-console-group": "1.2.6" | ||
} | ||
} |
@@ -25,2 +25,2 @@ [<img src="https://iframe-resizer.com/logo-full.svg" alt="" title="" style="margin-bottom: -20px">](https://iframe-resizer.com) | ||
_iframe-resizer version 5.4.5-beta.4 2025-04-10 - 11:13:06.588Z_ | ||
_iframe-resizer version 5.4.5-beta.5 2025-04-10 - 13:03:40.935Z_ |
42385
0.36%263
3.14%82
1.23%+ Added
+ Added
- Removed
- Removed
Updated