File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ language: node_js
33node_js :
44 - 12
55 - 10
6- - 8
76
87branches :
98 only :
Original file line number Diff line number Diff line change 1- 'use strict' ;
2-
31const escapeRegExp = require ( 'lodash.escaperegexp' ) ;
42const capitalize = require ( 'lodash.capitalize' ) ;
53const isString = require ( 'lodash.isstring' ) ;
@@ -9,6 +7,8 @@ const hostConfig = require('./lib/hosts-config');
97
108const { hasOwnProperty} = Object . prototype ;
119
10+ /* eslint prefer-named-capture-group: "off" */
11+
1212const FENCE_BLOCK_REGEXP = / ^ ( ( [ \t ] * ` { 3 , 4 } ) ( [ ^ \n ] * ) ( [ \s \S ] + ?) ( ^ [ \t ] * \2) ) / gm;
1313const CODE_BLOCK_REGEXP = / ( ` (? ! [ \\ ] ) ) ( (?: .(? ! \1(? ! [ \\ ] ) ) ) * .? ) \1/ g;
1414const 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 2121 "xo" : " ^0.25.0"
2222 },
2323 "engines" : {
24- "node" : " >=8.3 "
24+ "node" : " >=10.13 "
2525 },
2626 "files" : [
2727 " lib" ,
You can’t perform that action at this time.
0 commit comments