mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 18:15:02 +00:00
chore(deps): react-widget majors -- markdown-it 15, babel 8, flow-bin 0.331
markdown-it 15 renders byte-identical HTML to 14.3.2 across headings, lists, code, links, tables, blockquotes, raw HTML, javascript: URLs, entities and rules, with the widget's custom table/thead/tr/td/th renderer rules applied. Output still goes through DOMPurify before injection. Babel 8 and flow-bin change nothing in the build: there is no babel config in the package and Parcel transforms with SWC, so bundle sizes are identical before and after. They are bumped to stay current. Verified the built bundle in Chromium: modern/browser.js loads with no page errors, renderDocsGPTWidget and renderSearchBar are both functions, and both mount DOM. ESLint 10 is not taken here either -- same eslint-plugin-react block as the frontend, so eslint and @eslint/js stay on 9. Build, tsc --noEmit and lint all clean, 0 advisories.
This commit is contained in:
1 parent
def32a44fc
commit
05c53195a3
2 files changed
+1805
-850
No files matched your search
+1799
-844
File diff suppressed because it is too large.
Load diff
@@ -42,7 +42,7 @@
|
||||
"ci": "yarn build && yarn test && yarn lint && yarn check"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-flow-strip-types": "^7.29.7",
|
||||
"@babel/plugin-transform-flow-strip-types": "^8.0.1",
|
||||
"@parcel/resolver-glob": "^2.16.4",
|
||||
"@parcel/transformer-svg-react": "^2.16.4",
|
||||
"@parcel/transformer-typescript-tsc": "^2.16.4",
|
||||
@@ -51,16 +51,16 @@
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"dompurify": "^3.4.15",
|
||||
"flow-bin": "^0.326.0",
|
||||
"markdown-it": "^14.3.2",
|
||||
"flow-bin": "^0.331.0",
|
||||
"markdown-it": "^15.0.2",
|
||||
"react": "^19.3.0",
|
||||
"react-dom": "^19.3.0",
|
||||
"styled-components": "^6.5.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.29.7",
|
||||
"@babel/preset-env": "^7.29.7",
|
||||
"@babel/preset-react": "^7.29.7",
|
||||
"@babel/core": "^8.0.5",
|
||||
"@babel/preset-env": "^8.0.5",
|
||||
"@babel/preset-react": "^8.0.1",
|
||||
"@eslint/js": "^9.39.4",
|
||||
"@parcel/packager-ts": "^2.16.4",
|
||||
"@parcel/transformer-typescript-types": "^2.16.4",
|
||||
|
||||
Reference in new issue
Block a user