-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove lodash get #1013
Remove lodash get #1013
Conversation
93216bb
to
bc80ebd
Compare
In case you didn't know, if this doesn't need a changelog entry, you can add the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few questions, but looks 👌
bc80ebd
to
784d7db
Compare
@@ -0,0 +1,32 @@ | |||
import {GeneralObject} from '../types'; | |||
|
|||
const OBJECT_NOTATION_MATCHER = /\[(.*?)\]|(\w+)/g; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm by no means a regex wizard so all suggestions are greatly welcomed 🙏
784d7db
to
50ec027
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mighty fine! I tried everything I could think of to break it.. but alas the regex is strong with this one. 💯
50ec027
to
e365b71
Compare
WHY are these changes introduced?
Part of removing lodash #991
WHAT is this pull request doing?
Creating a
get
function and using that instead of_.get
How to 🎩
Test pass? 💯
TODO: