Skip to content

Commit bcfe19a

Browse files
authored
chore(deps): update dependencies (#4099)
- bump eslint-plugin-cypress from 2.13.2 to 2.13.3 - bump @babel/runtime from 7.21.0 to 7.21.5 - bump react-resize-detector from 8.1.0 to 9.1.0 Closes #4086 Closes #4084 Closes #4083
1 parent 0cb0f87 commit bcfe19a

File tree

4 files changed

+26
-34
lines changed

4 files changed

+26
-34
lines changed

package-lock.json

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@asyncapi/openapi-schema-parser": "^2.0.3",
5454
"@asyncapi/parser": "^1.18.1",
5555
"@asyncapi/react-component": "^1.0.0-next.44",
56-
"@babel/runtime": "^7.20.13",
56+
"@babel/runtime": "^7.21.5",
5757
"@braintree/sanitize-url": "^6.0.2",
5858
"@emotion/react": "^11.10.8",
5959
"@emotion/styled": "^11.10.5",
@@ -87,7 +87,7 @@
8787
"react-dropzone": "^14.2.3",
8888
"react-immutable-proptypes": "^2.2.0",
8989
"react-modal": "^3.16.1",
90-
"react-resize-detector": "^8.0.3",
90+
"react-resize-detector": "^9.1.0",
9191
"react-table": "^7.8.0",
9292
"reselect": "^4.1.7",
9393
"short-unique-id": "^4.4.4",
@@ -110,7 +110,7 @@
110110
"cypress-file-upload": "^5.0.8",
111111
"eslint-config-airbnb": "^19.0.4",
112112
"eslint-config-prettier": "^8.8.0",
113-
"eslint-plugin-cypress": "^2.13.2",
113+
"eslint-plugin-cypress": "^2.13.3",
114114
"eslint-plugin-prettier": "^4.2.1",
115115
"https-browserify": "^1.0.0",
116116
"husky": "^8.0.3",

src/plugins/editor-textarea/hooks.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export const useElementResize = ({ eventName }) => {
2929
);
3030
const { ref } = useResizeDetector({
3131
onResize: handleResize,
32+
refreshMode: 'debounce',
33+
refreshRate: 0,
3234
});
3335

3436
return ref;

test/cypress/support/commands.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,6 @@
2727
import '@testing-library/cypress/add-commands.js';
2828
import 'cypress-file-upload';
2929

30-
/**
31-
* This is related to `react-resize-detector` library usage.
32-
* For more information why this is here follow this link:
33-
* https://stackoverflow.com/questions/49384120/resizeobserver-loop-limit-exceeded
34-
*/
35-
Cypress.on(
36-
'uncaught:exception',
37-
(err) => !err.message.includes('ResizeObserver loop limit exceeded')
38-
);
39-
4030
Cypress.on('window:before:load', (win) => {
4131
cy.stub(win.console, 'error', (msg) => {
4232
cy.now('task', 'error', msg);

0 commit comments

Comments
 (0)