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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crossnote",
3
- "version": "0.9.16",
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:all": "npm run check:prettier && npm run check:tsc && npm run check:lint",
35
- "check:lint": "eslint .",
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": "npm run fix:lint && npm run fix:prettier",
41
- "fix:lint": "eslint --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": "npm run build",
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.25",
100
+ "katex": "^0.16.38",
100
101
  "less": "^4.2.0",
101
- "markdown-it": "^13.0.1",
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.12.1",
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
  }