Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rc 0.14.0 #88

Merged
merged 2 commits into from
Sep 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "element-size-reporter",
"version": "0.13.2",
"version": "0.14.0",
"description": "Reports width, height, and top for selected DOM elements",
"main": "dist/index.js",
"exports": {
Expand Down Expand Up @@ -65,6 +65,6 @@
},
"dependencies": {},
"engines": {
"node": ">= 16"
"node": ">= 18"
}
}
3 changes: 1 addition & 2 deletions src/tests/unit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { Simple, setMockReporter } from '../fixtures/Simple.jsx';
import createSizeReporter from '../../lib/index.js';

describe('sizeReporter', () => {
let testUtils;

before('sizeReporter', () => {
domStart();
Expand Down Expand Up @@ -130,7 +129,7 @@ describe('sizeReporter', () => {
ReactDOM.createRoot(container).render(element);
});

return result;
return act(() => result);
});
});

Expand Down