@csark0812/skeleton 1.5.5 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +18 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -17313,7 +17313,8 @@ function expandPatterns(root, patterns, exclude) {
|
|
|
17313
17313
|
cwd: root,
|
|
17314
17314
|
absolute: true,
|
|
17315
17315
|
onlyFiles: true,
|
|
17316
|
-
dot: true
|
|
17316
|
+
dot: true,
|
|
17317
|
+
ignore: exclude
|
|
17317
17318
|
})) {
|
|
17318
17319
|
if (!isMarkdownFile(abs))
|
|
17319
17320
|
continue;
|
|
@@ -17358,7 +17359,8 @@ function collectBannedFiles(config, root) {
|
|
|
17358
17359
|
cwd: root,
|
|
17359
17360
|
absolute: true,
|
|
17360
17361
|
onlyFiles: true,
|
|
17361
|
-
dot: false
|
|
17362
|
+
dot: false,
|
|
17363
|
+
ignore: exclude
|
|
17362
17364
|
})) {
|
|
17363
17365
|
const rel = normalizeRelPath(relative4(root, abs));
|
|
17364
17366
|
if (shouldExclude(rel, exclude))
|
|
@@ -17375,7 +17377,8 @@ function collectCoverageCandidateFiles(root, exclude) {
|
|
|
17375
17377
|
cwd: root,
|
|
17376
17378
|
absolute: true,
|
|
17377
17379
|
onlyFiles: true,
|
|
17378
|
-
dot: false
|
|
17380
|
+
dot: false,
|
|
17381
|
+
ignore: exclude
|
|
17379
17382
|
})) {
|
|
17380
17383
|
const rel = normalizeRelPath(relative4(root, abs));
|
|
17381
17384
|
if (shouldExclude(rel, exclude))
|
|
@@ -28824,10 +28827,15 @@ function destinationConsumesToSliceEnd(slice, afterDest) {
|
|
|
28824
28827
|
if (slice[i] === ")") {
|
|
28825
28828
|
return i === slice.length - 1;
|
|
28826
28829
|
}
|
|
28827
|
-
|
|
28830
|
+
const first = slice[i];
|
|
28831
|
+
if (first === undefined || !/\s/.test(first))
|
|
28828
28832
|
return false;
|
|
28829
|
-
while (i < slice.length
|
|
28833
|
+
while (i < slice.length) {
|
|
28834
|
+
const ch = slice[i];
|
|
28835
|
+
if (ch === undefined || !/\s/.test(ch))
|
|
28836
|
+
break;
|
|
28830
28837
|
i++;
|
|
28838
|
+
}
|
|
28831
28839
|
if (i >= slice.length)
|
|
28832
28840
|
return false;
|
|
28833
28841
|
if (slice[i] === ")") {
|
|
@@ -28843,8 +28851,12 @@ function destinationConsumesToSliceEnd(slice, afterDest) {
|
|
|
28843
28851
|
if (i >= slice.length)
|
|
28844
28852
|
return false;
|
|
28845
28853
|
i++;
|
|
28846
|
-
while (i < slice.length
|
|
28854
|
+
while (i < slice.length) {
|
|
28855
|
+
const ch = slice[i];
|
|
28856
|
+
if (ch === undefined || !/\s/.test(ch))
|
|
28857
|
+
break;
|
|
28847
28858
|
i++;
|
|
28859
|
+
}
|
|
28848
28860
|
return i === slice.length - 1 && slice[i] === ")";
|
|
28849
28861
|
}
|
|
28850
28862
|
function findUrlSpanInSlice(content3, nodeStart, nodeEnd, url) {
|