crossnote 0.9.16 → 0.9.18
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/README.md +12 -3
- package/out/cjs/index.cjs +241 -232
- package/out/dependencies/README.md +3 -2
- package/out/dependencies/katex/katex-swap.min.css +1 -1
- package/out/dependencies/katex/katex.min.css +1 -1
- package/out/dependencies/mermaid/mermaid.min.js +534 -323
- package/out/esm/index.mjs +261 -252
- package/out/styles/markdown-it-callout.css +1 -0
- package/out/types/src/custom-markdown-it-features/callout.d.ts +3 -0
- package/out/types/src/markdown-engine/sanitize.d.ts +1 -0
- package/out/types/src/notebook/types.d.ts +2 -0
- package/out/types/src/render-enhancers/fenced-diagrams.d.ts +3 -1
- package/out/types/src/renderers/parse-math.d.ts +0 -1
- package/out/types/src/renderers/wsd.d.ts +2 -0
- package/out/types/src/webview/lib/sanitize.d.ts +1 -0
- package/out/types/test/sanitize.test.d.ts +1 -0
- package/out/types/test/wsd.test.d.ts +1 -0
- package/out/types/tsconfig.tsbuildinfo +1 -1
- package/out/webview/preview.js +224 -220
- package/package.json +12 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crossnote",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.18",
|
|
4
4
|
"description": "A powerful markdown notebook tool",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown"
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
"build:esbuild": "node build.js",
|
|
32
32
|
"build:typings": "tsc --project . --declaration",
|
|
33
33
|
"build:watch": "gulp clean-out && pnpm copy:files && pnpm compile:less && concurrently \"tsc --project . --watch\" \"node build.js --watch\" \"gulp watch-less\"",
|
|
34
|
-
"check
|
|
35
|
-
"check:
|
|
34
|
+
"check": "pnpm check:eslint && pnpm check:prettier && pnpm check:tsc",
|
|
35
|
+
"check:eslint": "eslint .",
|
|
36
36
|
"check:prettier": "prettier --check \"**/*\"",
|
|
37
37
|
"check:tsc": "tsc --project .",
|
|
38
38
|
"compile:less": "gulp compile-less",
|
|
39
39
|
"copy:files": "gulp copy-files",
|
|
40
|
-
"fix": "
|
|
41
|
-
"fix:
|
|
40
|
+
"fix": "pnpm fix:eslint && pnpm fix:prettier",
|
|
41
|
+
"fix:eslint": "eslint --fix .",
|
|
42
42
|
"fix:prettier": "prettier --write \"**/*\"",
|
|
43
43
|
"prepare": "husky install",
|
|
44
|
-
"prepublish": "
|
|
44
|
+
"prepublish": "pnpm build",
|
|
45
45
|
"test": "jest --no-coverage",
|
|
46
46
|
"test:coverage": "jest",
|
|
47
47
|
"typedoc": "typedoc src/index.ts"
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"cross-fetch": "^4.0.0",
|
|
89
89
|
"crypto-js": "^4.1.1",
|
|
90
90
|
"daisyui": "^3.7.3",
|
|
91
|
+
"dompurify": "^3.3.3",
|
|
91
92
|
"esbuild-plugin-tailwindcss": "^1.1.1",
|
|
92
93
|
"escape-string-regexp": "^5.0.0",
|
|
93
94
|
"file-saver": "^2.0.5",
|
|
@@ -96,9 +97,9 @@
|
|
|
96
97
|
"html-to-image": "^1.11.11",
|
|
97
98
|
"imagemagick-cli": "^0.5.0",
|
|
98
99
|
"jquery": "^3.7.1",
|
|
99
|
-
"katex": "^0.16.
|
|
100
|
+
"katex": "^0.16.38",
|
|
100
101
|
"less": "^4.2.0",
|
|
101
|
-
"markdown-it": "^
|
|
102
|
+
"markdown-it": "^14.1.1",
|
|
102
103
|
"markdown-it-abbr": "^1.0.4",
|
|
103
104
|
"markdown-it-deflist": "^2.1.0",
|
|
104
105
|
"markdown-it-emoji": "^2.0.2",
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
"markdown-it-sub": "^1.0.0",
|
|
109
110
|
"markdown-it-sup": "^1.0.0",
|
|
110
111
|
"md5": "^2.3.0",
|
|
111
|
-
"mermaid": "^11.
|
|
112
|
+
"mermaid": "^11.13.0",
|
|
112
113
|
"minisearch": "^6.1.0",
|
|
113
114
|
"mkdirp": "^3.0.1",
|
|
114
115
|
"monaco-editor": "^0.43.0",
|
|
@@ -146,6 +147,7 @@
|
|
|
146
147
|
"@simbathesailor/use-what-changed": "^2.0.0",
|
|
147
148
|
"@types/cheerio": "0.22.11",
|
|
148
149
|
"@types/crypto-js": "^4.1.1",
|
|
150
|
+
"@types/dompurify": "^3.2.0",
|
|
149
151
|
"@types/file-saver": "^2.0.6",
|
|
150
152
|
"@types/html-escaper": "^3.0.0",
|
|
151
153
|
"@types/jest": "^29.5.5",
|
|
@@ -190,6 +192,7 @@
|
|
|
190
192
|
"typedoc": "^0.25.1",
|
|
191
193
|
"typescript": "^5.2.2"
|
|
192
194
|
},
|
|
195
|
+
"packageManager": "pnpm@10.23.0",
|
|
193
196
|
"engines": {
|
|
194
197
|
"node": ">=18.0.0"
|
|
195
198
|
}
|