Created
February 1, 2016 16:41
-
-
Save elboman/b72fa4e3fb487cabb031 to your computer and use it in GitHub Desktop.
RegEx to upgrade lodash to 4.*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// _.clone(something, true); -> _.cloneDeep(something); | |
find: /_.clone\((.+?),(.+?)true\)/ | |
replace: /_.cloneDeep($1)/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment