@quartz-community/remark-obsidian 2.1.0 → 2.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quartz-community/remark-obsidian",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Remark plugin that parses Markdown as Obsidian does: wikilinks, embeds, callouts, highlights, tags, comments, math and footnotes. Presets: legacy (Obsidian's own parser and positions) or strict (CommonMark and GFM).",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -10,10 +10,22 @@
10
10
  "import": "./dist/index.js",
11
11
  "require": "./dist/index.js"
12
12
  },
13
+ "./legacy": {
14
+ "types": "./dist/legacy.d.ts",
15
+ "import": "./dist/legacy.js",
16
+ "require": "./dist/legacy.js"
17
+ },
13
18
  "./package.json": "./package.json"
14
19
  },
15
20
  "main": "./dist/index.js",
16
21
  "types": "./dist/index.d.ts",
22
+ "typesVersions": {
23
+ "*": {
24
+ "legacy": [
25
+ "./dist/legacy.d.ts"
26
+ ]
27
+ }
28
+ },
17
29
  "files": [
18
30
  "dist",
19
31
  "README.md",
@@ -31,7 +43,8 @@
31
43
  "typecheck": "tsc --noEmit && tsc -p tsconfig.parity.json --noEmit",
32
44
  "prepublishOnly": "npm run build",
33
45
  "release": "npm run build && changeset publish",
34
- "lint": "eslint 'src/**/*.ts'"
46
+ "lint": "eslint 'src/**/*.ts'",
47
+ "version-packages": "changeset version && npm install --package-lock-only --ignore-scripts --no-audit --no-fund"
35
48
  },
36
49
  "devDependencies": {
37
50
  "@changesets/cli": "^2.29.2",
@@ -51,6 +64,7 @@
51
64
  "character-entities-legacy": "^3.0.0",
52
65
  "decode-named-character-reference": "^1.3.0",
53
66
  "devlop": "^1.1.0",
67
+ "esbuild": "^0.27.7",
54
68
  "eslint": "^10.12.0",
55
69
  "eslint-plugin-redos": "^4.5.0",
56
70
  "js-yaml": "^4.3.2",
@@ -59,7 +73,7 @@
59
73
  "mdast-util-frontmatter": "^2.0.1",
60
74
  "mdast-util-gfm-table": "^2.0.0",
61
75
  "mdast-util-math": "^3.0.0",
62
- "mdast-util-to-markdown": "^2.1.0",
76
+ "mdast-util-to-markdown": "^2.2.0",
63
77
  "mdast-util-to-string": "^4.0.0",
64
78
  "micromark-core-commonmark": "^2.0.4",
65
79
  "micromark-extension-frontmatter": "^2.0.0",
@@ -67,6 +81,7 @@
67
81
  "micromark-factory-space": "^2.0.1",
68
82
  "micromark-util-character": "^2.1.1",
69
83
  "micromark-util-decode-string": "^2.0.1",
84
+ "micromark-util-normalize-identifier": "^2.0.1",
70
85
  "micromark-util-symbol": "^2.0.0",
71
86
  "micromark-util-types": "^2.0.0",
72
87
  "mocha": "^11.8.0",
@@ -90,12 +105,17 @@
90
105
  "typescript-eslint": "^8.71.0",
91
106
  "unified": "^11.0.5",
92
107
  "unified9": "npm:unified@^9.2.2",
108
+ "unist-util-is": "^6.0.1",
93
109
  "unist-util-visit": "^5.0.0",
110
+ "unist-util-visit-parents": "^6.0.2",
94
111
  "vitest": "^2.1.9",
95
112
  "wdio-obsidian-reporter": "^3.2.1",
96
113
  "wdio-obsidian-service": "^3.2.1",
97
114
  "webdriverio": "^9.32.0"
98
115
  },
116
+ "peerDependencies": {
117
+ "mdast-util-to-markdown": "^2.2.0"
118
+ },
99
119
  "engines": {
100
120
  "node": ">=22"
101
121
  },