Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Remove recompose dependency #510

Merged
merged 3 commits into from
Nov 29, 2020

Conversation

Byron-Wall
Copy link
Contributor

Q A
Fixed Issues? Fixes #508
Patch: Bug Fix? 👍
Tests Added + Pass? Yes

Adds createDisplayName util to react-redux-subspace, replaces recompose/wrapDisplayName in react-redux-subspace/src/components/parentSpaced.js and react-redux-subspace/src/components/subspaced.js, and adds test file for createDisplayName util. This removes the recompose dependency, which is currently unmaintained and returning a denial-of-service security issue from npm audit

…se wrapDisplayName method in packages/react-redux-subspace/src/utils/createDisplayname.js, replace recompose/wrapDisplayName with createDisplayname in packages/react-redux-subspace/src/components/parentSpaced.js and packages/react-redux-subspace/src/components/subspaced.js, remove recompse dependency in package.json
…o packages/react-redux-subspace/src/utils/createDisplayName.js, implement tests for packages/react-redux-subspace/src/utils/createDisplayName.js in packages/react-redux-subspace/test/utils/createDisplayname-spec.js
@mpeyper
Copy link
Contributor

mpeyper commented Nov 29, 2020

Hi @Byron-Wall,

Sorry it's taken a while to get to this review.

The changes itself is fine and I'm happy to accept it, but there is a lot of formatting changes that seem unnecessary for replacing a function (I understand that there are no formatting rules in place to help with that).

I'll merge as-is, but please don't be offended if I add a prettier config and it all gets formatted back again.

@mpeyper mpeyper merged commit 9e2fcfd into ioof-holdings:master Nov 29, 2020
@Byron-Wall
Copy link
Contributor Author

Hey, thanks for the review, Ive been out all week, so the timing has worked out well for me. I am in no way offended if a prettier config changes formatting. Thanks!

@Byron-Wall
Copy link
Contributor Author

Hey @mpeyper , would it be possible to let me know when you are able to publish this update to NPM?

@mpeyper
Copy link
Contributor

mpeyper commented Dec 2, 2020

@Byron-Wall Yes, sorry. Plan was to do it yesterday, but had some production issues at work and swamped me.

I'll endeavour to do it today.

@mpeyper
Copy link
Contributor

mpeyper commented Dec 3, 2020

@Byron-Wall this has been released in v6.2.0 now.

@Byron-Wall
Copy link
Contributor Author

@mpeyper thanks for releasing/letting me know!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

react-redux-subspace npm audit denial-of-service vulnerability in recompose/node-fetch
2 participants