Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Commit

Permalink
Bump React to 16.9.0 (#72)
Browse files Browse the repository at this point in the history
* add in new version of react and a bunch of other outdates deps

* remove test logging mocks
  • Loading branch information
jcblw committed Aug 10, 2019
1 parent 57b185d commit c810e5c
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 55 deletions.
17 changes: 0 additions & 17 deletions jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,6 @@ expect.extend({ toMatchImageSnapshot })

jest.mock('./src/lib/extension')

// this is just a little hack to silence a warning that we'll get until react
// fixes this: https://github.com/facebook/react/pull/14853
const originalError = console.error

beforeAll(() => {
console.error = (...args) => {
if (/Warning.*not wrapped in act/.test(args[0])) {
return
}
originalError.call(console, ...args)
}
})

afterAll(() => {
console.error = originalError
})

beforeEach(() => {
jest.resetAllMocks()
})
167 changes: 136 additions & 31 deletions package-lock.json

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

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@typescript-eslint/parser": "1.6.0",
"babel-eslint": "10.0.1",
"babel-jest": "^24.8.0",
"babel-loader": "8.0.5",
"babel-loader": "^8.0.6",
"babel-plugin-named-asset-import": "^0.3.2",
"babel-preset-react-app": "^9.0.0",
"camelcase": "^5.2.0",
Expand All @@ -30,7 +30,7 @@
"eslint-loader": "2.1.2",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"fake-indexeddb": "^2.1.1",
Expand All @@ -46,28 +46,28 @@
"jest-image-snapshot": "^2.9.0",
"jest-resolve": "24.7.1",
"jest-watch-typeahead": "^0.3.1",
"mini-css-extract-plugin": "0.5.0",
"mini-css-extract-plugin": "^0.8.0",
"mkdirp": "^0.5.1",
"optimize-css-assets-webpack-plugin": "5.0.1",
"pnp-webpack-plugin": "1.2.1",
"postcss-flexbugs-fixes": "4.1.0",
"prettier": "^1.14.3",
"punycode": "^2.1.1",
"puppeteer": "^1.19.0",
"react": "^16.8.6",
"react": "^16.9.0",
"react-app-polyfill": "^1.0.1",
"react-dev-utils": "^9.0.1",
"react-dom": "^16.8.6",
"react-dom": "^16.9.0",
"react-feather": "^2.0.3",
"react-modal": "^3.8.1",
"react-test-renderer": "^16.8.6",
"react-use-file-reader": "^1.0.0",
"resolve": "1.10.0",
"semver": "6.0.0",
"sourcemapped-stacktrace": "^1.1.9",
"style-loader": "0.23.1",
"style-loader": "^1.0.0",
"terser-webpack-plugin": "1.2.3",
"url-loader": "1.1.2",
"url-loader": "^2.1.0",
"use-color-scheme": "^1.1.1",
"webpack": "^4.39.1",
"webpack-dev-server": "^3.7.2",
Expand Down

0 comments on commit c810e5c

Please sign in to comment.