Skip to content

Commit

Permalink
Upgrade JS dependencies (#1514)
Browse files Browse the repository at this point in the history
* Automatic audit fix
* Upgrade minor or patch versions
* Upgrade jest and ts-jest to v28
* Resolve ansi-regex to ^3.0.1 for high security fix

This is a temporary fix due to complexities of upgrading eslint and
other relevant dependencies (namely prettier-eslint-cli) to newer
versions.
  • Loading branch information
ahangarha authored Jan 29, 2023
1 parent 30f4c51 commit 34c9487
Show file tree
Hide file tree
Showing 3 changed files with 2,887 additions and 3,304 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Changes since last non-beta release.

*Please add entries here for your pull requests that are not yet released.*

### Fixed
- Upgrade several JS dependencies to fix security issues. [PR 1514](https://github.com/shakacode/react_on_rails/pull/1514) by [ahangarha](https://github.com/ahangarha)

### [13.3.0] - 2022-01-28
### Fixed
- Fixed pack not found warning while using `react_component` and `react_component_hash` helpers, even when corresponding chunks are present. [PR 1511](https://github.com/shakacode/react_on_rails/pull/1511) by [pulkitkkr](https://github.com/pulkitkkr)
Expand Down
55 changes: 28 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,43 @@
"doc": "docs"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/plugin-transform-typescript": "^7.12.1",
"@babel/preset-env": "^7.12.10",
"@babel/preset-react": "^7.12.10",
"@babel/types": "^7.12.10",
"@types/jest": "^26.0.18",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/plugin-transform-typescript": "^7.20.13",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/types": "^7.20.7",
"@types/jest": "^28.1.3",
"@types/react": "^16.14.35",
"@types/react-dom": "^16.9.17",
"@types/turbolinks": "^5.2.0",
"@types/webpack-env": "^1.17.0",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babelify": "^10.0.0",
"blue-tape": "^1.0.0",
"create-react-class": "^15.6.0",
"eslint": "^7.15.0",
"create-react-class": "^15.7.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.0.0",
"eslint-config-shakacode": "^16.0.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.21.5",
"jest": "^26.6.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.32.1",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jsdom": "^16.4.0",
"nps": "^5.9.3",
"prettier": "^2.2.1",
"prettier": "^2.8.3",
"prettier-eslint-cli": "^5.0.0",
"prop-types": "^15.5.10",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-transform-hmr": "^1.0.4",
"redux": "^4.0.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2"
"redux": "^4.2.0",
"ts-jest": "^28.0.8",
"typescript": "^4.9.4"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.12.5",
Expand Down
Loading

0 comments on commit 34c9487

Please sign in to comment.