marked-katex-extension 2.0.1 → 2.1.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/lib/index.umd.js +1 -1
- package/package.json +15 -10
- package/src/index.d.ts +1 -0
package/lib/index.umd.js
CHANGED
|
@@ -18303,7 +18303,7 @@
|
|
|
18303
18303
|
/**
|
|
18304
18304
|
* Current KaTeX version
|
|
18305
18305
|
*/
|
|
18306
|
-
version: "0.16.
|
|
18306
|
+
version: "0.16.7",
|
|
18307
18307
|
|
|
18308
18308
|
/**
|
|
18309
18309
|
* Renders the given LaTeX into an HTML+MathML combination, and adds
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marked-katex-extension",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "MarkedJS extesion to render katex",
|
|
5
5
|
"main": "./lib/index.cjs",
|
|
6
6
|
"module": "./src/index.js",
|
|
7
7
|
"browser": "./lib/index.umd.js",
|
|
8
8
|
"type": "module",
|
|
9
|
+
"types": "./src/index.d.ts",
|
|
9
10
|
"keywords": [
|
|
10
11
|
"marked",
|
|
11
12
|
"katex",
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
"scripts": {
|
|
25
26
|
"test": "jest --verbose",
|
|
26
27
|
"test:cover": "jest --coverage",
|
|
28
|
+
"test:types": "tsd -f spec/index.test-d.ts -t src/index.d.ts",
|
|
27
29
|
"lint": "eslint .",
|
|
28
30
|
"build": "rollup -c rollup.config.js"
|
|
29
31
|
},
|
|
@@ -38,30 +40,33 @@
|
|
|
38
40
|
},
|
|
39
41
|
"homepage": "https://github.com/UziTech/marked-katex-extension#readme",
|
|
40
42
|
"peerDependencies": {
|
|
41
|
-
"marked": "^4
|
|
43
|
+
"marked": "^4 || ^5"
|
|
42
44
|
},
|
|
43
45
|
"devDependencies": {
|
|
44
|
-
"@babel/core": "^7.21.
|
|
45
|
-
"@babel/preset-env": "^7.21.
|
|
46
|
+
"@babel/core": "^7.21.8",
|
|
47
|
+
"@babel/preset-env": "^7.21.5",
|
|
46
48
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
47
49
|
"@semantic-release/changelog": "^6.0.3",
|
|
48
50
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
49
51
|
"@semantic-release/git": "^10.0.1",
|
|
50
52
|
"@semantic-release/github": "^8.0.7",
|
|
51
53
|
"@semantic-release/npm": "^10.0.3",
|
|
52
|
-
"@semantic-release/release-notes-generator": "^
|
|
54
|
+
"@semantic-release/release-notes-generator": "^11.0.1",
|
|
55
|
+
"@types/marked": "^5.0.0",
|
|
53
56
|
"babel-jest": "^29.5.0",
|
|
54
|
-
"eslint": "^8.
|
|
57
|
+
"eslint": "^8.41.0",
|
|
55
58
|
"eslint-config-standard": "^17.0.0",
|
|
56
59
|
"eslint-plugin-import": "^2.27.5",
|
|
57
60
|
"eslint-plugin-n": "^15.7.0",
|
|
58
61
|
"eslint-plugin-promise": "^6.1.1",
|
|
59
62
|
"jest-cli": "^29.5.0",
|
|
60
|
-
"marked": "^
|
|
61
|
-
"rollup": "^3.
|
|
62
|
-
"semantic-release": "^21.0.
|
|
63
|
+
"marked": "^5.0.2",
|
|
64
|
+
"rollup": "^3.23.0",
|
|
65
|
+
"semantic-release": "^21.0.2",
|
|
66
|
+
"tsd": "^0.28.1"
|
|
63
67
|
},
|
|
64
68
|
"dependencies": {
|
|
65
|
-
"katex": "^0.16.
|
|
69
|
+
"@types/katex": "^0.16.0",
|
|
70
|
+
"katex": "^0.16.7"
|
|
66
71
|
}
|
|
67
72
|
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function markedKatex(options?: import('katex').KatexOptions): import('marked').marked.MarkedExtension
|