@iframe-resizer/react 5.2.5 → 5.2.6

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 CHANGED
@@ -22,4 +22,4 @@ yarn add @iframe-resizer/react
22
22
 
23
23
  ---
24
24
 
25
- _iframe-resizer version 5.2.5 2024-08-22 - 16:41:12.233Z_
25
+ _iframe-resizer version 5.2.6 2024-08-22 - 18:01:31.031Z_
package/index.cjs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @preserve
3
3
  *
4
- * @module iframe-resizer/react 5.2.5 (cjs) - 2024-08-22
4
+ * @module iframe-resizer/react 5.2.6 (cjs) - 2024-08-22
5
5
  *
6
6
  * @license GPL-3.0 for non-commercial use only.
7
7
  * For commercial use, you must purchase a license from
@@ -24,7 +24,7 @@ const connectResizer = require('@iframe-resizer/core');
24
24
  const React = require('react');
25
25
  const warning = require('warning');
26
26
 
27
- const filterIframeAttribs = (props => {
27
+ const filterIframeAttribs = props => {
28
28
  const {
29
29
  license,
30
30
  bodyBackground,
@@ -48,7 +48,7 @@ const filterIframeAttribs = (props => {
48
48
  ...iframeProps
49
49
  } = props;
50
50
  return iframeProps;
51
- });
51
+ };
52
52
 
53
53
  function IframeResizer(props) {
54
54
  // 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.2.5 (esm) - 2024-08-22
4
+ * @module iframe-resizer/react 5.2.6 (esm) - 2024-08-22
5
5
  *
6
6
  * @license GPL-3.0 for non-commercial use only.
7
7
  * For commercial use, you must purchase a license from
@@ -22,7 +22,7 @@ import connectResizer from '@iframe-resizer/core';
22
22
  import React, { useRef, useEffect, useImperativeHandle } from 'react';
23
23
  import warning from 'warning';
24
24
 
25
- const filterIframeAttribs = (props => {
25
+ const filterIframeAttribs = props => {
26
26
  const {
27
27
  license,
28
28
  bodyBackground,
@@ -46,7 +46,7 @@ const filterIframeAttribs = (props => {
46
46
  ...iframeProps
47
47
  } = props;
48
48
  return iframeProps;
49
- });
49
+ };
50
50
 
51
51
  function IframeResizer(props) {
52
52
  // 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.2.5",
3
+ "version": "5.2.6",
4
4
  "license": "GPL-3.0",
5
5
  "homepage": "https://iframe-resizer.com",
6
6
  "author": {
@@ -43,8 +43,8 @@
43
43
  "react"
44
44
  ],
45
45
  "dependencies": {
46
- "@babel/runtime": "^7.25.0",
47
- "@iframe-resizer/core": "5.2.5",
46
+ "@babel/runtime": "^7.25.4",
47
+ "@iframe-resizer/core": "5.2.6",
48
48
  "warning": "^4.0.3"
49
49
  }
50
50
  }