@riebeckite/plugin-diagnostics 0.0.5 → 0.0.7
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/bin.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -712,7 +712,7 @@ function checkPublishBoundary(source, options, diagnostics) {
|
|
|
712
712
|
const position = new LineMapper(note.markdown);
|
|
713
713
|
for (const match of getWikilinkMatches(note.markdown)) {
|
|
714
714
|
const resolved = resolveWikilinkTarget(match.target, source.targetIndex);
|
|
715
|
-
if (
|
|
715
|
+
if (resolved?.kind !== "note") continue;
|
|
716
716
|
const { line, column } = position.positionAt(match.index);
|
|
717
717
|
reportBoundaryReference(
|
|
718
718
|
source,
|
package/dist/index.js
CHANGED
|
@@ -708,7 +708,7 @@ function checkPublishBoundary(source, options, diagnostics2) {
|
|
|
708
708
|
const position = new LineMapper(note.markdown);
|
|
709
709
|
for (const match of getWikilinkMatches(note.markdown)) {
|
|
710
710
|
const resolved = resolveWikilinkTarget(match.target, source.targetIndex);
|
|
711
|
-
if (
|
|
711
|
+
if (resolved?.kind !== "note") continue;
|
|
712
712
|
const { line, column } = position.positionAt(match.index);
|
|
713
713
|
reportBoundaryReference(
|
|
714
714
|
source,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-diagnostics",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"remark-parse": "^11.0.0",
|
|
21
21
|
"unified": "^11.0.5",
|
|
22
22
|
"unist-util-visit": "^5.1.0",
|
|
23
|
-
"@riebeckite/core": "0.0.
|
|
23
|
+
"@riebeckite/core": "0.0.7"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/mdast": "^4.0.4",
|