Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
klimashkin committed Jan 24, 2023
1 parent c907d52 commit c151db0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Change Log

### 3.0.0 (2023-01-23)
- Make the observable update asynchronous by default, to prevent "ResizeObserver loop limit exceeded" error.
- Add `sync` option to get to old behavior
- Add es2020, es2021, and es2022 targets
- Update dependencies
- Require React 17 | 18 in peer dependecies
- Require Node.js 16 for building

### 2.1.2 (2021-03-19)
- Include React 17+ in peer dependecies
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-size-watcher",
"version": "2.1.2",
"version": "3.0.0",
"author": "Pavel Klimashkin",
"description": "Leverage ResizeObserver to add breakpoints to your component and track its size",
"homepage": "https://github.com/klimashkin/react-size-watcher",
Expand Down Expand Up @@ -85,7 +85,7 @@
"build:es12-min": "cross-env BUILD_MODE=es2021-min webpack",
"build:es13": "cross-env BUILD_MODE=es2022 webpack",
"build:es13-min": "cross-env BUILD_MODE=es2022-min webpack",
"build": "npm run build:umd && npm run build:umd-min && npm run build:es6 && npm run build:es6-min && npm run build:es8 && npm run build:es8-min && npm run build:es9 && npm run build:es9-min && npm run build:es10 && npm run build:es10-min && npm run build:es11 && npm run build:es11-min && npm run build:es12 && npm run build:es12-min && npm run build:es13 && npm run build:es13-min",
"build": "npm run clean && npm run build:umd && npm run build:umd-min && npm run build:es6 && npm run build:es6-min && npm run build:es8 && npm run build:es8-min && npm run build:es9 && npm run build:es9-min && npm run build:es10 && npm run build:es10-min && npm run build:es11 && npm run build:es11-min && npm run build:es12 && npm run build:es12-min && npm run build:es13 && npm run build:es13-min",
"clean": "rimraf dist",
"lint": "eslint ./"
},
Expand Down

0 comments on commit c151db0

Please sign in to comment.