Debian Codegraph @

node/@patternfly/react-core/src/helpers/Popper/thirdparty/README.md

raw
1 # react-popper
2 Copied and modified from https://github.com/popperjs/react-popper ("react-popper": "2.2.3")
3
4 # popper-core
5 Copied and modified from https://github.com/popperjs/popper-core ("@popperjs/core": "2.4.2")
6
7 ## Why
8 Brought this in so that consumers don't have to deal with potential build errors / jest errors, etc
9
10 ## Note
11 The code may not have the same level of quality as other components since it is thirdparty code that was modified just enough to make it work with the build. Although some types and eslint issues were fixed, many files have TS errors that were suppressed with the `// @ts-nocheck` comment, and some eslint errors were also supressed with `/* eslint-disable SOMETHING /*` comments.
12
13 ## Some modifications to make it work with our build
14 - Converted flow to typescript (using npm package flow-to-ts)
15 - Fixed some ts linting issues/added eslint ignores and ts-nocheck comments
16 - Copied in some util functions
17 - Some source changes
18 - Replaced some dependencies (import isEqual from 'react-fast-compare' => JSON.stringify)
19
20 # Changes for next breaking-change release
21 - Delete the thirdparty folder and add them as dependencies to the package.json:
22 `"react-popper": "2.2.3"`
23 `"@popperjs/core": "2.4.2"`