@osdlc/markdown-link 0.0.1-stage → 0.5.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1 +1,7 @@
1
1
  # @osdlc/markdown-link
2
+
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5aecf76: First release. The TypeScript twin of the parsing half of the Rust `markdown-link` crate, with no dependencies: `stripCode` and `stripCodeWith`, the code lexer under CommonMark and skill-export rules; `parseInner` and `targetRange` for one wikilink body; `isVaultLinkUrl` and `mdLinkTarget` for markdown link URLs; `bodyLinksSpanned` and `bodyLinks`, which find every wikilink, embed and relative markdown link in a body, each with its `alias`; `displayText`, which shows each link as a reader sees it; `parseTypedRef` for a whole `[[type/slug|Alias]]` value; and `ATTACHMENT_EXTENSIONS`. Spans and ranges are UTF-16 offsets. Its tests read the crate's `tests/fixtures/conformance.json`, so the two agree on every case in it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdlc/markdown-link",
3
- "version": "0.0.1-stage",
3
+ "version": "0.5.0",
4
4
  "description": "Wikilink parsing that follows documented link-resolution conventions: every [[link]], ![[embed]] and relative markdown link in a note body, with spans, and the code lexer that keeps links in code out. The TypeScript twin of the parsing half of the Rust markdown-link crate, held to it by a shared case file. No dependencies.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "author": "sksizer",
@@ -50,8 +50,8 @@
50
50
  "prettier": "3.9.6",
51
51
  "typescript": "~6.0.3",
52
52
  "vitest": "^5.0.5",
53
- "@osdlc/tsconfig": "^0.4.1",
54
- "@osdlc/prettier-config": "^0.3.1"
53
+ "@osdlc/prettier-config": "^0.3.1",
54
+ "@osdlc/tsconfig": "^0.4.1"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsc -p tsconfig.build.json",