Summary: ^ Basically, update Jest and fix any raised issues. Mainly: - Update necessary dependencies - Update snapshots - `useFakeTimers` caused a few issues which meant that the way we hook into the performance object had to be tweaked. The main code change is: `//fbsource/xplat/sonar/desktop/scripts/jest-setup-after.tsx` - `mocked` -> `jest.mocked` Changelog: Update Jest to v29.5.1 Reviewed By: antonk52 Differential Revision: D46319818 fbshipit-source-id: d218ca8f7e43abac6b00844953ddeb7f4e1010a2
84 lines
2.4 KiB
JSON
84 lines
2.4 KiB
JSON
{
|
|
"name": "flipper-ui-core",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"description": "Flipper's UI",
|
|
"repository": "facebook/flipper",
|
|
"main": "lib/index.js",
|
|
"flipperBundlerEntry": "src",
|
|
"types": "lib/index.d.ts",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/facebook/flipper/issues",
|
|
"dependencies": {
|
|
"@ant-design/icons": "^4.7.0",
|
|
"@emotion/css": "^11.7.1",
|
|
"@emotion/react": "^11.8.2",
|
|
"@emotion/styled": "^11.10.4",
|
|
"@tanishiking/aho-corasick": "^0.0.1",
|
|
"antd": "4.19.2",
|
|
"cbuffer": "^2.2.0",
|
|
"console-feed": "^3.3.0",
|
|
"deep-equal": "^2.2.1",
|
|
"eventemitter3": "^4.0.7",
|
|
"flipper-client-sdk": "^0.0.3",
|
|
"flipper-common": "0.0.0",
|
|
"flipper-frontend-core": "0.0.0",
|
|
"flipper-plugin": "0.0.0",
|
|
"flipper-ui-core": "0.0.0",
|
|
"hotkeys-js": "^3.9.3",
|
|
"immer": "^9.0.18",
|
|
"js-base64": "^3.7.5",
|
|
"jszip": "^3.10.1",
|
|
"lodash": "^4.17.21",
|
|
"lodash.memoize": "^4.1.2",
|
|
"p-map": "^4.0.0",
|
|
"react": "^0.0.0-experimental-14c2be8da-20220304",
|
|
"react-async": "^10.0.0",
|
|
"react-debounce-render": "^7.0.1",
|
|
"react-dom": "^0.0.0-experimental-14c2be8da-20220304",
|
|
"react-element-to-jsx-string": "^14.3.4",
|
|
"react-is": "^18.2.0",
|
|
"react-markdown": "^6.0.3",
|
|
"react-player": "^2.11.0",
|
|
"react-redux": "^7.2.6",
|
|
"react-test-renderer": "^0.0.0-experimental-2bf7c02f0-20220314",
|
|
"react-virtualized-auto-sizer": "^1.0.7",
|
|
"react-window": "^1.8.6",
|
|
"redux": "^4.1.2",
|
|
"redux-persist": "^6.0.0",
|
|
"reselect": "^4.1.7",
|
|
"semver": "^7.3.7",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^8.20.0",
|
|
"@types/deep-equal": "^1.0.1",
|
|
"@types/jest": "^29.5.1",
|
|
"@types/lodash.memoize": "^4.1.7",
|
|
"@types/react": "^17.0.39",
|
|
"@types/react-dom": "^17.0.12",
|
|
"@types/react-is": "^17.0.3",
|
|
"@types/react-test-renderer": "^17.0.1",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@types/redux-mock-store": "^1.0.3",
|
|
"@types/uuid": "^8.3.4",
|
|
"flipper-test-utils": "0.0.0",
|
|
"jest-mock-console": "^1.2.3",
|
|
"redux-mock-store": "^1.0.1"
|
|
},
|
|
"scripts": {
|
|
"reset": "rimraf lib *.tsbuildinfo",
|
|
"build": "tsc -b",
|
|
"prepack": "yarn reset && yarn build"
|
|
},
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"homepage": "https://github.com/facebook/flipper",
|
|
"keywords": [
|
|
"Flipper"
|
|
],
|
|
"author": "Facebook, Inc"
|
|
}
|