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