File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 99 "url" : " https://mrmlnc.com"
1010 },
1111 "engines" : {
12- "node" : " >=8"
12+ "node" : " >=8.6.0 "
1313 },
1414 "main" : " out/index.js" ,
1515 "typings" : " out/index.d.ts" ,
Original file line number Diff line number Diff line change 11/**
22 * Matches a sequence of two or more consecutive slashes, excluding the first two slashes at the beginning of the string.
33 * The latter is due to the presence of the device path at the beginning of the UNC path.
4+ * @todo rewrite to negative lookbehind with the next major release.
45 */
5- const DOUBLE_SLASH_RE = / (?< ! ^ ) \/ { 2 , } / g;
6+ const DOUBLE_SLASH_RE = / (? ! ^ ) \/ { 2 , } / g;
67
78export function transform ( patterns : string [ ] ) : string [ ] {
89 return patterns . map ( ( pattern ) => removeDuplicateSlashes ( pattern ) ) ;
You can’t perform that action at this time.
0 commit comments