File tree Expand file tree Collapse file tree 3 files changed +972
-717
lines changed Expand file tree Collapse file tree 3 files changed +972
-717
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable vars-on-top, no-var, prefer-template */
2
- var isRegExp = require ( 'lodash.isregexp ' ) ;
3
- var escapeRegExp = require ( 'lodash.escaperegexp ' ) ;
4
- var isString = require ( 'lodash.isstring ' ) ;
5
- var flatten = require ( 'lodash. flatten' ) ;
2
+ var isRegExp = require ( 'lodash/isRegExp ' ) ;
3
+ var escapeRegExp = require ( 'lodash/escapeRegExp ' ) ;
4
+ var isString = require ( 'lodash/isString ' ) ;
5
+ var flatten = require ( 'lodash/ flatten' ) ;
6
6
7
7
/**
8
8
* Given a string, replace every substring that is matched by the `match` regex
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-string-replace" ,
3
- "version" : " 0.4.0 " ,
3
+ "version" : " 0.4.1 " ,
4
4
"description" : " String#replace for React components" ,
5
5
"license" : " MIT" ,
6
6
"main" : " index.js" ,
31
31
" replace"
32
32
],
33
33
"dependencies" : {
34
- "lodash.escaperegexp" : " ^4.1.1" ,
35
- "lodash.flatten" : " ^4.2.0" ,
36
- "lodash.isregexp" : " ^4.0.1" ,
37
- "lodash.isstring" : " ^4.0.1"
34
+ "lodash" : " ^4.17.4"
38
35
},
39
36
"devDependencies" : {
40
- "ava" : " ^0.20.0" ,
41
37
"babel-eslint" : " ^8.0.0" ,
38
+ "ava" : " ^0.23.0" ,
42
39
"eslint" : " ^3.10.2" ,
43
40
"eslint-config-iansinnott" : " ^1.0.1" ,
44
41
"eslint-config-zen" : " ^3.0.0" ,
You can’t perform that action at this time.
0 commit comments