@iframe-resizer/react 5.4.5-beta.11 → 5.4.5-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.cjs.js +9 -2
- package/index.esm.js +9 -2
- package/package.json +2 -2
package/README.md
CHANGED
package/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @preserve
|
|
3
3
|
*
|
|
4
|
-
* @module iframe-resizer/react 5.4.5-beta.
|
|
4
|
+
* @module iframe-resizer/react 5.4.5-beta.13 (cjs) - 2025-04-15
|
|
5
5
|
*
|
|
6
6
|
* @license GPL-3.0 for non-commercial use only.
|
|
7
7
|
* For commercial use, you must purchase a license from
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
const _extends = require('@babel/runtime/helpers/extends');
|
|
23
23
|
const connectResizer = require('@iframe-resizer/core');
|
|
24
|
-
const
|
|
24
|
+
const acg = require('auto-console-group');
|
|
25
25
|
const React = require('react');
|
|
26
26
|
|
|
27
27
|
const filterIframeAttribs = props => {
|
|
@@ -50,6 +50,13 @@ const filterIframeAttribs = props => {
|
|
|
50
50
|
return iframeProps;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
+
const esModuleInterop = mod =>
|
|
54
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
55
|
+
mod?.__esModule ? mod.default : mod;
|
|
56
|
+
|
|
57
|
+
// Deal with UMD not converting default exports to named exports
|
|
58
|
+
const createAutoConsoleGroup = esModuleInterop(acg);
|
|
59
|
+
|
|
53
60
|
// TODO: Add support for React.forwardRef() in next major version (Breaking change)
|
|
54
61
|
function IframeResizer(props) {
|
|
55
62
|
// eslint-disable-next-line react/prop-types
|
package/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @preserve
|
|
3
3
|
*
|
|
4
|
-
* @module iframe-resizer/react 5.4.5-beta.
|
|
4
|
+
* @module iframe-resizer/react 5.4.5-beta.13 (esm) - 2025-04-15
|
|
5
5
|
*
|
|
6
6
|
* @license GPL-3.0 for non-commercial use only.
|
|
7
7
|
* For commercial use, you must purchase a license from
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import _extends from '@babel/runtime/helpers/extends';
|
|
21
21
|
import connectResizer from '@iframe-resizer/core';
|
|
22
|
-
import
|
|
22
|
+
import acg from 'auto-console-group';
|
|
23
23
|
import React, { useRef, useEffect, useImperativeHandle } from 'react';
|
|
24
24
|
|
|
25
25
|
const filterIframeAttribs = props => {
|
|
@@ -48,6 +48,13 @@ const filterIframeAttribs = props => {
|
|
|
48
48
|
return iframeProps;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
+
const esModuleInterop = mod =>
|
|
52
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
53
|
+
mod?.__esModule ? mod.default : mod;
|
|
54
|
+
|
|
55
|
+
// Deal with UMD not converting default exports to named exports
|
|
56
|
+
const createAutoConsoleGroup = esModuleInterop(acg);
|
|
57
|
+
|
|
51
58
|
// TODO: Add support for React.forwardRef() in next major version (Breaking change)
|
|
52
59
|
function IframeResizer(props) {
|
|
53
60
|
// eslint-disable-next-line react/prop-types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iframe-resizer/react",
|
|
3
|
-
"version": "5.4.5-beta.
|
|
3
|
+
"version": "5.4.5-beta.13",
|
|
4
4
|
"license": "GPL-3.0",
|
|
5
5
|
"homepage": "https://iframe-resizer.com",
|
|
6
6
|
"author": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@babel/runtime": "^7.27.0",
|
|
47
|
-
"@iframe-resizer/core": "5.4.5-beta.
|
|
47
|
+
"@iframe-resizer/core": "5.4.5-beta.13",
|
|
48
48
|
"auto-console-group": "1.2.9"
|
|
49
49
|
}
|
|
50
50
|
}
|