feat: support for :link
directive to automatically add npm icon via…
#4
Annotations
8 errors
test/index.test.ts:
src/index.ts#L353
ReferenceError: iconSvgPath is not defined
❯ src/index.ts:353:30
❯ overload node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:311:12
❯ node textDirective<link>) (file:/home/runner/work/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:346:27
❯ node paragraph) (file:/home/runner/work/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61
❯ node root) (file:/home/runner/work/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61
❯ visitParents node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:304:31
❯ Module.visit node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:302:3
❯ src/index.ts:51:5
❯ wrapped node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:160:27
❯ next node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:86:23
|
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
|
test/index.test.ts:
src/index.ts#L353
ReferenceError: iconSvgPath is not defined
❯ src/index.ts:353:30
❯ overload node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:311:12
❯ node textDirective<link>) (file:/Users/runner/work/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:346:27
❯ node paragraph) (file:/Users/runner/work/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61
❯ node root) (file:/Users/runner/work/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61
❯ visitParents node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:304:31
❯ Module.visit node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:302:3
❯ src/index.ts:51:5
❯ wrapped node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:160:27
❯ next node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:86:23
|
test (lts/*, macos-latest)
Process completed with exit code 1.
|
check:
src/index.ts#L353
Unsafe assignment of an error typed value.
|
check
Process completed with exit code 1.
|
test/index.test.ts:
src/index.ts#L353
ReferenceError: iconSvgPath is not defined
❯ src/index.ts:353:30
❯ overload node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:311:12
❯ node textDirective<link>) (file:/D:/a/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:346:27
❯ node paragraph) (file:/D:/a/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61
❯ node root) (file:/D:/a/remark-directive-sugar/remark-directive-sugar/node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:363:61
❯ visitParents node_modules/.pnpm/[email protected]/node_modules/unist-util-visit-parents/lib/index.js:304:31
❯ Module.visit node_modules/.pnpm/[email protected]/node_modules/unist-util-visit/lib/index.js:302:3
❯ src/index.ts:51:5
❯ wrapped node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:160:27
❯ next node_modules/.pnpm/[email protected]/node_modules/trough/lib/index.js:86:23
|
test (lts/*, windows-latest)
Process completed with exit code 1.
|