discourse/package.json
Gerhard Schlager 1c6f8f8a36
DEV: Upgrade Markdown.it to v13.0.1 (#17099)
Updates markdown-it to v13.0.1

Noteworthy changes:
* `markdownit()` is now available on `globalThis` instead of `window`.

* The `text_collapse` rule was renamed to `fragments_join` which affected the `bbcode-inline` implementation.

* The `linkify` rule was added to the `inline` chain which affected the handling of the `[url]` BBCode. If available, our implementation reuses `link_open` and `link_close` tokens created by linkify in order to prevent duplicate links.

* The rendered HTML for code changed slightly. There's now a linebreak before the `</code>` tag. The tests were adjusted accordingly.
2022-06-20 15:25:13 +02:00

65 lines
1.9 KiB
JSON

{
"name": "discourse",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:discourse/discourse.git",
"author": "Discourse",
"license": "GPL-2.0-only",
"dependencies": {
"@discourse/itsatrap": "^2.0.10",
"@discourse/moment-timezone-names-translations": "^1.0.0",
"@fortawesome/fontawesome-free": "5.15.4",
"@highlightjs/cdn-assets": "^10.7.0",
"@json-editor/json-editor": "^2.6.1",
"@popperjs/core": "v2.10.2",
"@uppy/aws-s3": "^2.0.8",
"@uppy/aws-s3-multipart": "^2.2.1",
"@uppy/core": "^2.1.6",
"@uppy/drop-target": "^1.1.2",
"@uppy/utils": "^4.0.5",
"@uppy/xhr-upload": "^2.0.7",
"ace-builds": "1.4.13",
"bootbox": "3.2.0",
"bootstrap": "v3.4.1",
"chart.js": "3.5.1",
"chartjs-plugin-datalabels": "^2.0.0",
"diffhtml": "^1.0.0-beta.20",
"eslint-config-discourse": "^2.0.0",
"handlebars": "^4.7.7",
"jquery": "3.5.1",
"magnific-popup": "1.1.0",
"markdown-it": "13.0.1",
"moment": "2.29.2",
"moment-timezone": "0.5.31",
"pikaday": "1.8.0",
"tippy.js": "^6.3.7",
"workbox-cacheable-response": "^4.3.1",
"workbox-core": "^4.3.1",
"workbox-expiration": "^4.3.1",
"workbox-routing": "^4.3.1",
"workbox-strategies": "^4.3.1",
"workbox-sw": "^4.3.1"
},
"devDependencies": {
"@arkweid/lefthook": "^0.7.7",
"@mixer/parallel-prettier": "^2.0.1",
"browserify": "^17.0.0",
"chrome-launcher": "^0.15.0",
"chrome-remote-interface": "^0.31.2",
"pretender": "^3.4.7",
"puppeteer-core": "^13.7.0",
"qunit": "2.8.0",
"route-recognizer": "^0.3.3",
"sinon": "^13.0.1",
"squoosh": "discourse/squoosh#dc9649d"
},
"scripts": {
"postinstall": "yarn --cwd app/assets/javascripts/discourse"
},
"engines": {
"node": "12.* || 14.* || >= 16",
"npm": "please-use-yarn",
"yarn": ">= 1.21.1"
}
}