File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ language: node_js
3
3
node_js :
4
4
- 12
5
5
- 10
6
- - 8
7
6
8
7
branches :
9
8
only :
Original file line number Diff line number Diff line change 1
- 'use strict' ;
2
-
3
1
const escapeRegExp = require ( 'lodash.escaperegexp' ) ;
4
2
const capitalize = require ( 'lodash.capitalize' ) ;
5
3
const isString = require ( 'lodash.isstring' ) ;
@@ -9,6 +7,8 @@ const hostConfig = require('./lib/hosts-config');
9
7
10
8
const { hasOwnProperty} = Object . prototype ;
11
9
10
+ /* eslint prefer-named-capture-group: "off" */
11
+
12
12
const FENCE_BLOCK_REGEXP = / ^ ( ( [ \t ] * ` { 3 , 4 } ) ( [ ^ \n ] * ) ( [ \s \S ] + ?) ( ^ [ \t ] * \2) ) / gm;
13
13
const CODE_BLOCK_REGEXP = / ( ` (? ! [ \\ ] ) ) ( (?: .(? ! \1(? ! [ \\ ] ) ) ) * .? ) \1/ g;
14
14
const HTML_CODE_BLOCK_REGEXP = / ( < c o d e ) + ?( (? ! ( < c o d e | < \/ c o d e > ) + ?) [ \S \s ] ) * ( < \/ c o d e > ) + ?/ gim;
Original file line number Diff line number Diff line change 21
21
"xo" : " ^0.25.0"
22
22
},
23
23
"engines" : {
24
- "node" : " >=8.3 "
24
+ "node" : " >=10.13 "
25
25
},
26
26
"files" : [
27
27
" lib" ,
You can’t perform that action at this time.
0 commit comments