mirror of
https://github.com/markedjs/marked.git
synced 2026-11-30 16:48:05 +01:00
# [18.3.0](https://github.com/markedjs/marked/compare/v18.2.1...v18.3.0) (2026-11-24) ### Bug Fixes * allow trailing tabs after closing code fences ([#4241](https://github.com/markedjs/marked/issues/4241)) ([1e11902](https://github.com/markedjs/marked/commit/1e1190241b4a8f16d6bfa232e183f581eb617964)) * avoid quadratic scan on adjacent inline links ([#4274](https://github.com/markedjs/marked/issues/4274)) ([f5ffd22](https://github.com/markedjs/marked/commit/f5ffd221ba5fc7f077d867ac2fc3f7a06855da94)) * avoid quadratic time on long local part before @ in GFM text ([#4225](https://github.com/markedjs/marked/issues/4225)) ([c6b22e8](https://github.com/markedjs/marked/commit/c6b22e89baca9dfa4ed074380a511781e1c35e4a)) * check own properties on extensions.renderers in Parser ([#4271](https://github.com/markedjs/marked/issues/4271)) ([c572307](https://github.com/markedjs/marked/commit/c57230757e32a2b27c4bc75b1274b25e379fd465)) * honor the CLI end-of-options marker ([#4230](https://github.com/markedjs/marked/issues/4230)) ([a1ddc72](https://github.com/markedjs/marked/commit/a1ddc722e797b8315a56ea2ab66043da294364af)) * keep an indented code block after a list item paragraph ([#4198](https://github.com/markedjs/marked/issues/4198)) ([b9e3824](https://github.com/markedjs/marked/commit/b9e3824233a381aa476ae9a9d9c4827fb25c601c)) * preserve literal entities in image alt text ([#4232](https://github.com/markedjs/marked/issues/4232)) ([04f1c6e](https://github.com/markedjs/marked/commit/04f1c6e5189076d38b00d41acf9bff235532123a)) * reject CLI options missing their values ([#4261](https://github.com/markedjs/marked/issues/4261)) ([502e658](https://github.com/markedjs/marked/commit/502e658115a8db1aec6157c2560cde913b78c4f6)) * skip missing optional childTokens properties in walkTokens ([#4262](https://github.com/markedjs/marked/issues/4262)) ([283f74f](https://github.com/markedjs/marked/commit/283f74f24bc6df1c39c4b2a74ef923a68752e6e5)) * wait for CLI error output before exiting ([#4263](https://github.com/markedjs/marked/issues/4263)) ([6c2a5ab](https://github.com/markedjs/marked/commit/6c2a5ab48d475d66adb19d2909929a6447130c52)) ### Features * add inBlockquote to lexer state ([#4222](https://github.com/markedjs/marked/issues/4222)) ([201bfce](https://github.com/markedjs/marked/commit/201bfce495e6e57be6f2c91e822e65f33a546040)), closes [#4184](https://github.com/markedjs/marked/issues/4184) [#4221](https://github.com/markedjs/marked/issues/4221) ### Performance Improvements * avoid scanning table bodies for header-only decisions ([#4213](https://github.com/markedjs/marked/issues/4213)) ([a0925cc](https://github.com/markedjs/marked/commit/a0925cca0227082e83feb2461115fbef1a30ecca)) * skip paragraph lookahead for initial quoted code ([#4233](https://github.com/markedjs/marked/issues/4233)) ([171f177](https://github.com/markedjs/marked/commit/171f177a42f09d4812c68b045c3bb50122f6b2aa))
104 lines
3.3 KiB
JSON
104 lines
3.3 KiB
JSON
{
|
|
"name": "marked",
|
|
"description": "A markdown parser built for speed",
|
|
"author": "Christopher Jeffrey",
|
|
"version": "18.3.0",
|
|
"type": "module",
|
|
"main": "./lib/marked.esm.js",
|
|
"module": "./lib/marked.esm.js",
|
|
"browser": "./lib/marked.umd.js",
|
|
"types": "./lib/marked.d.ts",
|
|
"bin": {
|
|
"marked": "bin/marked.js"
|
|
},
|
|
"man": "./man/marked.1",
|
|
"files": [
|
|
"bin/",
|
|
"lib/",
|
|
"man/"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/marked.d.ts",
|
|
"default": "./lib/marked.esm.js"
|
|
},
|
|
"./bin/marked": "./bin/marked.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"provenance": true
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/markedjs/marked.git"
|
|
},
|
|
"homepage": "https://marked.js.org",
|
|
"bugs": {
|
|
"url": "https://github.com/markedjs/marked/issues"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"markdown",
|
|
"markup",
|
|
"html"
|
|
],
|
|
"tags": [
|
|
"markdown",
|
|
"markup",
|
|
"html"
|
|
],
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
"@markedjs/eslint-config": "^1.0.14",
|
|
"@markedjs/testutils": "18.2.0-0",
|
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
"@semantic-release/git": "^11.0.1",
|
|
"@semantic-release/github": "^12.0.11",
|
|
"@semantic-release/npm": "^13.2.0",
|
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
"cheerio": "1.2.0",
|
|
"commonmark": "0.31.2",
|
|
"cross-env": "^10.1.0",
|
|
"dts-bundle-generator": "^10.0.0",
|
|
"esbuild": "^0.28.2",
|
|
"esbuild-plugin-umd-wrapper": "^3.0.0",
|
|
"eslint": "^10.15.0",
|
|
"highlight.js": "^11.12.0",
|
|
"markdown-it": "15.0.3",
|
|
"marked-highlight": "^2.2.4",
|
|
"marked-man": "^2.1.1",
|
|
"recheck": "^4.6.2",
|
|
"rimraf": "^6.1.4",
|
|
"semantic-release": "26.0.1",
|
|
"titleize": "^4.0.0",
|
|
"tslib": "^2.9.1",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"scripts": {
|
|
"bench": "npm run build && node test/bench.js",
|
|
"build": "npm run build:esbuild && npm run build:types && npm run build:man",
|
|
"build:docs": "npm run build && node docs/build.js",
|
|
"build:esbuild": "node esbuild.config.js",
|
|
"build:man": "marked-man man/marked.1.md > man/marked.1",
|
|
"build:reset": "rimraf ./lib ./public",
|
|
"build:types": "tsc && dts-bundle-generator --export-referenced-types --project tsconfig.json -o lib/marked.d.ts src/marked.ts",
|
|
"lint": "eslint --fix",
|
|
"rules": "node test/rules.js",
|
|
"test": "npm run build:reset && npm run build:docs && npm run test:specs && npm run test:unit && npm run test:umd && npm run test:cjs && npm run test:types && npm run test:lint",
|
|
"test:cjs": "node test/cjs-test.cjs",
|
|
"test:lint": "eslint",
|
|
"test:only": "npm run build && npm run test:specs:only && npm run test:unit:only",
|
|
"test:recheck": "node test/recheck.ts > vuln.js",
|
|
"test:specs:only": "node --test --test-only --test-reporter=spec test/run-spec-tests.js",
|
|
"test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
|
|
"test:types": "tsc --project tsconfig-type-test.json && attw -P --entrypoints . --profile esm-only",
|
|
"test:umd": "node test/umd-test.js",
|
|
"test:unit:only": "node --test --test-only --test-reporter=spec test/unit/*.test.js",
|
|
"test:unit": "node --test --test-reporter=spec test/unit/*.test.js",
|
|
"test:update": "node test/update-specs.js"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20"
|
|
}
|
|
}
|