fingerprintjs / fingerprintjs-pro-react

Fingerprint Pro Wrapper for React Single Page Applications (SPA)
MIT License
52 stars 8 forks source link

Apply reusable configs, migrate to pnpm #139

Closed ilfa closed 7 months ago

github-actions[bot] commented 7 months ago

This PR will not create a new release :rocket:

github-actions[bot] commented 7 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements
91.87% (+72.27% πŸ”Ό)
192/209
🟒 Branches
81.48% (+44.9% πŸ”Ό)
44/54
🟑 Functions
71.7% (+49.75% πŸ”Ό)
38/53
🟒 Lines
91.94% (+71.78% πŸ”Ό)
171/186
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------ | :--------- | :------- | :-------- | :----- | | 🟒 |
`...` / fpjs-provider.tsx
| 88.52% | 69.23% | 83.33% | 91.23% |

Test suite run success

19 tests passing in 5 suites.

Report generated by πŸ§ͺjest coverage report action from 2206d67d6714d9ae804ff513683533d4f030bd15

Show full coverage report St|File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --|-----------------------|---------|----------|---------|---------|--------------------- 🟒|All files | 91.86 | 81.48 | 71.69 | 91.93 | 🟒| src| 94.33 | 90.32 | 60 | 93.61 | 🟒|  [detect-env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/detect-env.ts)| 92.3 | 86.66 | 100 | 91.3 |[15](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/detect-env.ts#L15),[85](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/detect-env.ts#L85) 🟒|  [env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/env.ts)| 100 | 100 | 100 | 100 | 🟒|  [env.types.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/env.types.ts)| 100 | 100 | 100 | 100 | 🟑|  [fpjs-context.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/fpjs-context.ts)| 80 | 100 | 0 | 80 |[38](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/fpjs-context.ts#L38) 🟑|  [get-env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/get-env.ts)| 75 | 0 | 100 | 75 |[9-10](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/get-env.ts#L9-L10) 🟒|  [index.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/index.ts)| 100 | 100 | 0 | 100 | 🟒|  [ssr.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/ssr.ts)| 100 | 100 | 100 | 100 | 🟒|  [use-visitor-data.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/use-visitor-data.ts)| 97.72 | 100 | 87.5 | 97.29 |[79](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/use-visitor-data.ts#L79) 🟒| src/components| 90.66 | 75 | 86.66 | 92.75 | 🟒|  [fpjs-provider.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/components/fpjs-provider.tsx)| 88.52 | 69.23 | 83.33 | 91.22 |[112](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/components/fpjs-provider.tsx#L112),[118-123](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/components/fpjs-provider.tsx#L118-L123),[142-144](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/components/fpjs-provider.tsx#L142-L144) 🟒|  [with-environment.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/components/with-environment.tsx)| 100 | 100 | 100 | 100 | 🟒| src/utils| 85.71 | 57.14 | 87.5 | 82.6 | 🟑|  [assert-is-truthy.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/utils/assert-is-truthy.ts)| 66.66 | 0 | 100 | 66.66 |[3](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/utils/assert-is-truthy.ts#L3) 🟑|  [to-error.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/utils/to-error.ts)| 75 | 100 | 100 | 75 |[6](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/utils/to-error.ts#L6) 🟒|  [use-previous.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/utils/use-previous.ts)| 100 | 100 | 100 | 100 | 🟒|  [wait-until.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/utils/wait-until.ts)| 86.66 | 60 | 75 | 80 |[10-12](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/a9890b74834ad66f30ecc8342e874f625c1b2fd7/src/utils/wait-until.ts#L10-L12)
fingerprint-dx-team[bot] commented 5 months ago

:tada: This PR is included in version 2.6.3-test.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

fingerprint-dx-team[bot] commented 5 months ago

:tada: This PR is included in version 2.6.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: