@readme/markdown 6.75.0-beta.8 → 6.75.1
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/components/Anchor.jsx +1 -1
- package/components/Callout/index.jsx +3 -3
- package/components/Callout/style.scss +63 -27
- package/components/Code/index.jsx +2 -0
- package/components/Code/style.scss +78 -79
- package/components/CodeTabs/index.jsx +15 -4
- package/components/CodeTabs/style.scss +30 -22
- package/components/Embed/index.jsx +1 -2
- package/components/Embed/style.scss +69 -59
- package/components/GlossaryItem/index.jsx +1 -1
- package/components/GlossaryItem/style.scss +22 -11
- package/components/HTMLBlock/index.jsx +1 -2
- package/components/Heading/index.jsx +1 -1
- package/components/Heading/style.scss +15 -9
- package/components/Image/index.jsx +4 -8
- package/components/Image/style.scss +64 -63
- package/components/Style.jsx +1 -2
- package/components/Table/style.scss +23 -17
- package/dist/main.css +14 -7
- package/dist/main.js +31419 -64302
- package/dist/main.node.js +34064 -68406
- package/npm-shrinkwrap.json +50250 -0
- package/package.json +100 -63
package/package.json
CHANGED
|
@@ -2,103 +2,115 @@
|
|
|
2
2
|
"name": "@readme/markdown",
|
|
3
3
|
"description": "ReadMe's React-based Markdown parser",
|
|
4
4
|
"author": "Rafe Goldberg <rafe@readme.io>",
|
|
5
|
-
"version": "6.75.
|
|
5
|
+
"version": "6.75.1",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
7
|
"browser": "dist/main.js",
|
|
9
8
|
"files": [
|
|
10
9
|
"styles",
|
|
11
10
|
"components",
|
|
12
|
-
"dist"
|
|
11
|
+
"dist",
|
|
12
|
+
"npm-shrinkwrap.json"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "webpack --mode production",
|
|
16
|
-
"
|
|
16
|
+
"heroku-postbuild": "make emojis && webpack --mode production --config ./webpack.dev.js",
|
|
17
|
+
"lint": "npm run lint:js && npm run lint:css",
|
|
18
|
+
"lint:css": "stylelint '{components,styles}/**/*.{css,scss}'",
|
|
19
|
+
"lint:js": "eslint --ext ts,tsx,js,jsx .",
|
|
20
|
+
"prepare": "husky install",
|
|
21
|
+
"pretest": "npm run lint",
|
|
22
|
+
"prettier": "prettier --list-different --write \"./**/**.{js,jsx}\"",
|
|
17
23
|
"release": "npx semantic-release",
|
|
18
24
|
"release.dry": "npx semantic-release --dry-run",
|
|
19
|
-
"
|
|
20
|
-
"test
|
|
21
|
-
"watch": "
|
|
25
|
+
"start": "webpack serve --config ./webpack.dev.js --open --mode development",
|
|
26
|
+
"test": "jest --coverage --runInBand --testPathIgnorePatterns '__tests__/browser'",
|
|
27
|
+
"test.watch": "jest --watch --coverage=false --testPathIgnorePatterns '__tests__/browser'",
|
|
28
|
+
"test.browser": "jest --config jest.browser.js --runInBand --testPathPattern '__tests__/browser'",
|
|
29
|
+
"watch": "webpack -w --progress --mode production"
|
|
22
30
|
},
|
|
23
31
|
"dependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"copy-to-clipboard": "^3.3.2",
|
|
29
|
-
"debug": "^4.3.4",
|
|
30
|
-
"emoji-regex": "^10.2.1",
|
|
32
|
+
"@readme/emojis": "^5.1.0",
|
|
33
|
+
"@readme/syntax-highlighter": "^12.1.5",
|
|
34
|
+
"copy-to-clipboard": "^3.3.3",
|
|
35
|
+
"emoji-regex": "^10.3.0",
|
|
31
36
|
"hast-util-sanitize": "^4.0.0",
|
|
32
37
|
"lodash.escape": "^4.0.1",
|
|
33
38
|
"lodash.kebabcase": "^4.1.1",
|
|
34
39
|
"mdast-util-toc": "^5.1.0",
|
|
40
|
+
"parse-entities": "^4.0.1",
|
|
35
41
|
"path-browserify": "^1.0.1",
|
|
36
42
|
"process": "^0.11.10",
|
|
37
43
|
"prop-types": "^15.8.1",
|
|
44
|
+
"rehype-raw": "^5.1.0",
|
|
45
|
+
"rehype-react": "^6.2.1",
|
|
38
46
|
"rehype-sanitize": "^4.0.0",
|
|
39
|
-
"
|
|
40
|
-
"remark-
|
|
41
|
-
"remark-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
47
|
+
"rehype-stringify": "^6.0.0",
|
|
48
|
+
"remark-breaks": "^1.0.0",
|
|
49
|
+
"remark-disable-tokenizers": "^1.0.24",
|
|
50
|
+
"remark-frontmatter": "^2.0.0",
|
|
51
|
+
"remark-parse": "^8.0.0",
|
|
52
|
+
"remark-rehype": "^8.1.0",
|
|
53
|
+
"remark-slug": "^6.0.0",
|
|
54
|
+
"remark-stringify": "^8.0.0",
|
|
55
|
+
"unified": "^9.2.2",
|
|
44
56
|
"unist-util-flatmap": "^1.0.0",
|
|
57
|
+
"unist-util-map": "^3.1.2",
|
|
58
|
+
"unist-util-select": "^4.0.0",
|
|
45
59
|
"unist-util-visit": "^4.1.1"
|
|
46
60
|
},
|
|
47
61
|
"peerDependencies": {
|
|
48
|
-
"@readme/variable": "^
|
|
49
|
-
"@tippyjs/react": "^4.
|
|
62
|
+
"@readme/variable": "^16.0.0",
|
|
63
|
+
"@tippyjs/react": "^4.2.6",
|
|
50
64
|
"react": "^16.14.0",
|
|
51
65
|
"react-dom": "^16.14.0"
|
|
52
66
|
},
|
|
53
67
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.
|
|
55
|
-
"@babel/eslint-parser": "^7.
|
|
68
|
+
"@babel/core": "^7.24.0",
|
|
69
|
+
"@babel/eslint-parser": "^7.23.10",
|
|
56
70
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
57
|
-
"@babel/plugin-proposal-
|
|
58
|
-
"@babel/plugin-proposal-
|
|
59
|
-
"@babel/plugin-
|
|
60
|
-
"@babel/
|
|
61
|
-
"@babel/preset-
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@commitlint/cli": "^17.5.1",
|
|
65
|
-
"@commitlint/config-angular": "^17.4.4",
|
|
66
|
-
"@commitlint/config-conventional": "^17.4.4",
|
|
71
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.19.4",
|
|
72
|
+
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
|
73
|
+
"@babel/plugin-transform-runtime": "^7.24.0",
|
|
74
|
+
"@babel/preset-env": "^7.24.0",
|
|
75
|
+
"@babel/preset-react": "^7.23.3",
|
|
76
|
+
"@commitlint/cli": "^19.0.3",
|
|
77
|
+
"@commitlint/config-conventional": "^19.0.3",
|
|
67
78
|
"@hot-loader/react-dom": "^16.14.0",
|
|
68
|
-
"@readme/eslint-config": "^
|
|
79
|
+
"@readme/eslint-config": "^13.5.0",
|
|
80
|
+
"@readme/stylelint-config": "^6.1.0",
|
|
69
81
|
"@semantic-release/changelog": "^6.0.3",
|
|
70
82
|
"@semantic-release/git": "^10.0.1",
|
|
71
|
-
"@testing-library/jest-dom": "^
|
|
72
|
-
"@testing-library/react": "^12.1.
|
|
73
|
-
"babel-jest": "^29.
|
|
74
|
-
"babel-loader": "^9.1.
|
|
75
|
-
"browserify-fs": "^1.0.0",
|
|
83
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
84
|
+
"@testing-library/react": "^12.1.5",
|
|
85
|
+
"babel-jest": "^29.7.0",
|
|
86
|
+
"babel-loader": "^9.1.3",
|
|
76
87
|
"codemirror": "^5.54.0",
|
|
77
|
-
"core-js": "^
|
|
78
|
-
"css-loader": "^6.
|
|
79
|
-
"eslint": "^8.
|
|
88
|
+
"core-js": "^3.36.0",
|
|
89
|
+
"css-loader": "^6.10.0",
|
|
90
|
+
"eslint": "^8.57.0",
|
|
91
|
+
"husky": "^9.0.11",
|
|
80
92
|
"identity-obj-proxy": "^3.0.0",
|
|
81
|
-
"jest": "^
|
|
82
|
-
"jest-environment-jsdom": "^29.
|
|
83
|
-
"jest-environment-puppeteer": "^
|
|
84
|
-
"jest-image-snapshot": "^6.
|
|
85
|
-
"jest-puppeteer": "^
|
|
86
|
-
"mini-css-extract-plugin": "^2.
|
|
87
|
-
"node-sass": "^
|
|
88
|
-
"
|
|
89
|
-
"
|
|
93
|
+
"jest": "^28.1.3",
|
|
94
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
95
|
+
"jest-environment-puppeteer": "^10.0.1",
|
|
96
|
+
"jest-image-snapshot": "^6.4.0",
|
|
97
|
+
"jest-puppeteer": "^10.0.1",
|
|
98
|
+
"mini-css-extract-plugin": "^2.8.1",
|
|
99
|
+
"node-sass": "^9.0.0",
|
|
100
|
+
"postcss": "^8.4.35",
|
|
101
|
+
"prettier": "^3.2.5",
|
|
102
|
+
"puppeteer": "^22.4.0",
|
|
90
103
|
"react-hot-loader": "^4.13.1",
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"string.prototype.trimend": "^1.0.
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"webpack": "^5.
|
|
99
|
-
"webpack-
|
|
100
|
-
"webpack-
|
|
101
|
-
"webpack-merge": "^5.8.0"
|
|
104
|
+
"regenerator-runtime": "^0.14.1",
|
|
105
|
+
"sass-loader": "^14.1.1",
|
|
106
|
+
"semantic-release": "^23.0.2",
|
|
107
|
+
"string.prototype.trimend": "^1.0.7",
|
|
108
|
+
"stylelint": "^16.2.1",
|
|
109
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
110
|
+
"webpack": "^5.90.3",
|
|
111
|
+
"webpack-cli": "^5.1.4",
|
|
112
|
+
"webpack-dev-server": "^5.0.2",
|
|
113
|
+
"webpack-merge": "^5.10.0"
|
|
102
114
|
},
|
|
103
115
|
"license": "MIT",
|
|
104
116
|
"homepage": "https://rdmd.readme.io",
|
|
@@ -112,8 +124,33 @@
|
|
|
112
124
|
},
|
|
113
125
|
{
|
|
114
126
|
"path": "dist/main.node.js",
|
|
115
|
-
"maxSize": "
|
|
127
|
+
"maxSize": "300KB"
|
|
116
128
|
}
|
|
117
129
|
]
|
|
130
|
+
},
|
|
131
|
+
"commitlint": {
|
|
132
|
+
"extends": [
|
|
133
|
+
"@commitlint/config-conventional"
|
|
134
|
+
],
|
|
135
|
+
"rules": {
|
|
136
|
+
"body-max-line-length": [
|
|
137
|
+
0,
|
|
138
|
+
"always",
|
|
139
|
+
"Infinity"
|
|
140
|
+
],
|
|
141
|
+
"footer-max-line-length": [
|
|
142
|
+
0,
|
|
143
|
+
"always",
|
|
144
|
+
"Infinity"
|
|
145
|
+
],
|
|
146
|
+
"scope-case": [
|
|
147
|
+
2,
|
|
148
|
+
"never",
|
|
149
|
+
"upper-case"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"overrides": {
|
|
154
|
+
"trim": "^1"
|
|
118
155
|
}
|
|
119
156
|
}
|