@depup/markdown-it 14.1.1-depup.1 → 14.3.0-depup.13
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 +7 -5
- package/changes.json +11 -3
- package/dist/index.cjs.js +3661 -5307
- package/dist/index.cjs.js.map +1 -0
- package/dist/markdown-it.js +1451 -4445
- package/dist/markdown-it.js.map +1 -0
- package/dist/markdown-it.min.js +3 -2
- package/dist/markdown-it.min.js.map +1 -0
- package/lib/common/html_re.mjs +9 -9
- package/lib/common/utils.mjs +32 -12
- package/lib/index.mjs +1 -1
- package/lib/parser_block.mjs +9 -9
- package/lib/parser_core.mjs +7 -7
- package/lib/parser_inline.mjs +16 -16
- package/lib/renderer.mjs +2 -2
- package/lib/rules_block/blockquote.mjs +6 -6
- package/lib/rules_block/code.mjs +2 -2
- package/lib/rules_block/fence.mjs +4 -4
- package/lib/rules_block/heading.mjs +8 -8
- package/lib/rules_block/hr.mjs +2 -2
- package/lib/rules_block/html_block.mjs +18 -7
- package/lib/rules_block/lheading.mjs +12 -9
- package/lib/rules_block/list.mjs +6 -6
- package/lib/rules_block/paragraph.mjs +8 -6
- package/lib/rules_block/reference.mjs +1 -1
- package/lib/rules_block/state_block.mjs +6 -6
- package/lib/rules_block/table.mjs +4 -4
- package/lib/rules_core/block.mjs +3 -3
- package/lib/rules_core/linkify.mjs +15 -15
- package/lib/rules_core/normalize.mjs +2 -2
- package/lib/rules_core/smartquotes.mjs +37 -21
- package/lib/rules_inline/autolink.mjs +17 -17
- package/lib/rules_inline/balance_pairs.mjs +2 -2
- package/lib/rules_inline/emphasis.mjs +8 -8
- package/lib/rules_inline/entity.mjs +9 -9
- package/lib/rules_inline/escape.mjs +15 -1
- package/lib/rules_inline/html_inline.mjs +1 -1
- package/lib/rules_inline/link.mjs +1 -1
- package/lib/rules_inline/state_inline.mjs +39 -8
- package/lib/rules_inline/strikethrough.mjs +10 -10
- package/lib/token.mjs +12 -12
- package/package.json +54 -42
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/markdown-it",
|
|
3
|
-
"version": "14.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "14.3.0-depup.13",
|
|
4
|
+
"description": "Markdown-it - modern pluggable markdown parser. (with updated dependencies)",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"depup",
|
|
7
|
-
"dependency-bumped",
|
|
8
|
-
"updated-deps",
|
|
9
6
|
"markdown-it",
|
|
7
|
+
"depup",
|
|
8
|
+
"updated-dependencies",
|
|
9
|
+
"security",
|
|
10
|
+
"latest",
|
|
11
|
+
"patched",
|
|
10
12
|
"markdown",
|
|
11
13
|
"parser",
|
|
12
14
|
"commonmark",
|
|
@@ -14,6 +16,16 @@
|
|
|
14
16
|
],
|
|
15
17
|
"repository": "markdown-it/markdown-it",
|
|
16
18
|
"license": "MIT",
|
|
19
|
+
"funding": [
|
|
20
|
+
{
|
|
21
|
+
"type": "github",
|
|
22
|
+
"url": "https://github.com/sponsors/puzrin"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "github",
|
|
26
|
+
"url": "https://github.com/sponsors/markdown-it"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
17
29
|
"main": "dist/index.cjs.js",
|
|
18
30
|
"module": "index.mjs",
|
|
19
31
|
"exports": {
|
|
@@ -31,15 +43,22 @@
|
|
|
31
43
|
},
|
|
32
44
|
"scripts": {
|
|
33
45
|
"lint": "eslint .",
|
|
34
|
-
"test": "npm run lint &&
|
|
46
|
+
"test": "npm run lint && npm run test:cmspec && npm run test:markdown-it && npm run test:build",
|
|
47
|
+
"test:cmspec": "node --test --test-reporter=dot test/cmspec/**/*.test.mjs",
|
|
48
|
+
"test:markdown-it": "node --test test/markdown-it/**/*.test.mjs",
|
|
49
|
+
"test:build": "npm run build && node --test test/build/**/*.test.mjs",
|
|
50
|
+
"pathological:track-ref": "node support/track-ref-pathological.mjs",
|
|
51
|
+
"pathological:update-hash": "node support/track-ref-pathological.mjs --update",
|
|
52
|
+
"coverage": "npm run build && c8 --include 'lib/**' -r text -r html -r lcov node --test --test-reporter=dot",
|
|
35
53
|
"doc": "node support/build_doc.mjs",
|
|
36
54
|
"gh-doc": "npm run doc && gh-pages -d apidoc -f",
|
|
37
55
|
"demo": "npm run lint && node support/build_demo.mjs",
|
|
38
56
|
"gh-demo": "npm run demo && gh-pages -d demo -f -b master -r git@github.com:markdown-it/markdown-it.github.io.git",
|
|
39
|
-
"build": "
|
|
40
|
-
"benchmark-deps": "npm install --prefix benchmark/extra/
|
|
57
|
+
"build": "node support/build-dist.mjs",
|
|
58
|
+
"benchmark-deps": "npm install --prefix benchmark/extra/",
|
|
41
59
|
"specsplit": "support/specsplit.mjs good -o test/fixtures/commonmark/good.txt && support/specsplit.mjs bad -o test/fixtures/commonmark/bad.txt && support/specsplit.mjs",
|
|
42
|
-
"todo": "grep 'TODO' -n -r ./lib 2>/dev/null"
|
|
60
|
+
"todo": "grep 'TODO' -n -r ./lib 2>/dev/null",
|
|
61
|
+
"postpublish": "npm run gh-demo && npm run gh-doc"
|
|
43
62
|
},
|
|
44
63
|
"files": [
|
|
45
64
|
"index.mjs",
|
|
@@ -49,31 +68,21 @@
|
|
|
49
68
|
"README.md"
|
|
50
69
|
],
|
|
51
70
|
"dependencies": {
|
|
52
|
-
"argparse": "^
|
|
71
|
+
"argparse": "^3.0.0",
|
|
53
72
|
"entities": "^8.0.0",
|
|
54
|
-
"linkify-it": "^
|
|
73
|
+
"linkify-it": "^6.0.0",
|
|
55
74
|
"mdurl": "^2.0.0",
|
|
56
75
|
"punycode.js": "^2.3.1",
|
|
57
76
|
"uc.micro": "^2.1.0"
|
|
58
77
|
},
|
|
59
78
|
"devDependencies": {
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"ansi": "^0.3.0",
|
|
65
|
-
"benchmark": "~2.1.0",
|
|
66
|
-
"c8": "^8.0.1",
|
|
67
|
-
"chai": "^4.2.0",
|
|
68
|
-
"eslint": "^8.4.1",
|
|
69
|
-
"eslint-config-standard": "^17.1.0",
|
|
70
|
-
"express": "^4.14.0",
|
|
71
|
-
"gh-pages": "^6.1.0",
|
|
72
|
-
"highlight.js": "^11.9.0",
|
|
73
|
-
"jest-worker": "^29.7.0",
|
|
79
|
+
"c8": "^11.0.0",
|
|
80
|
+
"eslint": "^9.39.4",
|
|
81
|
+
"gh-pages": "^6.3.0",
|
|
82
|
+
"highlight.js": "^11.11.1",
|
|
74
83
|
"markdown-it-abbr": "^2.0.0",
|
|
75
84
|
"markdown-it-container": "^4.0.0",
|
|
76
|
-
"markdown-it-deflist": "^3.0.
|
|
85
|
+
"markdown-it-deflist": "^3.0.1",
|
|
77
86
|
"markdown-it-emoji": "^3.0.0",
|
|
78
87
|
"markdown-it-footnote": "^4.0.0",
|
|
79
88
|
"markdown-it-for-inline": "^2.0.1",
|
|
@@ -81,29 +90,32 @@
|
|
|
81
90
|
"markdown-it-mark": "^4.0.0",
|
|
82
91
|
"markdown-it-sub": "^2.0.0",
|
|
83
92
|
"markdown-it-sup": "^2.0.0",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"supertest": "^6.0.1"
|
|
91
|
-
},
|
|
92
|
-
"mocha": {
|
|
93
|
-
"inline-diffs": true,
|
|
94
|
-
"timeout": 60000
|
|
93
|
+
"ndoc": "^6.0.1",
|
|
94
|
+
"neostandard": "^0.13.0",
|
|
95
|
+
"terser": "^5.48.0",
|
|
96
|
+
"tinybench": "^6.0.2",
|
|
97
|
+
"vite": "^8.1.2",
|
|
98
|
+
"vite-plugin-singlefile": "^2.3.3"
|
|
95
99
|
},
|
|
96
100
|
"depup": {
|
|
97
101
|
"changes": {
|
|
102
|
+
"argparse": {
|
|
103
|
+
"from": "^2.0.1",
|
|
104
|
+
"to": "^3.0.0"
|
|
105
|
+
},
|
|
98
106
|
"entities": {
|
|
99
|
-
"from": "^4.
|
|
107
|
+
"from": "^4.5.0",
|
|
100
108
|
"to": "^8.0.0"
|
|
109
|
+
},
|
|
110
|
+
"linkify-it": {
|
|
111
|
+
"from": "^5.0.2",
|
|
112
|
+
"to": "^6.0.0"
|
|
101
113
|
}
|
|
102
114
|
},
|
|
103
|
-
"depsUpdated":
|
|
115
|
+
"depsUpdated": 3,
|
|
104
116
|
"originalPackage": "markdown-it",
|
|
105
|
-
"originalVersion": "14.
|
|
106
|
-
"processedAt": "2026-
|
|
107
|
-
"smokeTest": "
|
|
117
|
+
"originalVersion": "14.3.0",
|
|
118
|
+
"processedAt": "2026-07-21T17:24:31.871Z",
|
|
119
|
+
"smokeTest": "failed"
|
|
108
120
|
}
|
|
109
121
|
}
|